LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Installing eclipse with alternate java location (https://www.linuxquestions.org/questions/linux-newbie-8/installing-eclipse-with-alternate-java-location-166683/)

oberonix 04-05-2004 10:39 PM

Installing eclipse with alternate java location
 
My eclipse wont start due to it not finding java in a certain path. I was wondering if there is any way to change where it looks, or as im assuming, change the path variable to include the java directory.

Thanks

j-ray 04-06-2004 07:02 AM

there are several variables it might be looking for like
JAVA_HOME
SDK_HOME
and so on
it may be helpful to export the JAVA_HOME in your .bashrc like

JAVA_HOME=/usr/lib/java
export JAVA_HOME

then
source ./.bashrc

to make the changes available for bash


All times are GMT -5. The time now is 05:38 AM.