using xml editor

Issues related to installation of ADL

using xml editor

Postby lsa » Wed Nov 30, 2011 4:25 pm


I am trying to run the XML editor in the virtual machine. I installed the latest version JAVA v1.6.0_22 and configured the env variables (JAVA_HOME and PATH). When I rum "xmled", I got the following error:

Exception in thread "main" java.lang.UnsupportedClassVersionError: pro/cat3/xml/viewer/ProXmlJTreeFrame : Unsupported major.minor version 51.0
at java.lang.ClassLoader.defineClass1(Native Method)
at java.lang.ClassLoader.defineClassCond(Unknown Source)
at java.lang.ClassLoader.defineClass(Unknown Source)
at Source)
at Source)
at$000(Unknown Source)
at$ Source)
at Method)
at Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
Could not find the main class: pro.cat3.xml.viewer.ProXmlJTreeFrame. Program will exit.

Can anybody help on this?
Thanks a lot!
Posts: 11
Joined: Fri Nov 18, 2011 11:30 am

Re: using xml editor

Postby kbisanz » Thu Dec 01, 2011 8:14 pm

You might have already done this, but try rebuilding the java code:
Code: Select all
$> cd $ADL_HOME/java
$> ant clean
$> ant

And then try starting the XML editor again.

Additionally, execute
$JAVA_HOME/bin/java -version
and verify it's the expected version.
Kevin Bisanz
Raytheon Company
Posts: 280
Joined: Wed Jan 05, 2011 7:02 pm
Location: Omaha NE

Re: using xml editor

Postby lsa » Mon Dec 05, 2011 9:57 am

Thanks, Kevin,
It works now.
I think the reason is "ANT_HOME" was not correctly setup.
Posts: 11
Joined: Fri Nov 18, 2011 11:30 am

Re: using xml editor

Postby BobHairston » Thu Mar 26, 2015 4:11 am

I had same error. Thanks admin for you comment.
Posts: 1
Joined: Thu Mar 26, 2015 3:45 am

Re: using xml editor

Postby bizzrisea431 » Mon Jul 20, 2015 2:24 am

Actually, I am learning XHTML but have been advised to use an XML editor. I would prefer a good freeware for learning initially and then throw a few dollars down for something else later.
Posts: 3
Joined: Mon Jul 20, 2015 2:09 am

Re: using xml editor

Postby hicked11 » Wed Oct 12, 2016 10:08 pm

Worked fine for me!
Posts: 1
Joined: Tue Aug 09, 2016 11:25 pm

Return to Installation

Who is online

Users browsing this forum: No registered users and 0 guests