Ho appena installato Mandriva 2005 Limited Edition e poco dopo ho installato SDK 1.5 e Eclipse.
Eclipse l'ho messo in /etc/local.
Il problema e' che lanciandolo appare una finestra con il seguente messaggio:
"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/local/eclipse/jre/bin/java 'java' in your current PATH"
Questo e' il mio path corrente (Ottenuto digitando $PATH):
"bash: /usr/bin:/bin:/usr/bin:/usr/local/bin:/usr/X11R6/bin/:/usr/games:/home/iardella/bin: No such file or directory"
(Perche' il no such file directory ? Sono tutte dir presenti nel file system)
E questo e' il file .bashrc:
# .bashrc
# User specific aliases and functions
# Source global definitions
if [ -f /etc/bashrc ]; then
. /etc/bashrc
fi
# enable programmable completion features
if [ -f /etc/bash_completion ]; then
. /etc/bash_completion
fi
Potreste aiutarmi nell'editarlo in modo da impostare correttamente le variabili PATH, CLASSPATH e JAVA_HOME ?