when compiling/running sweethome3d from java-overlay using sun-jdk, it fails with jnlp classes not on classpath. when compiling/running the same app using icedtea6 and icedtea7, everything works fine. so the issue is probably that sun-jdk does not have javaws.jar on classpath whereas icedtea6 and icedtea7 have it on classpath while running. $ GENTOO_VM="sun-jdk-1.6" SweetHome3D Exception in thread "main" java.lang.NoClassDefFoundError: javax/jnlp/UnavailableServiceException Caused by: java.lang.ClassNotFoundException: javax.jnlp.UnavailableServiceException at java.net.URLClassLoader$1.run(URLClassLoader.java:202) at java.security.AccessController.doPrivileged(Native Method) at java.net.URLClassLoader.findClass(URLClassLoader.java:190) at java.lang.ClassLoader.loadClass(ClassLoader.java:307) at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301) at java.lang.ClassLoader.loadClass(ClassLoader.java:248) Could not find the main class: com.eteks.sweethome3d.SweetHome3D. Program will exit. i guess the "Could not find the main class..." message is just product of ClassNotFoundException as it works fine with icedtea6 and icedtea7.
i can confirm this problem too
(In reply to comment #1) > i can confirm this problem too Please don't randomly CC people from the Changelog. Relevant people already do get notifications.
i am sorry for disturbing. i see some nasty bugs and if i dont push a little bit to remind of of maintainer, it seems to be nothing going to change. t his problem exist since some releases, and its so nasty then hell. at last 2 day there is more bug fixed then i could believe. how long should i waiting for it?
Same problem here.
sun-jdk has been last-rited. It's possible this is still an issue but our sweethome3d ebuild is massively outdated anyway. If they still use Web Start, this would need to be looked at afresh in the context of icedtea-web.