Joined: Mar 12, 2013
Post Count: 17
Status:
Offline
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?
France
Joined: Nov 7, 2005
Post Count: 9423
Status:
Offline
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
Joined: Mar 12, 2013
Post Count: 17
Status:
Offline
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>
France
Joined: Nov 7, 2005
Post Count: 9423
Status:
Offline
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. 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
Joined: Mar 12, 2013
Post Count: 17
Status:
Offline
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.
Joined: Mar 12, 2013
Post Count: 17
Status:
Offline
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?