aspose file tools*
The moose likes Beginning Java and the fly likes Sun BINGO Example Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Beginning Java
Bookmark "Sun BINGO Example" Watch "Sun BINGO Example" New topic
Author

Sun BINGO Example

Byron Eldridge
Greenhorn

Joined: Nov 29, 2004
Posts: 5
I've going through the tutorial and I've gotten to the BINGO RMI application at the end. I've downloaded all the files for the three packages, but when my IDE (JCreator) compiles it I get into a circular error message from Ringmaster and Roster. Both class want the other class compiled first before it will proceed.

I've tried:

- compiling as a project
- compiling as packages
- compiling as files

Any suggestions?

Thanks,
Byron
Chance favours the prepared mind


Chance favours the prepared mind.
Joel McNary
Bartender

Joined: Aug 20, 2001
Posts: 1824

Has is you CLASSPATH set up? Usually, you should not get circular compile errors, as the java compiler automatically knows how to handle those -- it will compile them both (if necessary) when you try to compile either. However, if they are in different folders and your CLASSPATH is not set, then it might not be able to find the .java file to compile...


Piscis Babelis est parvus, flavus, et hiridicus, et est probabiliter insolitissima raritas in toto mundo.
Byron Eldridge
Greenhorn

Joined: Nov 29, 2004
Posts: 5
I checked the class path and it does include the folder structure for where the .java and .class should go.
Layne Lund
Ranch Hand

Joined: Dec 06, 2001
Posts: 3061
It might help if you post some more specific information. In particular, please post some code snippets that illustrates how the two classes are interrelated. Also post your CLASSPATH and the exact error message you get (with some kind of indication which line the error refers to).

Thanks,

Layne


Java API Documentation
The Java Tutorial
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Sun BINGO Example