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 04:10 AM
GNU Classpath 0.97 (Default branch) iBot Software Releases - RSS News 0 02-26-2008 01:00 PM

Reply
 
Submit Tools LinkBack Thread Tools Search this Thread Display Modes
  #1  
Old 07-19-2008
Registered User
 

Join Date: Jul 2008
Posts: 4
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  
Old 07-19-2008
reborg's Avatar
Administrator
 

Join Date: Mar 2005
Location: Ireland
Posts: 3,636
Yes, except that it would be CLASSPATH instead of PATH.
Reply With Quote
  #3  
Old 07-19-2008
Registered User
 

Join Date: Jul 2008
Posts: 4
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  
Old 07-19-2008
Registered User
 

Join Date: Dec 2007
Posts: 106
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  
Old 07-19-2008
Registered User
 

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

Tags
classpath, java, unix

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes




All times are GMT -7. The time now is 03:32 AM.


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

Content Relevant URLs by vBSEO 3.2.0