PHWinfo banniere

Titres
PORTAIL ANNUAIRE ARTICLES COMPARATEUR HÉBERGEURS DEVIS FORUMS RÉDUCTEUR D'URL
Précédent   PHWinfo > Forums Hébergement > Forum Serveur - Sécurité et techniques > linux.debian.user > Java EE installation - cannot find j2se 5
S'inscrire FAQ Membres Recherche Messages du jour Marquer les forums comme lus
linux.debian.user debian-user@lists.debian.org.

Java EE installation - cannot find j2se 5

Réponse
 
LinkBack Outils de la discussion
Vieux 30/11/2006, 21h00   #1
Marko Randjelovic
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut 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(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.


--
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
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
Réponse


Outils de la discussion

Règles de messages
Vous ne pouvez pas créer de nouvelles discussions
Vous ne pouvez pas envoyer des réponses
Vous ne pouvez pas envoyer des pièces jointes
Vous ne pouvez pas modifier vos messages

Les balises BB sont activées : oui
Les smileys sont activés : oui
La balise [IMG] est activée : oui
Le code HTML peut être employé : non
Trackbacks are oui
Pingbacks are oui
Refbacks are oui


Fuseau horaire GMT +1. Il est actuellement 18h02.


Édité par : vBulletin® version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0 RC5 Tous droits réservés.
Version française #16 par l'association vBulletin francophone
PHWinfo est un site Éducation Sans Frontières ©2000-2008
Ad Management by RedTyger
©Tous droits réservés par les parties respectives
Page generated in 0,09937 seconds with 10 queries