foisys
Hi,
I am a big fan of the ditto plugin to create diagrams, especially to describe complex experiments in our lab. I have been having this message lately:
Exception in thread "main" java.lang.UnsupportedClassVersionError: org/stathissideris/ascii2image/core/CommandLineConverter : Unsupported major.minor version 51.0
at java.lang.ClassLoader.defineClass1(Native Method)
at java.lang.ClassLoader.defineClass(ClassLoader.java:643)
at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:142)
at java.net.URLClassLoader.defineClass(URLClassLoader.java:277)
at java.net.URLClassLoader.access$000(URLClassLoader.java:73)
at java.net.URLClassLoader$1.run(URLClassLoader.java:212)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:205)
at java.lang.ClassLoader.loadClass(ClassLoader.java:323)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:294)
at java.lang.ClassLoader.loadClass(ClassLoader.java:268)
Could not find the main class: org.stathissideris.ascii2image.core.CommandLineConverter. Program will exit.
in my Apache's error_log and the big ugly "No ditaa diagram" image in my pages. Anybody could point me toward a solution?
Thanks in advance
Sylvain
andi
might be that the java version your ditaa was compiled for is incompatible with the java version you have installed. Maybe try updating ditaa or your jvm?
foisys
Hi,
Thanks for the heads-up on the version thing... I should have come up with this myself :-( I actually downgraded to ditto0_9 from source forge to make this work; my IT setup is old and the people looking after it are just not looking after it...
Anyway, I have it working and I'll push for a global upgrade of our Linux environment.
Thanks and best regards
S