LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   set classpath in linux(slackware9) for java (https://www.linuxquestions.org/questions/linux-software-2/set-classpath-in-linux-slackware9-for-java-104567/)

Manjula.S 10-16-2003 02:00 AM

set classpath in linux(slackware9) for java
 
i just started using packages in java.i want to set my classpath .but dont know how to.
please help me:confused: :newbie:

megaspaz 10-16-2003 02:10 AM

http://java.sun.com/products/jdk/1.2...classpath.html

sun here is recommending that you set the classpath using the option -classpath when envoking java. there's also the setenv way of doing it described there. i think you could probably pathmunge it in /etc/profiles if you're so inclined. not a 100% sure on the pathmunge thing though.

anyway seperate multiple directory paths with a ":".


All times are GMT -5. The time now is 12:53 AM.