Afficher un message
Vieux 02/12/2006, 02h00   #2
José Alburquerque
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut 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:
> 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(TM)
> 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 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


--
To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
  Réponse avec citation
 
Page generated in 0,05303 seconds with 9 queries