|
|
|
|||||
|
Not able to run java 1.4.2 app
Hi,
The java application that I'm using is made with java 1.6 (Eclipse 3.2.2 compliance level 5.0). The compilation with java 1.4.2 and compliance level 1.4 goes through just fine, but when I start the app I get the following errors: --------------------------------------------------------------------- java.lang.UnsupportedClassVersionError: Ice/Application (Unsupported major.minor version 49.0) at java.lang.ClassLoader.defineClass0(Native Method) at java.lang.ClassLoader.defineClass(Unknown Source) at java.security.SecureClassLoader.defineClass(Unknow n Source) at java.net.URLClassLoader.defineClass(Unknown Source) at java.net.URLClassLoader.access$100(Unknown Source) at java.net.URLClassLoader$1.run(Unknown Source) at java.security.AccessController.doPrivileged(Native Method) at java.net.URLClassLoader.findClass(Unknown Source) at java.lang.ClassLoader.loadClass(Unknown Source) at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source) at java.lang.ClassLoader.loadClass(Unknown Source) at java.lang.ClassLoader.loadClassInternal(Unknown Source) at java.lang.ClassLoader.defineClass0(Native Method) at java.lang.ClassLoader.defineClass(Unknown Source) at java.security.SecureClassLoader.defineClass(Unknow n Source) at java.net.URLClassLoader.defineClass(Unknown Source) at java.net.URLClassLoader.access$100(Unknown Source) at java.net.URLClassLoader$1.run(Unknown Source) at java.security.AccessController.doPrivileged(Native Method) at java.net.URLClassLoader.findClass(Unknown Source) at java.lang.ClassLoader.loadClass(Unknown Source) at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source) at java.lang.ClassLoader.loadClass(Unknown Source) at java.lang.ClassLoader.loadClassInternal(Unknown Source) at com.cmp.company_name.Client.main(Client.java:28) Exception in thread "main" --------------------------------------------------------------------- Has this got something to do with the java version? The 1.4.2 should be supported by ICE 3.2.0 right? Thanks, Vladimir Last edited by Vladja : 07-12-2007 at 08:53 AM. |
|
||||||
|
Hello Vladimir,
This error indicates that you're using the Java 5 Ice.jar file (which isn't compatible with the JDK 1.4.2). We provide two Ice for Java distributions, you should get the Java 2 distribution for the JDK 1.4.2, see our download page. If you're using a Unix or Windows binary distribution, you'll find the Java2 Ice.jar file in the lib/java2 directory of your binary distribution (for RPM distributions, you'll find it in the /usr/lib/Ice-3.2.0/java2 directory). Cheers, Benoit. |
![]() |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Client side invocations from a Server app. | vincei | Comments | 3 | 07-04-2007 10:27 AM |
| Does icegrid app remove, stop the servers of the app? | Wilko | Help Center | 6 | 06-16-2007 12:03 PM |
| IceV3.11 java client and vc7.0Server : java.lang.NullPointerException? | zhoubin | Help Center | 2 | 11-24-2006 04:03 AM |
| getifaddrs() does not supported by glibc, IceE fails to make app in /IceE/test | syseeker | Help Center | 2 | 07-02-2006 10:27 PM |
| IceBox/ C# and App.config | stephan | Help Center | 0 | 01-12-2006 05:56 AM |