Re: Watchout! A newbie - help needed with jxta on windows
Ranga Nathan <[email protected]> Sun, 21 May 2006 20:56:28 -0700
| Newsgroups | gmane.comp.java.jxta.user |
|---|---|
| Message-ID | <[email protected]> |
John Barry wrote: > Hi Ranga, > > The first error is JXTA rying to determine your proxy settings. I have > never seen this error, but I doubt that it is fatal and it should not > cause any problems unless you are behind a proxy server. > > The second problem is usually caused by runnong JXTA on a pre 1.5 > version of Java. Java 1.5 is required. > Thanks. This is probably what I missed. I have tried everything and kept getting compilation errors. I even tried to compile jxta but got syntax errors there too. I have been confused by the Java versioning conventions. Now downloading jsdk 1.5. After some stumbling, I got there. I know have a number of jre directories and a couple of jsdk and jdk. Can I get rid of all of these but the latest jdk 1.5? Should it not be downward compatible? I dont have anything critical running on my box. Thanks again for the help. > Regards, > John > > -----Original Message----- > From: Ranga Nathan [mailto:[email protected]] > Sent: Sunday, May 21, 2006 1:12 AM > To: [email protected] > Subject: [JXTA user] Watchout! A newbie - help needed with jxta on > windows > > I am unable to bring up jxta for jsdk on windows. I am new not only to > jxta but to java as well. When running "jxta" I get this error: > > C:\jxta-shell-2.3.7\shell>jxta > Failed reading value of registry key: > Software\Microsoft\Windows\CurrentVersion\Internet > Settings\ProxyServer\ > ProxyServer > "C:\Program Files\Java\j2re1.4.2_06\bin\javaw.exe" -cp > .;..\lib\bcprov-jdk14.jar > > ;..\lib\javax.servlet.jar;..\lib\jdom.jar;..\lib\jxta.jar;..\lib\jxtaext > .jar;..\ > > lib\jxtashell.jar;..\lib\log4j.jar;..\lib\org.mortbay.jetty.jar;..\lib\s > wixml.ja > r net.jxta.impl.peergroup.Boot > > > Nowhere in the README there is any mention of registry! > > I also downloaded the program guide which comes with own jxta > packaging. There I get "Unsupported version" error. > > C:\jxta_devguide\HelloWorld>runit > > C:\jxta_devguide\HelloWorld>java -classpath > ..\lib\jxta.jar;..\lib\log4j.jar;. > .\lib\bcprov-jdk14.jar;. SimpleJxtaApp > Exception in thread "main" java.lang.UnsupportedClassVersionError: > net/jxta/exce > ption/PeerGroupException (Unsupported major.minor version 49.0) > at java.lang.ClassLoader.defineClass0(Native Method) > at java.lang.ClassLoader.defineClass(ClassLoader.java:539) > at > > java.security.SecureClassLoader.defineClass(SecureClassLoader.java:12 > 3) > at > java.net.URLClassLoader.defineClass(URLClassLoader.java:251) > at > java.net.URLClassLoader.access$100(URLClassLoader.java:55) > at java.net.URLClassLoader$1.run(URLClassLoader.java:194) > at java.security.AccessController.doPrivileged(Native > Method) > at > java.net.URLClassLoader.findClass(URLClassLoader.java:187) > at java.lang.ClassLoader.loadClass(ClassLoader.java:289) > at > sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:274) > at java.lang.ClassLoader.loadClass(ClassLoader.java:235) > at > java.lang.ClassLoader.loadClassInternal(ClassLoader.java:302) > > >