Hi all !
I've just installed Eclipse, with the required packages obviously, but when I run the IDE.... error message : "A Java Runtime Environment (JRE) or Java Development Kit (JDK) must be available in order to run Eclipse. No Java virtual machine was found after searching the following locations:/usr/lib/j2sdk1.4-sun/bin/java"
Well, the message is clear enough: no JRE or JDK... but :
Code:
# aptitude search jdk
p sun-java5-jdk - Sun Java(TM) Development Kit (JDK) 5.0
c sun-java6-jdk - Sun Java(TM) Development Kit (JDK) 6
# aptitude search jre
p docbook-jrefentry - DocBook XML JRefEntry DTD
p sun-java5-jre - Sun Java(TM) Runtime Environment (JRE) 5.0c sun-java6-jre - Sun Java(TM) Runtime Environment (JRE) 6 (
and
Code:
apt-get install sun-java6-jdk
Lecture des listes de paquets... Fait
Construction de l'arbre des dépendances... Fait
sun-java6-jdk est déjà la plus récente version disponible.
0 mis à jour, 0 nouvellement installés, 0 à enlever et 0 non mis à jour.
# apt-get install sun-java6-jre
Lecture des listes de paquets... Fait
Construction de l'arbre des dépendances... Fait
sun-java6-jre est déjà la plus récente version disponible.
0 mis à jour, 0 nouvellement installés, 0 à enlever et 0 non mis à jour.
meaning that sun-java6-jre and sun-java6-jdk are already installed and are the most recent versions.
So how come Eclipse is looking for j2sdk1.4. I've checked the /usr/lib/ directory:
Code:
/usr/lib/java# ls
swt3.2-gtk.jar swt-gtk.jar swt.jar
Any idea about this ? Is there a specific way to install the IDE, besides using synaptic ?