Index  | Recent Threads  | List Attachments  | Search
 Welcome Guest  |  Register  |  Login
Login Name  Password
 

Sweet Home 3D Forum



No member browsing this thread
Thread Status: Active
Total posts in this thread: 23
Posts: 23   Pages: 3   [ Previous Page | 1 2 3 | Next Page ]
[ Jump to Last Post ]
Post new Thread
Author
Previous Thread This topic has been viewed 21389 times and has 22 replies Next Thread
StNff
Newbie




Joined: Mar 12, 2013
Post Count: 17
Status: Offline
Reply to this Post  Reply with Quote 
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?
[Mar 25, 2013, 7:56:58 AM] Show Printable Version of Post    View Member Profile    Send Private Message [Link] Report threatening or abusive post: please login first  Go to top 
Puybaret
Expert
Member's Avatar

France
Joined: Nov 7, 2005
Post Count: 9423
Status: Offline
Reply to this Post  Reply with Quote 
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
[Mar 25, 2013, 3:42:11 PM] Show Printable Version of Post    View Member Profile    Send Private Message [Link] Report threatening or abusive post: please login first  Go to top 
StNff
Newbie




Joined: Mar 12, 2013
Post Count: 17
Status: Offline
Reply to this Post  Reply with Quote 
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>
[Mar 26, 2013, 4:43:28 PM] Show Printable Version of Post    View Member Profile    Send Private Message [Link] Report threatening or abusive post: please login first  Go to top 
Puybaret
Expert
Member's Avatar

France
Joined: Nov 7, 2005
Post Count: 9423
Status: Offline
Reply to this Post  Reply with Quote 
Re: <font><font class=""> Re: Проблема Начиная Электронная версия </font></font>

Forget warnings, it's not the problem.
----------------------------------------
Emmanuel Puybaret, Sweet Home 3D creator
[Mar 26, 2013, 8:07:32 PM] Show Printable Version of Post    View Member Profile    Send Private Message [Link] Report threatening or abusive post: please login first  Go to top 
StNff
Newbie




Joined: Mar 12, 2013
Post Count: 17
Status: Offline
Reply to this Post  Reply with Quote 
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?
[Mar 29, 2013, 6:49:27 AM] Show Printable Version of Post    View Member Profile    Send Private Message [Link] Report threatening or abusive post: please login first  Go to top 
Puybaret
Expert
Member's Avatar

France
Joined: Nov 7, 2005
Post Count: 9423
Status: Offline
Reply to this Post  Reply with Quote 
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
[Mar 29, 2013, 9:06:08 AM] Show Printable Version of Post    View Member Profile    Send Private Message [Link] Report threatening or abusive post: please login first  Go to top 
StNff
Newbie




Joined: Mar 12, 2013
Post Count: 17
Status: Offline
Reply to this Post  Reply with Quote 
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.
[Mar 29, 2013, 11:26:40 AM] Show Printable Version of Post    View Member Profile    Send Private Message [Link] Report threatening or abusive post: please login first  Go to top 
Puybaret
Expert
Member's Avatar

France
Joined: Nov 7, 2005
Post Count: 9423
Status: Offline
Reply to this Post  Reply with Quote 
Re: <font><font class=""> Re: Проблема Начиная Электронная версия </font></font>

Run "ant applet"
----------------------------------------
Emmanuel Puybaret, Sweet Home 3D creator
[Mar 29, 2013, 12:37:07 PM] Show Printable Version of Post    View Member Profile    Send Private Message [Link] Report threatening or abusive post: please login first  Go to top 
StNff
Newbie




Joined: Mar 12, 2013
Post Count: 17
Status: Offline
Reply to this Post  Reply with Quote 
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.
[Mar 31, 2013, 6:33:57 AM] Show Printable Version of Post    View Member Profile    Send Private Message [Link] Report threatening or abusive post: please login first  Go to top 
StNff
Newbie




Joined: Mar 12, 2013
Post Count: 17
Status: Offline
Reply to this Post  Reply with Quote 
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?
[Apr 1, 2013, 8:15:46 AM] Show Printable Version of Post    View Member Profile    Send Private Message [Link] Report threatening or abusive post: please login first  Go to top 
Posts: 23   Pages: 3   [ Previous Page | 1 2 3 | Next Page ]
[ Jump to Last Post ]
Show Printable Version of Thread  Post new Thread

  Get Sweet Home 3D at SourceForge.net. Fast, secure and Free Open Source software downloads  
© Copyright 2024 Space Mushrooms - All rights reserved