Latest LQ Deal: Linux Power User Bundle
Go Back > Forums > Non-*NIX Forums > Programming
User Name
Programming This forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.


  Search this Thread
Old 04-02-2004, 11:00 AM   #1
Registered: Mar 2004
Distribution: Slackware 9.1
Posts: 44

Rep: Reputation: 15
AP Computer Science MBS

I recently downloaded the Java MBS Case Study for the AP Computer Science exam.

(located here)

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,
Old 04-02-2004, 03:49 PM   #2
Registered: Mar 2004
Distribution: Slackware 9.1
Posts: 44

Original Poster
Rep: Reputation: 15
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.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
computer science iamstinke Linux - General 3 04-26-2005 11:21 PM
Computer Science vs. Software Engineering microsoft/linux General 17 04-20-2005 11:52 PM
computer science in California greg108 General 5 02-08-2004 11:35 AM
computer science degree roofy General 24 10-29-2003 03:03 PM
Computer Science Colleges mondaypickle General 5 09-25-2003 03:35 PM > Forums > Non-*NIX Forums > Programming

All times are GMT -5. The time now is 02:10 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration