|
Sweet Home 3D Forum » List all forums » » Forum: Developers » » » Thread: I Compiled Sweet Home 3d and when i excecute the jar file its give a Java Exception |
|
| Print at Dec 19, 2025, 12:58:12 PM | |
| Posted by chicosRV at Feb 21, 2013, 10:08:24 PM |
|
I Compiled Sweet Home 3d and when i excecute the jar file its give a Java Exception I Compiled Sweet Home 3d and when i excecute the jar file its give a Java Exception |
| Posted by Puybaret at Feb 21, 2013, 11:11:56 PM |
|
Re: I Compiled Sweet Home 3d and when i excecute the jar file its give a Java Exception How did you create the jar file? What exception did you get? ---------------------------------------- Emmanuel Puybaret, Sweet Home 3D creator |
| Posted by chicosRV at Feb 22, 2013, 4:23:51 PM |
|
Re: I Compiled Sweet Home 3d and when i excecute the jar file its give a Java Exception I export the proyect as a JAR file with all the files and resources, and put the name of the main class. The proyect is exported but when I try to execute it, it simple says Java Exception ![]() |
| Posted by Puybaret at Feb 22, 2013, 7:05:15 PM |
|
Re: I Compiled Sweet Home 3d and when i excecute the jar file its give a Java Exception As the project needs some DLLs, it can't work the way you did. You should generate a Jar file with the JarExecutable target of the Ant file provided with the project. ---------------------------------------- Emmanuel Puybaret, Sweet Home 3D creator |
| Posted by chicosRV at Feb 26, 2013, 6:46:01 PM |
|
Re: I Compiled Sweet Home 3d and when i excecute the jar file its give a Java Exception sorry but could you write me a step by step of how i could do this, i have never done this before |
| Posted by Puybaret at Feb 26, 2013, 6:50:13 PM |
|
Re: I Compiled Sweet Home 3d and when i excecute the jar file its give a Java Exception Do you use Eclipse? ---------------------------------------- Emmanuel Puybaret, Sweet Home 3D creator |
| Posted by chicosRV at Feb 26, 2013, 7:37:58 PM |
|
Re: I Compiled Sweet Home 3d and when i excecute the jar file its give a Java Exception yes |
| Posted by Puybaret at Feb 26, 2013, 8:12:36 PM |
|
Re: I Compiled Sweet Home 3d and when i excecute the jar file its give a Java Exception - Select build.xml - In its contextual menu, choose Run as > Ant Build... - Select the target named JarExecutable - Click Run - Once finished, you'll find the Jar executable file in the install subdirectory (refresh its content with F5 if necessary) ---------------------------------------- Emmanuel Puybaret, Sweet Home 3D creator |
| Posted by chicosRV at Feb 26, 2013, 8:36:25 PM |
|
Re: I Compiled Sweet Home 3d and when i excecute the jar file its give a Java Exception it give the next error Buildfile: D:\Sylenia\Grupo RV\Workspace\SweetHome3D-3.7-src\build.xml build: [mkdir] Created dir: D:\Sylenia\Grupo RV\Workspace\SweetHome3D-3.7-src\build\classes [javac] Compiling 2 source files to D:\Sylenia\Grupo RV\Workspace\SweetHome3D-3.7-src\build\classes BUILD FAILED D:\Sylenia\Grupo RV\Workspace\SweetHome3D-3.7-src\build.xml:43: Unable to find a javac compiler; com.sun.tools.javac.Main is not on the classpath. Perhaps JAVA_HOME does not point to the JDK. It is currently set to "C:\Program Files\Java\jre7" |
| Posted by Puybaret at Feb 26, 2013, 8:45:58 PM |
|
Re: I Compiled Sweet Home 3d and when i excecute the jar file its give a Java Exception Select a JDK instead of a JRE in the JRE tab of Ant configuration. Don't forget that Google could help you too.... ---------------------------------------- Emmanuel Puybaret, Sweet Home 3D creator |
| Posted by angeliclayer at Feb 23, 2015, 8:26:30 PM |
|
Re: I Compiled Sweet Home 3d and when i excecute the jar file its give a Java Exception Hi, Does anyone have definitive steps for this? I'm experiencing the build fail issue same as chicosRV. If I follow the steps above, I do not see an option to select the JDK instead of JRE. I'm using Eclipse version 4.2 and Eclipse Java Development Tools 3.8.2. Thanks in advance for any advice on this matter. |
| Posted by Puybaret at Feb 24, 2015, 10:20:57 AM |
|
Re: I Compiled Sweet Home 3d and when i excecute the jar file its give a Java Exception In the JRE tab of Ant configuration, click on Install JREs and add a JVM which root directory matches a JDK installed on your computer. ---------------------------------------- Emmanuel Puybaret, Sweet Home 3D creator |
| Posted by angeliclayer at Feb 24, 2015, 6:28:35 PM |
|
Re: I Compiled Sweet Home 3d and when i excecute the jar file its give a Java Exception Thank you so much! I have solved it now. It was for a very final year project so I'm very thankful for the fast response. :) |
| Posted by Puybaret at Feb 26, 2015, 5:42:40 PM |
|
Re: I Compiled Sweet Home 3d and when i excecute the jar file its give a Java Exception Great you could make it. ![]() Would it be possible that you share with the community what your project was about? ---------------------------------------- Emmanuel Puybaret, Sweet Home 3D creator |
| Posted by angeliclayer at Mar 8, 2015, 12:31:16 AM |
|
Re: I Compiled Sweet Home 3d and when i excecute the jar file its give a Java Exception Sure! I'm doing my dissertation about this software to help Occupational Therapy patients during the pre-discharge home visit assessment. I'm currently just improving on someone else's plugin but also needed to improve on some of the UI to allow for people who aren't very dexterous to be able to use the software. I have also tried adding the to the furniture catalogue a few occupational therapy items by default. I'm currently unable to share this at the moment because the plug-in (other than the changes I've made) isn't mine but I'll gladly share what I've coded myself (after I've submitted my work) :D |
|
|
Current timezone is GMT Dec 19, 2025, 12:58:12 PM |