Win a copy of Design for the Mind this week in the Design forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Sun BINGO Example

 
Byron Eldridge
Greenhorn
Posts: 5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
Joel McNary
Bartender
Posts: 1840
Eclipse IDE Java Ruby
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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...
 
Byron Eldridge
Greenhorn
Posts: 5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I checked the class path and it does include the folder structure for where the .java and .class should go.
 
Layne Lund
Ranch Hand
Posts: 3061
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic