Java, what else, cannot start

I found this in logs/stderror.log:

java.lang.UnsupportedClassVersionError: org/jivesoftware/wildfire/starter/ServerStarter (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:123)

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 com.exe4j.runtime.LauncherEngine.launch(Unknown Source)

at com.install4j.runtime.Launcher.main(Unknown Source)

I put this line at the top of the file, maybe that’‘s what you’'re thinking of?

INSTALL4J_JAVA_HOME_OVERRIDE=/etc/env.d/java/20sun-jre-bin-1.5.0.06

so am I stuck on this? Perhaps a change of distro would be better? Would Ubuntu work better than Gentoo?

Hi,

maybe the Gentoo java version has some problems, could you please visit http://java.sun.com/javase/downloads/index.jsp and grab “Java Runtime Environment (JRE) 5.0 Update 7” (or “JDK 5.0 Update 7”) and then the “Linux self-extracting file”.

It is a .bin file, create a user jretest and use it to install it in /home/jretest with “sh /tmp/jre-1_5_0_07-linux-i586.bin” (if you did download it to /tmp/), so you can delete it and the user without problems if it does not work.

Then set INSTALL4J_JAVA_HOME_OVERRIDE=/home/jretest/jre1.5.0_07 and try again to start it.

LG