AP Computer Science MBS
I recently downloaded the Java MBS Case Study for the AP Computer Science exam.
I have installed the .jar files in a location where the java compiler can find them. The files all compile without errors. However, when i try to run the files with the main() function, I get the error that the class "Environment" cannot be found. This file has already been compiled and it was compiled when i compiled the rest of the files i wanted. It is located in the same folder and i have CLASSPATH set to '.'. Any other file that needs another one works just fine in this same situation, however none of these files can find the class Environment.
I am running this under a Slackware 9.1 environment.
Thanks for any help,
OK, it seems to be working fine now. It appears that if i remove the jar files from the folder I had them in, leave them in the MBS folder instead of both places, and naming both explicitly in CLASSPATH gets it to work just fine.
|All times are GMT -5. The time now is 10:36 AM.|