High priority Problem of executing the source code on eclipse

This topic has been viewed 14083 times and has 14 replies
Thread status: Active
Questions about Sweet Home 3D installation [img]http://www.sweethome3d.com/images/flags/en_small.gif[/img]
choppyleo
Posts: 21
Joined: Wed Jul 23, 2014 11:10 am
Country: Yaounde, Cameroon

Problem of executing the source code on eclipse

Post by choppyleo »

I followed the instructions on Readme but when I executed the program I obtain the error messages as shown below. Can someone advice me on what to do at this stage

Exception in thread "main" java.io.FileNotFoundException : -Djava.ext.dirs=C:\Windows\System32\lib\windows\i386;lib (La syntaxe du nom de fichier, de répertoire ou de volume est incorrecte)
at java.io.FileInputStream.open (Native Method )
at java.io.FileInputStream.<init>(Unknown Source)
at java.io.FileInputStream.<init>(Unknown Source)
at org.freehep.util.io.ASCII85InputStream.main
(ASCII85InputStream.java:147 )
User avatar
Puybaret
Posts: 9440
Joined: Mon Nov 07, 2005 12:00 pm
Country: Paris, France
Contact:

Re: Problem of executing the source code on eclipse

Post by Puybaret »

You mixed up "Program arguments" and "VM arguments" in eclipse run configuration.
Emmanuel Puybaret, Sweet Home 3D creator
choppyleo
Posts: 21
Joined: Wed Jul 23, 2014 11:10 am
Country: Yaounde, Cameroon

Re: Problem of executing the source code on eclipse

Post by choppyleo »

Thanks, I have corrected that and now seeing this:

Usage: ASCII85InputStream filename
sree.arun.kr
Posts: 137
Joined: Mon Oct 28, 2013 6:30 pm
Country: Kerala, Kerala, INDIA

Re: Problem of executing the source code on eclipse

Post by sree.arun.kr »

Can you explain how to build runnable jar (sweethome3d.jar=2.55MB)or an exicutable jar(sweethome3D.jar=22MB)or sunflow.jar-0.07.3i?.
[* Don't know about programming not only java but downloaded apache-tomcat7.0.zip +ant1.94.zip +JDK1.7 but next step ...? ]
Intreasted to learn and tweak. [O:)]
Thanks in advance. [=D>]
Image
choppyleo
Posts: 21
Joined: Wed Jul 23, 2014 11:10 am
Country: Yaounde, Cameroon

Re: Problem of executing the source code on eclipse

Post by choppyleo »

I think I know how to creat that but I don't know how your reply is helpful to my question. Thanks
sree.arun.kr
Posts: 137
Joined: Mon Oct 28, 2013 6:30 pm
Country: Kerala, Kerala, INDIA

Re: Problem of executing the source code on eclipse

Post by sree.arun.kr »

Importing source and editing java code is success then now looking for a 10-20 step tutorial from a developer/programmer.
All kinds of tips are welcome. [=D>]
Image
choppyleo
Posts: 21
Joined: Wed Jul 23, 2014 11:10 am
Country: Yaounde, Cameroon

Re: Problem of executing the source code on eclipse

Post by choppyleo »

Please sree.arun.kr I don't get clearly what you are driving at cos I asked a question and maybe I don't understand you but I still don't see how your reply helpful to my question on trying to execute sh3d on eclipse. Thanks
sree.arun.kr
Posts: 137
Joined: Mon Oct 28, 2013 6:30 pm
Country: Kerala, Kerala, INDIA

Re: Problem of executing the source code on eclipse

Post by sree.arun.kr »

Question is simple
When I get the SH3D sourcecode then how to build a jar application using Eclipse.?
If you are successfull to create a sweethome3d.jar then share the methods you used.
Thats it. [=D>]
Image
choppyleo
Posts: 21
Joined: Wed Jul 23, 2014 11:10 am
Country: Yaounde, Cameroon

Re: Problem of executing the source code on eclipse

Post by choppyleo »

If you have already imported the source code on eclipse(but if not then follow the step of the Readme file).
After doing so then follow the steps on then site: http://www.wikihow.com/Create-an-Execut ... om-Eclipse

Good Luck
sree.arun.kr
Posts: 137
Joined: Mon Oct 28, 2013 6:30 pm
Country: Kerala, Kerala, INDIA

Re: Problem of executing the source code on eclipse

Post by sree.arun.kr »

Sourcecode importing and editing is done but exporting an exicutable jar is not enough successfull. Looks it need more tutorial about scripting. Anyway thanks for your help.(Your link is I already covered but thank you once again for sharing). Have a nice scripting[:)>-]
Image
Post Reply New Topic

Who is online

Users browsing this forum: No registered users and 1 guest