Click to See Complete Forum and Search --> : Eclipse loads from CLI, but not from launcher


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??

Calipso
01-12-2005, 06:24 PM
Alrite, I got it to work.
While creating the launcher, for command, I put:

/usr/local/programs/eclipse/eclipse -vm /usr/java/sdk/bin/java


What this does is point Eclipse towards the java SDK while launching.