Moving to Java 1.6 was Re: [freenet-support] Mac OSX 10.5 unable to connect since Freenet build 1372

Matthew Toseland <toad-EI5O+8PHWbJeeLb3ft/[email protected]>
Newsgroups gmane.network.freenet.devel,gmane.network.freenet.support
Message-ID <[email protected]>
Current freenet.jar's are built against Java 1.5. However, freenet-ext.jar is built against Java 1.6.

We have planned for a while to move to Java 1.6 anyway so it's probably best to just drop support for 1.5.

However, some Mac's have problems, as we see below.

Harry, you should be able to install Java 6 from here:
http://support.apple.com/kb/DL848

Then make sure you have it with:
java -version

If it has multiple versions installed try to remove the older ones, or change the path to java in wrapper.conf (let me know if this is necessary, if so it really sucks and maybe we need to do something about it).

On Friday 27 May 2011 21:26:22 harry smythe wrote:
> 
> So sorry about the scrolled wrapper.log. I try again.
> Harry
> 
> STATUS | wrapper  | 2011/05/27 12:56:31 | Reloading Wrapper configuration...
> STATUS | wrapper  | 2011/05/27 12:56:31 | Launching a JVM...
> ERROR  | wrapper  | 2011/05/27 12:56:31 | JVM exited while loading the application.
> INFO   | jvm 5    | 2011/05/27 12:56:31 | Exception in thread "main" java.lang.UnsupportedClassVersionError: Bad version number in .class file
> INFO   | jvm 5    | 2011/05/27 12:56:31 | 	at java.lang.ClassLoader.defineClass1(Native Method)
> INFO   | jvm 5    | 2011/05/27 12:56:31 | 	at java.lang.ClassLoader.defineClass(ClassLoader.java:676)
> INFO   | jvm 5    | 2011/05/27 12:56:31 | 	at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:124)
> INFO   | jvm 5    | 2011/05/27 12:56:31 | 	at java.net.URLClassLoader.defineClass(URLClassLoader.java:260)
> INFO   | jvm 5    | 2011/05/27 12:56:31 | 	at java.net.URLClassLoader.access$100(URLClassLoader.java:56)
> INFO   | jvm 5    | 2011/05/27 12:56:31 | 	at java.net.URLClassLoader$1.run(URLClassLoader.java:195)
> INFO   | jvm 5    | 2011/05/27 12:56:31 | 	at java.security.AccessController.doPrivileged(Native Method)
> INFO   | jvm 5    | 2011/05/27 12:56:31 | 	at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
> INFO   | jvm 5    | 2011/05/27 12:56:31 | 	at java.lang.ClassLoader.loadClass(ClassLoader.java:317)
> INFO   | jvm 5    | 2011/05/27 12:56:31 | 	at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:280)
> INFO   | jvm 5    | 2011/05/27 12:56:31 | 	at java.lang.ClassLoader.loadClass(ClassLoader.java:252)
> INFO   | jvm 5    | 2011/05/27 12:56:31 | 	at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:375)
> INFO   | jvm 5    | 2011/05/27 12:56:31 | 	at freenet.node.NodeStarter.<clinit>(NodeStarter.java:52)
> FATAL  | wrapper  | 2011/05/27 12:56:31 | There were 5 failed launches in a row, each lasting less than 300 seconds.  Giving up.
> FATAL  | wrapper  | 2011/05/27 12:56:31 |   There may be a configuration problem: please check the logs.
> STATUS | wrapper  | 2011/05/27 12:56:31 | <-- Wrapper Stopped

_______________________________________________
Devl mailing list
[email protected]
http://freenetproject.org/cgi-bin/mailman/listinfo/devl
signature.asc (application/pgp-signature, 198 B)
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (GNU/Linux)

iEYEABEIAAYFAk3ldOkACgkQYUNbc3WUHYhRJwCfc6qBIT4Yn1XqBRj/R2k2DYU+
pLsAn38oMh1xE9rdFwvQFlb5vLHBS7tX
=4vQz
-----END PGP SIGNATURE-----
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.