Logo 
Search:

Java Forum

Ask Question   UnAnswered
Home » Forum » Java       RSS Feeds

Classpath in Linux

  Asked By: Jaxson    Date: Feb 08    Category: Java    Views: 1131
  

Hello any buddy can teach me how to set the classpath and path in the
Linux environment.
And How to direct to the folder, because I'm new in Linux.

please give me a detail examples of that setting.

Share: 

 

1 Answer Found

 
Answer #1    Answered By: Randy Warren     Answered On: Feb 08

For Setting Classpath:

> Example: You want to add /home/Folder1, /home/Folder2, and /home/File3 to your
classpath in Linux

>> Solution: Type (case sensitive),

export CLASSPATH=$CLASSPATH:/home/Folder1
export CLASSPATH=$CLASSPATH:/home/Folder2
export CLASSPATH=$CLASSPATH:/home/File3

 
Didn't find what you were looking for? Find more on Classpath in Linux Or get search suggestion and latest updates.




Tagged: