Author: Rick Bischoff
Date: 18:24:17 09/13/04
Go up one level in this thread
If you need it from the command line only and are running bash: export CLASSPATH=$CLASSPATH:/path/to/your/class/directory/goes/here If you need to do this frequently, consider putting this line at the end of your ".profile", which contains various commands executed upon login. It is a hidden file, so you have to explicitly enter the filename to edit it. On September 13, 2004 at 20:48:17, Eric Jensen wrote: >I'm learning JAVA for a CS class, and I need to change the CLASSPATH to include >the current directory, so that the ECLIPSE IDE will recognize class files that >are included in the current directory. > >I.e., I have downloaded a file Scanner.class, and I need to be able to use the >Scanner class in the program. JCreator automatically sets the current directory >as part of the classpath, but it is not a Mac application. > >So, I need to know how to change the CLASSPATH from the command prompt to >include the current directory. > >If more information is recquired please just ask.
This page took 0 seconds to execute
Last modified: Thu, 15 Apr 21 08:11:13 -0700
Current Computer Chess Club Forums at Talkchess. This site by Sean Mintz.