Calipso
01-12-2005, 06:06 PM
I have recently installed Eclipse.
I first tried running it and it said it couldnt find the path, so I edited my .bashrc file and added the following lines at the end of the file.
PATH:$PATH:/usr/java/sdk/bin
JAVA_HOME=/usr/java/sdk
(sdk is a sym-link to the actual name of the directory in which java is install.....j2sdk1.4.2_06)
Now here is where things get confusing.
When I type this command in a terminal,
/usr/local/programs/eclipse/eclipse
Eclipse runs. However, when I use that exact same command to create a launcher on my panel in gnome....it says that it cannot find the java path.
Any ideas whats wrong and how I can fix this??
I first tried running it and it said it couldnt find the path, so I edited my .bashrc file and added the following lines at the end of the file.
PATH:$PATH:/usr/java/sdk/bin
JAVA_HOME=/usr/java/sdk
(sdk is a sym-link to the actual name of the directory in which java is install.....j2sdk1.4.2_06)
Now here is where things get confusing.
When I type this command in a terminal,
/usr/local/programs/eclipse/eclipse
Eclipse runs. However, when I use that exact same command to create a launcher on my panel in gnome....it says that it cannot find the java path.
Any ideas whats wrong and how I can fix this??