|
-
September 24th, 1999, 10:37 PM
#1
CLASSPATH
I'm running JDK1.2.2. I set the CLASSPATH in my autoexec.bat file so that the folder where I planned on keeping my .java and .class files. It seems like it partially worked, as when I do a compile from the DOS prompt, I don't have to specify the location of the .java files. However, I was expecting that the .class file would be put back in to that same directory. It did not. It ended up in the c:\ root directory.
Also, when I tried to execute the .class file, I got an error that it could not find the class. (when I removed the CLASSPATH the program executed properly).
Thanks in advance for any assistance!
Lonnie
[email protected]
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|