Пытаюсь запустить SweetHome3D
splinter@bastile:~/Downloads$ 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:306)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)
at java.lang.ClassLoader.loadClass(ClassLoader.java:247)
Could not find the main class: com.eteks.sweethome3d.SweetHome3D. Program will exit.
Вроде бы сделал все как сказанно тут, кроме того, что default-java у меня отсутствует.
Resolution:
Downloaded jre-6u27-linux-i586.bin and install it.
As root, copy ~/Downloads/jre1.6.0_27/lib/javaws.jar to /usr/lib/jvm/default-java/jre/lib.
As root, create a link ln -s default-java java-6-sun.
Run sweethome3d.
It worked at least for me.
splinter@bastile:~/Downloads$ /usr/lib/java/bin/java -version
java version "1.6.0_25"
Java(TM) SE Runtime Environment (build 1.6.0_25-b06)
Java HotSpot(TM) Client VM (build 20.0-b11, mixed mode, sharing)