When I run TeeChartSWT.java as java application from eclipse and click "Basic feature" option from tree view (left), I get below given error. Kindly advice me.
-------------
Exception in thread "main" java.lang.UnsupportedClassVersionError: Bad version number in .class file
at java.lang.ClassLoader.defineClass1(Native Method)
at java.lang.ClassLoader.defineClass(Unknown Source)
at java.security.SecureClassLoader.defineClass(Unknown 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.Class.forName0(Native Method)
at java.lang.Class.forName(Unknown Source)
at TeeChartSWT.showSamplePane(TeeChartSWT.java:516)
at TeeChartSWT.access$4(TeeChartSWT.java:506)
at TeeChartSWT$2.widgetSelected(TeeChartSWT.java:375)
at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:228)
at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1003)
at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3823)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3422)
at TeeChartSWT.run(TeeChartSWT.java:72)
at TeeChartSWT.main(TeeChartSWT.java:553)
SWT sample - cilck on "Basic feature" generates er
Hello,
I have been unable to reproduce the error taking the following steps:
- Open Eclipse
- Select 'New Java Project'
- 'Create project from existing source'
- selecting the folder: 'Examples\SWT\Features'
- Build and run of project.
- Clicking on 'Basic features' shows page with Chart and executable code.
Please confirm the version of TeeChart that you are using (release.txt file in the TeeChart installation folder). Is this the registered or eval version?
With thanks.
Regards,
Marc Meumann
I have been unable to reproduce the error taking the following steps:
- Open Eclipse
- Select 'New Java Project'
- 'Create project from existing source'
- selecting the folder: 'Examples\SWT\Features'
- Build and run of project.
- Clicking on 'Basic features' shows page with Chart and executable code.
Please confirm the version of TeeChart that you are using (release.txt file in the TeeChart installation folder). Is this the registered or eval version?
With thanks.
Regards,
Marc Meumann
Steema Support
I followed your instruction. Created new project and run as "Java application". Again when I select the "Welcome"->"Basic feature", application is vanishing and throwing same error.
Below is the version info.
------------------------------------------
Release.txt
==========================================================
TeeChart for Java version 2
Copyright (c) 2006-2008
by Steema Software SL
All Rights Reserved.
http://support.steema.com
http://www.steema.com
email: general: [email protected]
support forum: http://www.teechart.net/support/index.php
==========================================================
Release Notes Notes 22nd January 2008
First Release version 2
Build 2.0.0.771
Below is the version info.
------------------------------------------
Release.txt
==========================================================
TeeChart for Java version 2
Copyright (c) 2006-2008
by Steema Software SL
All Rights Reserved.
http://support.steema.com
http://www.steema.com
email: general: [email protected]
support forum: http://www.teechart.net/support/index.php
==========================================================
Release Notes Notes 22nd January 2008
First Release version 2
Build 2.0.0.771
-
- Site Admin
- Posts: 14730
- Joined: Mon Jun 09, 2003 4:00 am
- Location: Banyoles, Catalonia
- Contact:
Hi D486909,
There's a new build from 27th April 2009. Can you please check if it solves the problem at your end?
Thanks in advance.
There's a new build from 27th April 2009. Can you please check if it solves the problem at your end?
Thanks in advance.
Best Regards,
Narcís Calvet / Development & Support Steema Software Avinguda Montilivi 33, 17003 Girona, Catalonia Tel: 34 972 218 797 http://www.steema.com |
Instructions - How to post in this forum |