Hi,
I get the following error when trying to lauch glgen.jar:
[olivier@bezie_csalad glgen]$ java -jar GLGEN.jar
Exception in thread "main"
java.lang.UnsupportedClassVersionError:
org/dyndns/atessier/glgen/GLGEN (Unsupported
major.minor version 49.0)
at java.lang.ClassLoader.defineClass0(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)
My linux is a 2.6 and my j2re is 1.4.2
What did I miss?
Thank you
Olivier
Logged In: YES
user_id=986538
Hi,
My Java is:
[olivier@Bezie_Csalad glgen_v1.0.2]$ java -version
java version "1.5.0_04"
Java(TM) 2 Runtime Environment, Standard Edition (build
1.5.0_04-b05)
Java HotSpot(TM) Client VM (build 1.5.0_04-b05, mixed mode)
[olivier@Bezie_Csalad glgen_v1.0.2]$ echo $PATH
/usr/bin:/bin:/usr/bin:/usr/local/bin:/usr/X11R6/bin/:/usr/games:/usr/local/lib/jre1.5.0_04/bin:/home/olivier/bin:/usr/sbin
[olivier@Bezie_Csalad glgen_v1.0.2]$ echo $JAVA_HOME
/usr/local/lib/jre1.5.0_04
and when I launch glgen v. 1.0.2 I get the following:
[olivier@Bezie_Csalad glgen_v1.0.2]$ java -jar GLGEN.jar
Exception in thread "main" java.lang.NoClassDefFoundError:
com/jgoodies/looks/plastic/PlasticTheme
Any assistance would be welcome!
Thank you
Olivier
Logged In: YES
user_id=1022817
Hi,
I have not tried this software in linux, Maybe you dont have
the library looks_1.3.1.jar on your computer.
What I would suggest is to make sure you are in the GLGEN
directory before launching java -jar GLGEN.jar, because the
application is looking for the library in the lib directory
that is in the glgen directory. So if you start GLGEN
without being in the proper directory, it will not find the
looks-1.3.1.jar file.
Give it a try and let me know
Take a look at the site, because a computing bug as been
ficed and the 1.0.3 version will be availabe shortly.
Andr Tessier
Logged In: YES
user_id=986538
Hello Andr,
Unfortunately no progress. I installed the 1.0.3 version and
I tried the following:
- to run GLGEN.jar from the installation directory - where
GLGEN.jar and the lib and images directories are;
- to run GLGEN.jar after copying looks_1.3.1.jar in the
original java lib directory;
with the same result:
Exception in thread "main" java.lang.NoClassDefFoundError:
com/jgoodies/looks/plastic/PlasticTheme
I have also lauched GLGEN.jar with the verbose on and here
are the few last lines:
...
[Loaded org.dyndns.atessier.glgen.XmlViewerNode from
file:/home/olivier/tmp/glgen_v1.0.3_/GLGEN.jar]
[Loaded org.w3c.dom.Node from
/usr/local/lib/jre1.5.0_04/lib/rt.jar]
[Loaded javax.swing.tree.TreePath from
/usr/local/lib/jre1.5.0_04/lib/rt.jar]
[Loaded java.io.FileNotFoundException from
[usr/local/lib/jre1.5.0_04/lib/rt.jar]
Exception in thread "main" java.lang.NoClassDefFoundError:
com/jgoodies/looks/plastic/PlasticTheme
[Loaded java.lang.Shutdown from
/usr/local/lib/jre1.5.0_04/lib/rt.jar]
[Loaded java.lang.Shutdown$Lock from
/usr/local/lib/jre1.5.0_04/lib/rt.jar]
Unless you have other ideas, I will try to create the jar
package from the source. I don't know if it makes any sense
but I will try to find some time to do it (never did it
before!).
Olivier
Logged In: YES
user_id=1022817
Hi Olivier,
I have been trying to run GLGEN from within knoppix and
received the same error. I know that I could isolate that piece
of code running it only on MS$ systems. The error message
is related to a Look and Feel I use that is provided by
JGoodies.
Over the next week, I will try to fiddle with the classpath
java_home and path variables to see If I can get it to run
under linux. If not I will make a new version in which I will set
the look and feel only on windows leaving the other os run on
the regular look and feel of java application.
As for building it yourself I dont think it will change anything,
but let me know. I'm not sure if the build.xml file is in the
source, if not I can provide it to you and you can try building it
whit eclipse or ant.
Thank you for your time in helping me solving this matter.
Andr