Re: Réf. : [JXTA user] jxta.jar problems
Fabrice DI MEGLIO <[email protected]> Tue, 06 Sep 2005 18:46:28 +0200
| Newsgroups | gmane.comp.java.jxta.user |
|---|---|
| Message-ID | <[email protected]> |
Yes. Moreover, if you use latest JXTA you just need to add at minimum: jxta.jar bcprov-jdk14.jar javax.servlet.jar log4j.jar org.mortbay.jetty.jar If you are also using ext:config, you need to add: jdom.jar jaxen-core.jar jaxen-jdom.jar jxtaext.jar saxpath.jar http://wiki.java.net/bin/view/Jxta/JarDependencies Hth, Fabrice DI MEGLIO sparky123 wrote: > do i add them all to the classpath? > > On 9/6/05, *Cyrille FOLLEAU* <[email protected] > <mailto:[email protected]>> wrote: > > > Many jars are needed, > You may need all these jars to use JXTA. > > bcprov-jdk14.jar > cryptix-asn1.jar > cryptix32.jar > javax.servlet.jar > jaxen-core.jar > jaxen-jdom.jar > jdom.jar > jxta.jar > jxtaext.jar > jxtaptls.jar > jxtasecurity.jar > log4j.jar > org.mortbay.jetty.jar > saxpath.jar > swixml.jar > > Regards > > cyrille > > ##################### > Cyrille Folleau > Ingenieur Informatique > Tel : 01 41 38 42 37 > Dassault Data Services > 22 quai Gallieni > 92156 Suresnes Cedex > > > > > *sparky123 <[email protected] <mailto:[email protected]>>* > > 06/09/2005 18:05 > Veuillez répondre à user > > > Pour : [email protected] <mailto:[email protected]> > cc : (ccc : Cyrille FOLLEAU/dassault-systemes) > Objet : [JXTA user] jxta.jar problems > > > > > Hi > > i am trying to get jxta setup on linux and am doing the following, > i have downloaded jxta.jar and i am trying to run by > typing(below), but getting the following error (below). I thought > this mean't that i did not have log4j installed so i downloaded it > and put it in the classpath in the .bashrc file > (/CLASSPATH=$CLASSPATH:/home/suresh/log4j-1.2.8.jar:.;/ export > CLASSPATH ) > * > where am i going wrong?* > > below is what i am typing into a linux shell > java -jar jxta.jar > Jxta is now taking off. Please fasten your seat belts and > extinguish all smoking materials. > Uncaught Throwable caught by 'main': > java.lang.NoClassDefFoundError: org/apache/log4j/Priority > at net.jxta.impl.peergroup.Boot.main(Boot.java:98) > >