• Post Reply Bookmark Topic Watch Topic
  • New Topic

Hello World Example on sun web site is not working... has anyone tried it???  RSS feed

 
sarah khan
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi everyone! I am new to distributed java and am trying to learn... Trying to run the example on http://java.sun.com/j2se/1.5.0/docs/guide/idl/GShome.html

according to the instructions given (I copied the code)but it does not work... does anyone know what to expect after I start the helloserver ? And I get 'NoClassDefFoundError:' when I run the client....
Does anyone know what's wrong and how to fix it?
 
Nathan Pruett
Bartender
Posts: 4121
IntelliJ IDE Java Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Looking at the code in the link you supplied, the server should print

if everything goes OK. Otherwise you're going to see an error and stack trace.

What is the class that isn't found on the client when you get the NoClassDefFoundError? This could be a classpath issue, or there could be some steps that got skipped in the compilation or setup of the example...
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!