• Post Reply Bookmark Topic Watch Topic
  • New Topic

SimpleJxtaApp.java problem

 
muthulingam Jayakanthan
Ranch Hand
Posts: 43
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I am using Windows XP with jdk1.5

1. I downlaoded SimpleJxtaApp.java from
"http://platform.jxta.org/source/browse/platform/www/java/tutorial/examples/SimpleJxtaApp/?only_with_tag=issue311" and put the file into to c:\test folder

2. Then I downloaded jxta-lib-2.3.2b.zip and unzipped all jar files to c:\test\lib folder


3. I used the following command to compile
set CLASSPATH=%CLASSPATH%;lib/jxta.jar;lib/log4j.jar;lib/org.mortbay.jetty.jar;lib/javax.servlet.jar;lib/bcprov-jdk14.jar
set JAVA_HOME=C:\Program Files\Java\jdk1.5.0_01
javac SimpleJxtaApp.java

I comipiled SuccessFully

4. I tried to run the program using following Code

set CLASSPATH=%CLASSPATH%;lib/jxta.jar;lib/log4j.jar;lib/org.mortbay.jetty.jar;lib/javax.servlet.jar;lib/bcprov-jdk14.jar
java -classpath . SimpleJxtaApp

But I get the error message as follow

'Exception in thread "main" java.lang.NoClassDefFoundError: net/jxta/exception/PeerGroupException'

I am very new to JXTA

Pls Help me
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!