JRE 1.4 support

TeeChart for Java (NetBeans, Eclipse, Android Studio, etc)
Post Reply
bdw
Advanced
Posts: 130
Joined: Mon Mar 07, 2005 5:00 am
Location: New Zealand
Contact:

JRE 1.4 support

Post by bdw » Mon Oct 16, 2006 5:32 am

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!

tom
Advanced
Posts: 211
Joined: Mon Dec 01, 2003 5:00 am
Contact:

Post by tom » Mon Oct 16, 2006 5:52 pm

Hi,


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

Regards,
tom

bdw
Advanced
Posts: 130
Joined: Mon Mar 07, 2005 5:00 am
Location: New Zealand
Contact:

Post by bdw » Mon Oct 16, 2006 7:38 pm

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 ?

bdw
Advanced
Posts: 130
Joined: Mon Mar 07, 2005 5:00 am
Location: New Zealand
Contact:

Post by bdw » Tue Oct 17, 2006 12:17 am

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();

tom
Advanced
Posts: 211
Joined: Mon Dec 01, 2003 5:00 am
Contact:

Post by tom » Tue Oct 17, 2006 9:56 am

weird, something must have been changed when building the final codetree.
I'll contact the builder.

Marc
Site Admin
Site Admin
Posts: 1272
Joined: Thu Oct 16, 2003 4:00 am
Location: Girona
Contact:

Post by Marc » Tue Oct 17, 2006 9:05 pm

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
Steema Support

Post Reply