Page 1 of 1

JRE 1.4 support

Posted: Mon Oct 16, 2006 5:32 am
by 9236183
Hello,
Not sure if this forum is active or not as no one seems to have replied to my other posts.

At any rate I'm trying to run an application with the JRE 1.4 engine, can you tell me if a JAR file is available for this ?

Any feedback would be welcome!

Posted: Mon Oct 16, 2006 5:52 pm
by Tom
Hi,


Yes, it should run on 1.4 since it is developed in 1.4

Regards,
tom

Posted: Mon Oct 16, 2006 7:38 pm
by 9236183
I've been trying on the IBM JRE 1.4.2 and as you can see from the following output the JAR file appears to be 1.5 based :-

[Signaling in VM: java/lang/UnsupportedClassVersionError, message: com/steema/teechart/TChart (Unsupported major.minor version 49.0)]
at java.lang.ClassLoader.defineClass0(Native Method)
at java.lang.ClassLoader.defineClass(ClassLoader.java:808)
at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:147)
at java.net.URLClassLoader.defineClass(URLClassLoader.java:475)
at java.net.URLClassLoader.access$500(URLClassLoader.java:109)
at java.net.URLClassLoader$ClassFinder.run(URLClassLoader.java:848)
at java.security.AccessController.doPrivileged1(Native Method)
at java.security.AccessController.doPrivileged(AccessController.java:389)
at java.net.URLClassLoader.findClass(URLClassLoader.java:371)
at java.lang.ClassLoader.loadClass(ClassLoader.java:570)
at java.lang.ClassLoader.loadClass(ClassLoader.java:561)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:442)
at java.lang.ClassLoader.loadClass(ClassLoader.java:502)
at MDMain.main(MDMain.java:34)
[Loaded java.lang.UnsupportedClassVersionError from /usr/local/lib/IBMJava2-142/jre/lib/core.jar]

Is there a 1.4 base jar that I can include ?

Posted: Tue Oct 17, 2006 12:17 am
by 9236183
I have tried the code under windows and sun 1.4.2 with the same results.

The initial line that comes up with the problem is simply :-
TChart chart = new TChart();

Posted: Tue Oct 17, 2006 9:56 am
by Tom
weird, something must have been changed when building the final codetree.
I'll contact the builder.

Posted: Tue Oct 17, 2006 9:05 pm
by Marc
Hello,

Thanks for letting us know. TeeChart for Java was designed to support the 1.4 java environment, it should have been available for download. We've now replaced the TeeChart 1.5 compiled version with a 1.4 compatible version, available on the customer download page.

Regards,
Marc Meumann