[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: 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:
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(TM) installation directory>

JAVA_HOME is set to the proper value:

root@main:~# echo $JAVA_HOME
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).

Jose Alburquerque

Reply to: