The 4.0.10 version is not able to run with Java 7u71. Running results with the following error:
Exception in thread "main" java.lang.UnsupportedClassVersionError: org/yaoqiang/asaf/Launcher : Unsupported major.minor version 52.0
at java.lang.ClassLoader.defineClass1(Native Method)
at java.lang.ClassLoader.defineClass(ClassLoader.java:800)
at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:142)
at java.net.URLClassLoader.defineClass(URLClassLoader.java:449)
at java.net.URLClassLoader.access$100(URLClassLoader.java:71)
at java.net.URLClassLoader$1.run(URLClassLoader.java:361)
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:425)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:308)
at java.lang.ClassLoader.loadClass(ClassLoader.java:358)
at sun.launcher.LauncherHelper.checkAndLoadMain(LauncherHelper.java:482)
Anonymous
Using Java 8u25 I had some progress. The app launches, displays the splash screen and the tray icon (with Exit option only), but the main window does not appear.
Thanks for reporting this bug. I have fixed it in the version 4.0.11.
Please use "java -jar yaoqiang.jar -clean" for the first time to launch app.
Best Regards,
Blenta
It's a lot better now. Thanks. :)
I'm still getting a warning about an incompatible Java version (for 7 and 8), but I can get around it by just clicking "No". Seems to work fine for now, but I'll test it for a while.
Just some info about the used VM:
Same goes for Java 8 ("1.8.0_25").
I'm currently finished creating the installation script for ArchLinux AUR (I guess I'll be the maintainer for that package from now on in AUR).
The PKGBUILD has the following characteristics:
To use your advice with the "-clean" option I've created an additional launch shell script, so that users don't need to bother:
I'm trying to keep the package compatible with the licencing I found on the official site. Just letting you know, though. If you have anything you would like to see added or changed, then just notify me. :)
The package script URL is https://aur.archlinux.org/packages/yaoqiang-bpmn-editor
View and moderate all "bugs Discussion" comments posted by this user
Mark all as spam, and block user from posting to "Bugs"
There are some bugs ([bugs:#246],[bugs:#18],[bugs:#91],[bugs:#148]) when using OpenJDK. I find that [bugs:#246] is reported by Feanor12 (the submitter for this package in AUR). So using OpenJDK is not recommended.
Related
Bugs:
#148Bugs: #18
Bugs:
#246Bugs: #91
Luckily they don't seem critical. It's probably because of the difference in the Swing framework implementation in Oracle's Java and OpenJDK (proprietary vs open). I don't think the situation will change, as Oracle and the OpenJDK are slowly deprecating Swing (in favour of JavaFX, I guess).
The app does throw an exception from time to time (like in bug [#246]), but it doesn't prevent me from using it. I'll add a comment to the AUR package, that using OpenJDK might cause some side effects and that people are encouraged to use the Oracle's JVM.
Related
Bugs:
#246