Java EE installation - cannot find j2se 5

I installed sun-java with apt-get:

sun-java5-bin - 1.5.0-08-1
sun-java5-demo - 1.5.0-08-1
sun-java5-doc - 1.5.0-08-1
sun-java5-fonts - 1.5.0-08-1
sun-java5-jdk - 1.5.0-08-1
sun-java5-jre - 1.5.0-08-1
sun-java5-source - 1.5.0-08-1

Then I dowloaded java_app_platform_sdk-5_01-linux-nojdk.bin and ran it,
but this message appeared:

root@main:~/tmp#
/sto/d/downloads/java_app_platform_sdk-5_01-linux-nojdk.bin
Checking available disk space...
Checking Java(TM) 2 Runtime Environment...
Extracting Java(TM) 2 Runtime Environment files...
Error: Could not find the required version of the Java(TM) 2 Runtime
Environment.
This application needs version 1.5 or higher of the Java(TM) 2 Runtime
Environment. If the required Java(TM) 2 Runtime Environment is not
installed,
you can download it from the following website:
http://java.sun.com/j2se
Or if you already have the required Java(TM) 2 Runtime Environment
installed, try rerunning this application with the following usage:
'java_app_platform_sdk-5_01-linux-nojdk.bin' -javahome

JAVA_HOME is set to the proper value:

root@main:~# echo $JAVA_HOME
/usr/lib/jvm/java-1.5.0-sun
root@main:~# ls $JAVA_HOME
bin COPYRIGHT demo docs ext include jre lib LICENSE man
README.html sample src.zip THIRDPARTYLICENSEREADME.txt

I tried -javahome option pointing to /usr/lib/jvm/java-1.5.0-sun and
/usr/lib/jvm/java-1.5.0-sun/jre but again a message it cannot find
proper jre version.

If someone could please help me with this problem.

--

No votes yet

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.

Java EE installation - cannot find j2se 5

Marko Randjelovic wrote:
> I installed sun-java with apt-get:
>
> sun-java5-bin - 1.5.0-08-1
> sun-java5-demo - 1.5.0-08-1
> sun-java5-doc - 1.5.0-08-1
> sun-java5-fonts - 1.5.0-08-1
> sun-java5-jdk - 1.5.0-08-1
> sun-java5-jre - 1.5.0-08-1
> sun-java5-source - 1.5.0-08-1
>
> Then I dowloaded java_app_platform_sdk-5_01-linux-nojdk.bin and ran
> it, but this message appeared:
>
> root@main:~/tmp#
> /sto/d/downloads/java_app_platform_sdk-5_01-linux-nojdk.bin
> Checking available disk space...
> Checking Java(TM) 2 Runtime Environment...
> Extracting Java(TM) 2 Runtime Environment files...
> Error: Could not find the required version of the Java(TM) 2 Runtime
> Environment.
> This application needs version 1.5 or higher of the Java(TM) 2 Runtime
> Environment. If the required Java(TM) 2 Runtime Environment is not
> installed,
> you can download it from the following website:
> http://java.sun.com/j2se
> Or if you already have the required Java(TM) 2 Runtime Environment
> installed, try rerunning this application with the following usage:
> 'java_app_platform_sdk-5_01-linux-nojdk.bin' -javahome > installation directory>
>
> JAVA_HOME is set to the proper value:
>
> root@main:~# echo $JAVA_HOME
> /usr/lib/jvm/java-1.5.0-sun
> root@main:~# ls $JAVA_HOME
> bin COPYRIGHT demo docs ext include jre lib LICENSE man
> README.html sample src.zip THIRDPARTYLICENSEREADME.txt
>
> I tried -javahome option pointing to /usr/lib/jvm/java-1.5.0-sun and
> /usr/lib/jvm/java-1.5.0-sun/jre but again a message it cannot find
> proper jre version.
>
>
> If someone could please help me with this problem.
>
>
You probably need to update your symbolic links with
'update-alternatives --all' as root ('man update-alternatives' for more
info).

--
Sincerely
Jose Alburquerque

--

Syndicate content