Print at Dec 20, 2025, 6:43:14 AM
Posted by AnonDMV at Mar 8, 2013, 5:16:25 PM
Problem Starting Online Version
When trying to start the online version, I get the following error: ClassNotFoundException com.eteks.sweethome3d.applet.SweetHome3DApplet.

Don't see this in the FAQ or another thread. Runing IE9 with Java 10.7.2. Thanks for any help.

Posted by Puybaret at Mar 9, 2013, 3:12:12 PM
Re: Problem Starting Online Version
Do you get this error when you try to run the Online version at this page, or when you try to run your own version.
----------------------------------------
Emmanuel Puybaret, Sweet Home 3D creator

Posted by AnonDMV at Mar 14, 2013, 4:07:39 PM
Re: Problem Starting Online Version
I get the error when trying to run the Online version at "this page" (http://www.sweethome3d.com/SweetHome3DOnline.jsp). I have not attempted to install or use a download version. Thanks.

Posted by StNff at Mar 16, 2013, 12:55:59 PM
Re: Problem Starting Online Version
I Do get this error when I try to run my own version. And another question. In what directory should I have catalogs of furniture and textures?

Posted by StNff at Mar 17, 2013, 5:51:05 PM
Re: Problem Starting Online Version
P.S. ClassNotFoundException com.eteks.sweethome3d.applet.SweetHome3DViever

Posted by Puybaret at Mar 18, 2013, 7:58:38 AM
Re: Problem Starting Online Version
StNff, I don't understand why you report an issue with com.eteks.sweethome3d.applet.SweetHome3DViewer in a subject about the Online version (i.e. com.eteks.sweethome3d.applet.SweetHome3DApplet class). What are you trying to do?
----------------------------------------
Emmanuel Puybaret, Sweet Home 3D creator

Posted by StNff at Mar 18, 2013, 12:58:25 PM
<font><font class=""> Re: Проблема Начиная Электронная версия </font></font>
I have compiled applet (ANT utility). I have this error when trying to start SweetHome3DApplet.html.
http://osnova-mebel.com/3d/SweetHome3DApplet.html

Posted by StNff at Mar 18, 2013, 3:49:55 PM
confused   Re: <font><font class=""> Re: Проблема Начиная Электронная версия </font></font>
P.S.
I have the error ClassNotFoundException com.eteks.sweethome3d.applet.SweetHome3DApplet.
I think I had another error yesterday.

Posted by StNff at Mar 24, 2013, 11:50:59 AM
Re: <font><font class=""> Re: Проблема Начиная Электронная версия </font></font>
I had JDK 7.
Now I have JDK 5 (As in the instructions).
Log compilation:
D:\1>ant javaWebStart
Buildfile: D:\1\build.xml

build:
[mkdir] Created dir: D:\1\build\classes
[javac] D:\1\build.xml:43: warning: 'includeantruntime' was not set, defaulting to build.sysclasspath=last; set to f
alse for repeatable builds
[javac] Compiling 2 source files to D:\1\build\classes
[javac] D:\1\build.xml:46: warning: 'includeantruntime' was not set, defaulting to build.sysclasspath=last; set to f
alse for repeatable builds
[javac] Compiling 193 source files to D:\1\build\classes
[javac] Note: Some input files use unchecked or unsafe operations.
[javac] Note: Recompile with -Xlint:unchecked for details.
[copy] Copying 261 files to D:\1\build\classes
[zip] Building zip: D:\1\build\SweetHome3D.jar
[delete] Deleting directory D:\1\build\classes

application:
[zip] Building zip: D:\1\build\SweetHome3DStandalone.jar
[move] Moving 1 file to D:\1\build

furniture:
[zip] Building zip: D:\1\build\Furniture.jar

textures:
[zip] Building zip: D:\1\build\Textures.jar

help:
[zip] Building zip: D:\1\build\Help.jar

jogl-java3d:
[zip] Building zip: D:\1\build\macosx\java3d-1.6\jogl-java3d.jar

java3dLibraries:
[mkdir] Created dir: D:\1\deploy\lib\windows\i386
[zip] Building zip: D:\1\deploy\lib\windows\i386\java3d.jar
[mkdir] Created dir: D:\1\deploy\lib\windows\x64
[zip] Building zip: D:\1\deploy\lib\windows\x64\java3d.jar
[mkdir] Created dir: D:\1\deploy\lib\linux\i386
[zip] Building zip: D:\1\deploy\lib\linux\i386\java3d.jar
[mkdir] Created dir: D:\1\deploy\lib\linux\x64
[zip] Building zip: D:\1\deploy\lib\linux\x64\java3d.jar
[mkdir] Created dir: D:\1\deploy\lib\macosx
[zip] Building zip: D:\1\deploy\lib\macosx\java3d.jar

javaWebStart:
[mkdir] Created dir: D:\1\build\JNLP-INF
[copy] Copying 1 file to D:\1\build\JNLP-INF
[zip] Building zip: D:\1\deploy\lib\SweetHome3DJavaWebStartBootstrap.jar
[zip] Building zip: D:\1\deploy\lib\SweetHome3D.jar
[copy] Copying 6 files to D:\1\deploy\lib
[delete] Deleting directory D:\1\build
[input] Enter Passphrase for keystore:
1111
[signjar] Signing JAR: D:\1\deploy\lib\Loader3DS1_2u.jar to D:\1\deploy\lib\Loader3DS1_2u.jar as SweetHome3D
[signjar] jarsigner error: java.lang.RuntimeException: keystore load: D:\1\keys.keytool (═х єфрхЄё  эрщЄш єърчрээ√щ Їр
щы)

BUILD FAILED
D:\1\build.xml:238: jarsigner returned: 1

Total time: 1 minute 40 seconds

Tell me, what's the problem?

Posted by Puybaret at Mar 24, 2013, 1:39:58 PM
Re: <font><font class=""> Re: Проблема Начиная Электронная версия </font></font>
Reading the README.TXT file coming with the source file would have given you the answer:
Note that the last part of the Ant targets javaWebStart, applet and viewer requires a passphrase for keystore to sign the deployed jars. For security reasons, the required file keys.keytool isn't provided with this source code. You'll have first to generate this file and choose a passphrase, with the following command run in the directory where you uncompressed this archive:
keytool -genkey -keystore keys.keytool -alias SweetHome3D

----------------------------------------
Emmanuel Puybaret, Sweet Home 3D creator

Posted by StNff at Mar 25, 2013, 7:56:58 AM
Re: <font><font class=""> Re: Проблема Начиная Электронная версия </font></font>
I'm sorry, all my fault my English, and lack of knowledge about programming.
I constantly have to use the Google translator.
I have a successful build.
But the error is still there (ClassNotFoundException com.eteks.sweethome3d.applet.SweetHome3DApplet).
Could this error cause,
[javac] D:\1\build.xml:43: warning: 'includeantruntime' was not set, defaulting to build.sysclasspath=last; set to f
alse for repeatable builds?

Posted by Puybaret at Mar 25, 2013, 3:42:11 PM
Re: <font><font class=""> Re: Проблема Начиная Электронная версия </font></font>
The ClassNotFoundException means Java didn't find the class, i.e. it wasn't in the jar files you gave, or the jar files are not found.
----------------------------------------
Emmanuel Puybaret, Sweet Home 3D creator

Posted by StNff at Mar 26, 2013, 4:43:28 PM
Re: <font><font class=""> Re: Проблема Начиная Электронная версия </font></font>
I had a warning:
<b>build.xml:43: warning: 'includeantruntime' was not set, defaulting to build.sysclasspath=last; set to false for repeatable builds</b>
So I decided to try Ant 1.7, building failed. I decided to try Ant 1.9 - building successful, but I still have the error ClassNotFoundException com.eteks.sweethome3d.applet.SweetHome3DApplet.

I see no error in the log that generates this error. You may have a different opinion. I therefore complete log.

<b>D:\1>ant javaWebStart
Buildfile: build.xml

build:
[mkdir] Created dir: D:\1\build\classes
[javac] Compiling 2 source files to D:\1\build\classes
[javac] Compiling 193 source files to D:\1\build\classes
[javac] Note: D:\1\src\com\eteks\sweethome3d\swing\JPEGImagesToVideo.java uses or overrides a deprecated API.
[javac] Note: Recompile with -Xlint:deprecation for details.
[javac] Note: Some input files use unchecked or unsafe operations.
[javac] Note: Recompile with -Xlint:unchecked for details.
[copy] Copying 261 files to D:\1\build\classes
[zip] Building zip: D:\1\build\SweetHome3D.jar
[delete] Deleting directory D:\1\build\classes

application:
[zip] Building zip: D:\1\build\SweetHome3DStandalone.jar
[move] Moving 1 file to D:\1\build

furniture:
[zip] Building zip: D:\1\build\Furniture.jar

textures:
[zip] Building zip: D:\1\build\Textures.jar

help:
[zip] Building zip: D:\1\build\Help.jar

jogl-java3d:
[zip] Building zip: D:\1\build\macosx\java3d-1.6\jogl-java3d.jar

BUILD FAILED
D:\1\build.xml:118: Problem creating zip: D:\1\build\macosx\java3d-1.6\jogl-java3d.jar (╤шёЄхьх эх єфрхЄё  эрщЄш єърчрээ
√щ яєЄ№) (and the archive is probably corrupt but I could not delete it)

Total time: 1 minute 13 seconds



D:\1>ant javaWebStart
Buildfile: D:\1\build.xml

build:
[mkdir] Created dir: D:\1\build\classes
[javac] D:\1\build.xml:43: warning: 'includeantruntime' was not set, defaulting to build.sysclasspath=last; set to f
alse for repeatable builds
[javac] Compiling 2 source files to D:\1\build\classes
[javac] D:\1\build.xml:46: warning: 'includeantruntime' was not set, defaulting to build.sysclasspath=last; set to f
alse for repeatable builds
[javac] Compiling 193 source files to D:\1\build\classes
[javac] Note: D:\1\src\com\eteks\sweethome3d\swing\JPEGImagesToVideo.java uses or overrides a deprecated API.
[javac] Note: Recompile with -Xlint:deprecation for details.
[javac] Note: Some input files use unchecked or unsafe operations.
[javac] Note: Recompile with -Xlint:unchecked for details.
[copy] Copying 261 files to D:\1\build\classes
[zip] Building zip: D:\1\build\SweetHome3D.jar
[delete] Deleting directory D:\1\build\classes

application:
[zip] Building zip: D:\1\build\SweetHome3DStandalone.jar
[move] Moving 1 file to D:\1\build

furniture:
[zip] Building zip: D:\1\build\Furniture.jar

textures:
[zip] Building zip: D:\1\build\Textures.jar

help:
[zip] Building zip: D:\1\build\Help.jar

jogl-java3d:
[zip] Building zip: D:\1\build\macosx\java3d-1.6\jogl-java3d.jar

java3dLibraries:
[zip] Building zip: D:\1\deploy\lib\macosx\java3d.jar

javaWebStart:
[mkdir] Created dir: D:\1\build\JNLP-INF
[copy] Copying 1 file to D:\1\build\JNLP-INF
[zip] Building zip: D:\1\deploy\lib\SweetHome3DJavaWebStartBootstrap.jar
[zip] Building zip: D:\1\deploy\lib\SweetHome3D.jar
[delete] Deleting directory D:\1\build
[input] Enter Passphrase for keystore:
111111
[signjar] Signing JAR: D:\1\deploy\lib\Loader3DS1_2u.jar to D:\1\deploy\lib\Loader3DS1_2u.jar as SweetHome3D
[signjar]
[signjar] Warning:
[signjar] The signer certificate will expire within six months.
[signjar] Signing JAR: D:\1\deploy\lib\SweetHome3D.jar to D:\1\deploy\lib\SweetHome3D.jar as SweetHome3D
[signjar]
[signjar] Warning:
[signjar] The signer certificate will expire within six months.
[signjar] Signing JAR: D:\1\deploy\lib\SweetHome3DJavaWebStartBootstrap.jar to D:\1\deploy\lib\SweetHome3DJavaWebStart
Bootstrap.jar as SweetHome3D
[signjar]
[signjar] Warning:
[signjar] The signer certificate will expire within six months.
[signjar] Signing JAR: D:\1\deploy\lib\batik-svgpathparser-1.7.jar to D:\1\deploy\lib\batik-svgpathparser-1.7.jar as S
weetHome3D
[signjar]
[signjar] Warning:
[signjar] The signer certificate will expire within six months.
[signjar] Signing JAR: D:\1\deploy\lib\freehep-vectorgraphics-svg-2.1.1.jar to D:\1\deploy\lib\freehep-vectorgraphics-
svg-2.1.1.jar as SweetHome3D
[signjar]
[signjar] Warning:
[signjar] The signer certificate will expire within six months.
[signjar] Signing JAR: D:\1\deploy\lib\iText-2.1.7.jar to D:\1\deploy\lib\iText-2.1.7.jar as SweetHome3D
[signjar]
[signjar] Warning:
[signjar] The signer certificate will expire within six months.
[signjar] Signing JAR: D:\1\deploy\lib\jmf.jar to D:\1\deploy\lib\jmf.jar as SweetHome3D
[signjar]
[signjar] Warning:
[signjar] The signer certificate will expire within six months.
[signjar] Signing JAR: D:\1\deploy\lib\linux\i386\java3d.jar to D:\1\deploy\lib\linux\i386\java3d.jar as SweetHome3D
[signjar]
[signjar] Warning:
[signjar] The signer certificate will expire within six months.
[signjar] Signing JAR: D:\1\deploy\lib\linux\x64\java3d.jar to D:\1\deploy\lib\linux\x64\java3d.jar as SweetHome3D
[signjar]
[signjar] Warning:
[signjar] The signer certificate will expire within six months.
[signjar] Signing JAR: D:\1\deploy\lib\macosx\java3d.jar to D:\1\deploy\lib\macosx\java3d.jar as SweetHome3D
[signjar]
[signjar] Warning:
[signjar] The signer certificate will expire within six months.
[signjar] Signing JAR: D:\1\deploy\lib\sunflow-0.07.3g.jar to D:\1\deploy\lib\sunflow-0.07.3g.jar as SweetHome3D
[signjar]
[signjar] Warning:
[signjar] The signer certificate will expire within six months.
[signjar] Signing JAR: D:\1\deploy\lib\windows\i386\java3d.jar to D:\1\deploy\lib\windows\i386\java3d.jar as SweetHome
3D
[signjar]
[signjar] Warning:
[signjar] The signer certificate will expire within six months.
[signjar] Signing JAR: D:\1\deploy\lib\windows\x64\java3d.jar to D:\1\deploy\lib\windows\x64\java3d.jar as SweetHome3D

[signjar]
[signjar] Warning:
[signjar] The signer certificate will expire within six months.
[echo] deploy dir ready for ftp

BUILD SUCCESSFUL
Total time: 2 minutes 56 seconds</b>

Posted by Puybaret at Mar 26, 2013, 8:07:32 PM
Re: <font><font class=""> Re: Проблема Начиная Электронная версия </font></font>
Forget warnings, it's not the problem.
----------------------------------------
Emmanuel Puybaret, Sweet Home 3D creator

Posted by StNff at Mar 29, 2013, 6:49:27 AM
Re: <font><font class=""> Re: Проблема Начиная Электронная версия </font></font>
My "SweetHome3DApplet.html" has an entry:

var jars = "lib/SweetHome3DApplet.jar,lib/Loader3DS1_2u.jar,lib/batik-svgpathparser-1.7.jar,lib/jnlp.jar"

But the directory does not contain SweetHome3DApplet.jar
In the folder there SweetHome3D.jar, all right?

Posted by Puybaret at Mar 29, 2013, 9:06:08 AM
Re: <font><font class=""> Re: Проблема Начиная Электронная версия </font></font>
How do you think it could work if you provide SweetHome3D.jar when the applet expects a SweetHome3DApplet.jar file??? I fear you mix up some concepts and try to run an application as an applet, but it won't work this way. sad
Applets and Java applications are not the same even if they can share some classes. Spending more time on learning about applets might help.
----------------------------------------
Emmanuel Puybaret, Sweet Home 3D creator

Posted by StNff at Mar 29, 2013, 11:26:40 AM
Re: <font><font class=""> Re: Проблема Начиная Электронная версия </font></font>
Then please tell me where to get this jar file and why it is missing after a successful build.

Posted by Puybaret at Mar 29, 2013, 12:37:07 PM
Re: <font><font class=""> Re: Проблема Начиная Электронная версия </font></font>
Run "ant applet"
----------------------------------------
Emmanuel Puybaret, Sweet Home 3D creator

Posted by StNff at Mar 31, 2013, 6:33:57 AM
Re: <font><font class=""> Re: Проблема Начиная Электронная версия </font></font>
Thank you very much! You have given me great help! This morning, studying build.xml I myself realized that asking the wrong target when building. Read your reply and smiled my carelessness. Everything works. However, the program has a red body instead of models, there is no icon. I set the parameters as follows:
furnitureCatalogURLs:"catalog/furnitureCatalog.zip,lib/additionalFurnitureCatalog.zip",
furnitureResourcesURLBase:"catalog/models/",
texturesCatalogURLs:"catalog/texturesCatalog.zip",
texturesResourcesURLBase:"catalog/textures/".
I will study the materiel on.

Posted by StNff at Apr 1, 2013, 8:15:46 AM
Re: <font><font class=""> Re: Проблема Начиная Электронная версия </font></font>
Have you encountered such a problem? On some computers do not display a tree of elements and textures, on the other they are available. In what could be the problem? In the version of browser?

Posted by Puybaret at Apr 1, 2013, 10:27:27 AM
Re: <font><font class=""> Re: Проблема Начиная Электронная версия </font></font>
StNff, you ask a lot but don't share that much with the community. It would be nice to present yourself and explain why you need to build a online version of your own.
----------------------------------------
Emmanuel Puybaret, Sweet Home 3D creator

Posted by StNff at Apr 1, 2013, 11:22:24 AM
Re: <font><font class=""> Re: Проблема Начиная Электронная версия </font></font>
I should explain, I have a small furniture factory and I want to be able to make a presentation of my models in this wonderful program.

Posted by Puybaret at Apr 2, 2013, 10:20:09 AM
Re: <font><font class=""> Re: Проблема Начиная Электронная версия </font></font>
By default, the applet comes with no furniture.
You should create a sh3f file for your furniture with the Furniture Library Editor, upload it on your web server, and give its URL in the furnitureCatalogURLs parameter.
----------------------------------------
Emmanuel Puybaret, Sweet Home 3D creator