LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (http://www.linuxquestions.org/questions/linux-software-2/)
-   -   how to set class path for java in ubuntu 9.10 (http://www.linuxquestions.org/questions/linux-software-2/how-to-set-class-path-for-java-in-ubuntu-9-10-a-809793/)

kumar116 05-24-2010 09:13 AM

how to set class path for java in ubuntu 9.10
 
Sir I recently installed java in ubuntu (ver#java1.6.0.00)with many pains.Now I need a clear class path for this java in ubuntu 9.10;so please
direct me in a right way...

cyber-monk 05-24-2010 02:29 PM

try

$> echo $PATH

You should see the <java install dir>/bin directory on this path. If not use the EXPORT command or edit your .bashrc file.

baig 05-24-2010 04:33 PM

cd
vim .bashrc
(APPEND AT THE END)
JAVE_HOME=/PATH/TO/JAVA ; export $JAVA_HOME ;

Cheers!!


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