Welcome to yEd Q&A!
Here you can ask questions and receive answers from other members of the community and yEd developers. And you can tell us your most wanted feature requests.

Categories

yed-3.10 and 3.10.1 don't start - java error

0 votes

I installed the new version of yed (3.10.1 and 3.10.) and cannot start it.

I am getting this error:

 

yed
Exception in thread "main" java.lang.NoClassDefFoundError: org/freehep/graphics2d/AbstractVectorGraphics
        at C.B.A.D.Ĝ(Unknown Source)
        at y.B.A.M.ĝ(Unknown Source)
        at B.A.A.B.K.A.ā(Unknown Source)
        at B.A.A.B.K.A.<init>(Unknown Source)
        at B.A.A.B.M.C.ā(Unknown Source)
        at B.A.A.F.G.ā(Unknown Source)
        at B.A.A.F.Q.ā(Unknown Source)
        at B.A.A.F.S$B.ā(Unknown Source)
        at B.A.A.F.S$B.ā(Unknown Source)
        at B.A.A.F.S$B.ā(Unknown Source)
        at B.A.A.F.S$B.endDocument(Unknown Source)
        at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.endDocument(AbstractSAXParser.java:742)
        at com.sun.org.apache.xerces.internal.impl.dtd.XMLDTDValidator.endDocument(XMLDTDValidator.java:928)
        at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanDocument(XMLDocumentFragmentScannerImpl.java:494)
        at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:835)
        at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:764)
        at com.sun.org.apache.xerces.internal.parsers.XMLParser.parse(XMLParser.java:123)
        at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.parse(AbstractSAXParser.java:1210)
        at B.A.A.F.S.ā(Unknown Source)
        at B.A.A.Z.G$1.ā(Unknown Source)
        at B.A.A.Z.G.ƕ(Unknown Source)
        at B.A.A.Z.G.Ă(Unknown Source)
        at B.A.A.Z.C.run(Unknown Source)
        at B.A.A.F.ā(Unknown Source)
        at B.A.A.F.Ă(Unknown Source)
        at B.A.A.F.ā(Unknown Source)
        at B.A.A.B.ā(Unknown Source)
        at B.A.A.B.main(Unknown Source)
Caused by: java.lang.ClassNotFoundException: org.freehep.graphics2d.AbstractVectorGraphics
        at java.net.URLClassLoader$1.run(URLClassLoader.java:366)
        at java.net.URLClassLoader$1.run(URLClassLoader.java:355)
        at java.security.AccessController.doPrivileged(Native Method)
        at java.net.URLClassLoader.findClass(URLClassLoader.java:354)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:423)
        at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:308)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:356)
        ... 28 more
 
I am *NOT* using webstart.
I am running linux with icedtea java
java version "1.7.0_13"
OpenJDK Runtime Environment (IcedTea7 2.3.6) (Gentoo build 1.7.0_13-b20)
OpenJDK 64-Bit Server VM (build 23.7-b01, mixed mode
 
The version yed-3.9.2 does work without problems.
I also deleted my .java directory in my homedir but that doesn't change anything.
Any advice on how to debug this?
 
Thanks a lot!

 

in Help by

1 Answer

0 votes

How do you run yEd? Since you are using IcedTea, I am assuming you are not using the executable yEd script from yEd's installation directory.
Moreover, does your yEd installation directory contain both jar files yed.jar and vectorgraphics.jar?

In any case, your problem is probably a bug in IcedTea. I strongly suggest using the official Oracle Java instead. E.g. on my Kubuntu 12.04 system with Oracle's JRE 7u13, EMF export works as expected when I run yEd using "java -jar yed.jar" or "java -cp yed.jar B.A.A.B".

by [yWorks] (161k points)
Hi Thomas,
thanks for answer and pointing me into the right direction.
It was my fault since I forgot to add the new vectorgraphics.jar to my ebuild so it didn't get installed.
I fixed that and it's copied as well now and yed works again like a charm!

Thank you so much. Oh and it works very well with IcedTea.
Legal Disclosure | Privacy Policy
...