LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Non-*NIX Forums > Programming
User Name
Password
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.

Notices


Reply
  Search this Thread
Old 04-02-2004, 11:00 AM   #1
ssba
Member
 
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,
--ssba
 
Old 04-02-2004, 03:49 PM   #2
ssba
Member
 
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.
 
  


Reply



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

LinuxQuestions.org > Forums > Non-*NIX Forums > Programming

All times are GMT -5. The time now is 08:41 AM.

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