I am an ardent fan of the Compiere project. Just came across this Kompiere project last nite and am really interested in looking deeper in detail Have downloaded the windows file.However, I get the following error message when executing Run_Setup.bat
=======================================
Starting Setup Dialog ...
=======================================
Exception in thread "main" java.lang.UnsupportedClassVersionError: org/compiere/
install/Setup (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)
ErrorLevel = 1
***************************************
Check the error messabe above.
***************************************
Maske sure that the environment is set correctly!
Set environment variable JAVA_HOME manually
or use WinEnv.js in the util directory
***************************************
Press any key to continue . . .
My environment is:
OS: Windows XP Pro
Java: j2sdk1.4.2_08
I did a bit of trial and error and here's what I found. I copied the native Run_Setup.bat file from Compiere252d over to Kompiere. Same problem arise. Then, I copied Kompiere's Run_Setup to native Compiere252d. It runs OK.
My newbie suspicion is that the java version is giving problem. Is that true? If so, what should I do?
Regards.
n2n
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hi,
I am an ardent fan of the Compiere project. Just came across this Kompiere project last nite and am really interested in looking deeper in detail Have downloaded the windows file.However, I get the following error message when executing Run_Setup.bat
=======================================
Starting Setup Dialog ...
=======================================
Exception in thread "main" java.lang.UnsupportedClassVersionError: org/compiere/
install/Setup (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)
ErrorLevel = 1
***************************************
Check the error messabe above.
***************************************
Maske sure that the environment is set correctly!
Set environment variable JAVA_HOME manually
or use WinEnv.js in the util directory
***************************************
Press any key to continue . . .
My environment is:
OS: Windows XP Pro
Java: j2sdk1.4.2_08
I did a bit of trial and error and here's what I found. I copied the native Run_Setup.bat file from Compiere252d over to Kompiere. Same problem arise. Then, I copied Kompiere's Run_Setup to native Compiere252d. It runs OK.
My newbie suspicion is that the java version is giving problem. Is that true? If so, what should I do?
Regards.
n2n
I did have the same problem and I was using Java: j2sdk1.4.2_09. I upgraded to jdk1.5.0_05 from the link below and get the setup to work.
http://java.sun.com/j2se/1.5.0/download-netbeans.html