Doing in this way the installation finishes apparently without errors but SH3D doesn't runs...
administrador[~]$ SweetHome3D
Exception in thread "main" java.lang.NoClassDefFoundError: javax/jnlp/UnavailableServiceException
at java.lang.Class.getDeclaredMethods0(Native Method)
at java.lang.Class.privateGetDeclaredMethods(Class.java:2531)
at java.lang.Class.getMethod0(Class.java:2774)
at java.lang.Class.getMethod(Class.java:1663)
at sun.launcher.LauncherHelper.getMainMethod(LauncherHelper.java:494)
at sun.launcher.LauncherHelper.checkAndLoadMain(LauncherHelper.java:486)
Caused by: java.lang.ClassNotFoundException: javax.jnlp.UnavailableServiceException
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:425)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:308)
at java.lang.ClassLoader.loadClass(ClassLoader.java:358)
... 6 more
SweetHome3d
Re: SweetHome3d
So, try installing the oracle jdk. Follow marcxjo's instructions for that. Remove any openjre/openjdk packages you have installed first.
Re: SweetHome3d
I'm sorry, I didn't even think about giving instructions for the installation stage!JoPalMo wrote:Well, I've downloaded jdk-7u51-linux-i586.tar.gz from Oracle but now I don't know exactly what to do with it...
Assuming you've used my suggestion to mirror the SlackBuild directory with lftp, and you've grabbed up the jdk tarball, go ahead and move that tarball to that mirrored directory.
At this point, you should be just about ready to build the jdk. Let's make sure the file is at least user-executable, though.
Code: Select all
chmod u+x
jdk.SlackBuild
Code: Select all
sudo su
(your password upon being prompted)
Code: Select all
su
(root password upon being prompted)
Code: Select all
./jdk.SlackBuild
Code: Select all
cd /tmp
ls *.txz
Code: Select all
OUTPUT=${OUTPUT:-/tmp}
cd into the proper directory, find the jdk package with ls, and just install like so:
Code: Select all
installpkg jdk-x.txz
I wondered about this! I fiddled with installing ejabberd about five months ago on a box running 14.0; if I had known this and a little more about SlackBuilds at the time, I'd have likely had a much easier time. I'd be very surprised if ejabberd couldn't run on openjdk.gapan wrote:This.laprjns wrote:That may be true but I believe that slapt-src is failing here because it is looking for a package called jdk, not openjdk. Salix dependency files allow for jdk or openjdk. So before going through the trouble of installing jdk, install openjdk and the try installing weathome3d using slapt-src "no dependency" option. Check slapt-src --help for the correct syntax.knome wrote:As far as I remember SweetHome3d requires officiath l Java. Open jdk doesn't work.
If you have done a full salix installation, you should have openjre installed anyway. I haven't tried sweethome3d, but I kind of doubt it needs jdk instead of jre. So you probably don't need anything other than what you have installed. If it indeed fails to run (after you have installed it with "slapt-src --no-dep"), then try installing openjdk with slapt-get. If it still doesn't run, then create and install the oracle jdk package.
Happy to help.gapan wrote:So, try installing the oracle jdk. Follow marcxjo's instructions for that. Remove any openjre/openjdk packages you have installed first.
Re: SweetHome3d
These packages work with either openjre or openjdk
'''Package:'''
http://people.salixos.org/laprjns/sweet ... 86-1rl.md5
http://people.salixos.org/laprjns/sweet ... 86-1rl.txz
http://people.salixos.org/laprjns/sweet ... 86-1rl.dep
http://people.salixos.org/laprjns/sweet ... 86-1rl.src
'''Package:'''
http://people.salixos.org/laprjns/sweet ... 64-1rl.md5
http://people.salixos.org/laprjns/sweet ... 64-1rl.txz
http://people.salixos.org/laprjns/sweet ... 64-1rl.dep
http://people.salixos.org/laprjns/sweet ... 64-1rl.src
Make sure that openjre or openjdk is installed, download the txz file for your architecture and install it using spkg -i.
The problem was not with the java packages but rather with the SweetHome3D start up file not having the correct path to the java binary.
'''Package:'''
http://people.salixos.org/laprjns/sweet ... 86-1rl.md5
http://people.salixos.org/laprjns/sweet ... 86-1rl.txz
http://people.salixos.org/laprjns/sweet ... 86-1rl.dep
http://people.salixos.org/laprjns/sweet ... 86-1rl.src
'''Package:'''
http://people.salixos.org/laprjns/sweet ... 64-1rl.md5
http://people.salixos.org/laprjns/sweet ... 64-1rl.txz
http://people.salixos.org/laprjns/sweet ... 64-1rl.dep
http://people.salixos.org/laprjns/sweet ... 64-1rl.src
Make sure that openjre or openjdk is installed, download the txz file for your architecture and install it using spkg -i.
The problem was not with the java packages but rather with the SweetHome3D start up file not having the correct path to the java binary.
“Don’t you see that the whole aim of Newspeak is to narrow the range of thought?"
Re: SweetHome3d
Good news: finally it has been possible to install SH3D following the last indications.
Bad ones: it doesn't run properly. Strange lines occupy the 3d view...
Bad ones: it doesn't run properly. Strange lines occupy the 3d view...
Re: SweetHome3d
“Don’t you see that the whole aim of Newspeak is to narrow the range of thought?"