You set class path like any other environment variable. Just like path. You need
to export the classpath
after setting. Otherwise you can place it in a .profile file (.profile will
initialize environment variables when you
login in Unix. I do not know whether similar concept is there in Linux).
ex: CLASSPATH=$CLASSPATH:/x/y/z.jar
export CLASSPATH
"Ben Pharr" <[EMAIL PROTECTED]>
03/24/2000 12:39 PM
To: [EMAIL PROTECTED]
cc: (bcc: Syam Kumar Abburi/SSC/THD)
Subject: Classpath
Where and how should I set my classpath in Linux? I have it working fine
Windows, but I can't import any classes or packages in Linux. Please help!!
Ben
----------------------------------------------------------------------
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
----------------------------------------------------------------------
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]