Customer Service Center
Home
Knowledge Base
Contact Support
License Activation
|
Contact Support
|
License Activation
|
Spirent KB Article
Doc ID: FAQ11357
Printer Friendly
Email Article Link
How do I resolve a java.lang.UnsupportedClassVersionError: bad version error after installing Tcl API on a Landslide Client PC?
Answer
The type of Java JRE error below can happen after installing the Landslide Tcl API and attempting to launch it:
% source landslidetclapi.tcl
Starting Java with Max Heap=128m
Exception in thread "main" java.lang.UnsupportedClassVersionError: Bad version number in .class file
This will happen if you try to run Landslide using a JRE older than 1.6.0_10, like 1.5.0, 1.4.2 or maybe even 1.6.0_09.
It is recommended to re-install Java JRE 1.6.0_10 or higher from the Landslide Home page, Troubleshoot Java Web Start Problems. From the Java Plug-in download section, download the Java JRE 1.6.0_10 version or higher that is compatible with your Client PC.
Once Java JRE 1.6.0_10 or higher is installed, use the command below to confirm the version installed in the Tcl environment
% java -version
java version "1.6.0_10"
Java(TM) SE Runtime Environment (build 1.6.0_10-b33)
Java HotSpot(TM) Client VM (build 11.0-b15, mixed mode, sharing)
AQI
9
Version
2.0
Publish Date
2012-01-30
Categories
Product : Landslide Client,Tcl API,Landslide
Related Articles