using xml editor

Issues related to installation of ADL

using xml editor

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

Hi,

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 java.security.SecureClassLoader.defineClass(Unknown Source)
at java.net.URLClassLoader.defineClass(Unknown Source)
at java.net.URLClassLoader.access$000(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)
Could not find the main class: pro.cat3.xml.viewer.ProXmlJTreeFrame. Program will exit.


Can anybody help on this?
Thanks a lot!
lsa
 
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
kbisanz
 
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.
lsa
 
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.
BobHairston
 
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.
bizzrisea431
 
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!
hicked11
 
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

cron