The UNIX and Linux Forums  

Go Back   The UNIX and Linux Forums > Top Forums > High Level Programming
Google UNIX.COM


High Level Programming Post questions about C, C++, Java, SQL, and other programming languages here.

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
Classpath Rachel Ross UNIX for Dummies Questions & Answers 0 07-19-2008 09:13 AM
GNU Classpath 0.97.2 (Default branch) iBot Software Releases - RSS News 0 06-06-2008 08:10 AM
how to set classpath in cron sari Shell Programming and Scripting 1 04-21-2008 06:48 AM
GNU Classpath 0.97.1 (Default branch) iBot Software Releases - RSS News 0 03-13-2008 03:10 AM
GNU Classpath 0.97 (Default branch) iBot Software Releases - RSS News 0 02-26-2008 12:00 PM

Reply
 
Submit Tools LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 07-19-2008
Registered User
 

Join Date: Jul 2008
Posts: 4
Stumble this Post!
Classpath

This question is realted to UNIX and Java.
I sing in to a UNIX server and I want to change my CLASSPATH locally, so it won't affect any other users CLASSPATHS.

Is the command 'export PATH=...' the way to do it?
Thanks.
Reply With Quote
Forum Sponsor
  #2 (permalink)  
Old 07-19-2008
reborg's Avatar
Administrator
 
Join Date: Mar 2005
Location: Ireland
Posts: 3,513
Stumble this Post!
Yes, except that it would be CLASSPATH instead of PATH.
Reply With Quote
  #3 (permalink)  
Old 07-19-2008
Registered User
 

Join Date: Jul 2008
Posts: 4
Stumble this Post!
oh yeah... PATH is for the executables.... thanks.
BTW - will the changes remain also after the shell is terminated, for the next time I sign in?
Reply With Quote
  #4 (permalink)  
Old 07-19-2008
Registered User
 

Join Date: Dec 2007
Posts: 102
Stumble this Post!
that is the command if you're using bash or ksh. if you're using csh, then it'll be setenv CLASSPATH ...

The changes will not remain, if you want them to be set everytime you login, you can make changes to your shell startup files
Reply With Quote
  #5 (permalink)  
Old 07-19-2008
Registered User
 

Join Date: Jul 2008
Posts: 4
Stumble this Post!
Got it. thanks!
Reply With Quote
Google The UNIX and Linux Forums
Reply

Tags
classpath, java, unix

Thread Tools
Display Modes




All times are GMT -7. The time now is 11:30 AM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited.
The UNIX and Linux Forums Content Copyright ©1993-2008 The CEP Blog All Rights Reserved -Ad Management by RedTyger Visit The Global Fact Book

Content Relevant URLs by vBSEO 3.2.0