LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 04-25-2015, 04:52 PM   #1
skrotnisse
LQ Newbie
 
Registered: Dec 2014
Location: Sweden
Distribution: Linux Mint, Slackware, Debian
Posts: 8

Rep: Reputation: Disabled
Java for SweetHome3D


When I try starting SweetHome3D I got the following response:

PHP Code:
/usr/bin/SweetHome3Dline 11: /usr/lib/java/bin/javaNo such file or director 
So, I tried changing line 11 in /usr/bin/sweethome3d from
PHP Code:
exec /usr/lib/java/bin/java 
to
PHP Code:
exec /usr/lib/jvm/bin/java 
Then I got the following response:

PHP Code:
Exception in thread "main" java.lang.NoClassDefFoundErrorcom.eteks.sweethome3d.SweetHome3D
   at java
.lang.Class.initializeClass(libgcj.so.14)
Caused byjava.lang.ClassNotFoundExceptionjavax.jnlp.ServiceManagerStub not found in gnu.gcj.runtime.SystemClassLoader{urls=[file:/usr/share/SweetHome3D/SweetHome3D.jar,file:/usr/share/SweetHome3D/Furniture.jar,file:/usr/share/SweetHome3D/Textures.jar,file:/usr/share/SweetHome3D/Help.jar,file:/usr/share/SweetHome3D/iText-2.1.7.jar,file:/usr/share/SweetHome3D/freehep-vectorgraphics-svg-2.1.1b.jar,file:/usr/share/SweetHome3D/sunflow-0.07.3i.jar,file:/usr/share/SweetHome3D/jmf.jar,file:/usr/share/SweetHome3D/batik-svgpathparser-1.7.jar,file:/usr/share/SweetHome3D/j3dcore.jar,file:/usr/share/SweetHome3D/j3dutils.jar,file:/usr/share/SweetHome3D/vecmath.jar], parent=gnu.gcj.runtime.ExtensionClassLoader{urls=[], parent=null}} 
I'm not really familiar with java...

Does anyone have any idea about what to do?
 
Old 04-25-2015, 06:40 PM   #2
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,518

Rep: Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641
You can get 'SweetHome3D-4.6-linux-x86.tgz' or ' SweetHome3D-4.6-linux-x64.tgz' from
http://sourceforge.net/projects/swee...eetHome3D-4.6/
.... It comes with 'Oracle java6' :
So you can just unpack the .tgz in /home/[name]/, and run ./SweetHome3D


Quote:
... not found in gnu.gcj.runtime. ....
Looks like the 'gcc java' ? Not usable for SweetHome3D.

-
 
Old 04-28-2015, 11:26 AM   #3
skrotnisse
LQ Newbie
 
Registered: Dec 2014
Location: Sweden
Distribution: Linux Mint, Slackware, Debian
Posts: 8

Original Poster
Rep: Reputation: Disabled
Thanx! Now SweetHome3D is running!
 
  


Reply

Tags
sweethome3d


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Mountain Lion (OS X 10.8) Java Update: Unable to Access Java Settings and Preferences rm_-rf_windows Other *NIX 2 01-03-2013 09:34 AM
[SOLVED] Java Woes: A Java Runtime Environment (JRE) or Java Development Kit (JDK) must be available ... chytraeus Slackware 10 11-27-2010 10:04 AM
SweetHome3D drakeone Linux - Newbie 7 10-22-2010 01:52 AM
LXer: Java news met with cautious optimism in free Java community LXer Syndicated Linux News 0 11-14-2006 10:21 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 08:52 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration