Launch failure: sunflow-0.07.3b.jar

This topic has been viewed 8837 times and has 12 replies
Thread status: Active
Questions about Sweet Home 3D installation [img]http://www.sweethome3d.com/images/flags/en_small.gif[/img]
SW3DFnx
Posts: 6
Joined: Sun Apr 04, 2010 7:35 am
Country: France

Launch failure: sunflow-0.07.3b.jar

Post by SW3DFnx »

Bonjour,

Since end of march 2010, I managed to run SH3D-2.3 once.
I have used SH3D from time to time before without problem.
Since then, I get a failure message after the launch starting with with the following error:

Code: Select all

java.io.FileNotFoundException: http://www.sweethome3d.eu/lib/sunflow-0.07.3b.jar


Any advice to correct this problem ?

---
OS: linux Ubuntu 8.04.4 LTS (Hardy)
User avatar
Puybaret
Posts: 9440
Joined: Mon Nov 07, 2005 12:00 pm
Country: Paris, France
Contact:

Re: Launch failure: sunflow-0.07.3b.jar

Post by Puybaret »

Sorry, I didn't understand whether Sweet Home 3D runs or not on your computer, once the message you mention appears.

For your information, sunflow-0.07.3b.jar library doesn't exist anymore and was replaced by sunflow-0.07.3c.jar in Sweet Home 3D 2.3.
Emmanuel Puybaret, Sweet Home 3D creator
SW3DFnx
Posts: 6
Joined: Sun Apr 04, 2010 7:35 am
Country: France

Re: Launch failure: sunflow-0.07.3b.jar

Post by SW3DFnx »

SH3D-2.2 was starting and ran on my computer

Now, the program is starting, but is not running anymore: I get the welcome display (SweetHome 3D, eteks), and then two windows:
[*]"Java Web Start" and
[*]"Erreur d'application: impossible de lancer l'application"

FYI, I'm lauching the application with the following command:

Code: Select all

/usr/bin/javaws $HOME/SweetHome3D/SweetHome3D.jnlp
User avatar
hansmex
Posts: 4027
Joined: Sat Sep 26, 2009 11:36 am
Country: Netherlands

Re: Launch failure: sunflow-0.07.3b.jar

Post by hansmex »

Why don't you just double-click the program icon?
Hans

new website - under constuction
hansdirkse.info
SW3DFnx
Posts: 6
Joined: Sun Apr 04, 2010 7:35 am
Country: France

Re: Launch failure: sunflow-0.07.3b.jar

Post by SW3DFnx »

To hansmex: The double click calls the same command and causes the exact same behaviour.

I have also tried to reinstall SH3D by clicking on the banner "Lauch SH3D with Java Web Start" on page http://www.sweethome3d.eu/download.jsp but it only brings me the Java official download page.

By the way, the version of javaws installed on my computer is "Java(TM) Web Start 1.6.0_17"
User avatar
hansmex
Posts: 4027
Joined: Sat Sep 26, 2009 11:36 am
Country: Netherlands

Re: Launch failure: sunflow-0.07.3b.jar

Post by hansmex »

SW3DFnx:

Why don't you try an upgrade to Lucid 10.04? It's still a beta, but very stable. When using Ubuntu 8.04 I had problems with outdated video drivers, that were solved after upgrading to 09.10. However, 9.10 wasn't very stable, so I decided to upgrade to 10.04 which you can find here .

SH3D works fine on my computer.

Hans
Hans

new website - under constuction
hansdirkse.info
User avatar
Puybaret
Posts: 9440
Joined: Mon Nov 07, 2005 12:00 pm
Country: Paris, France
Contact:

Re: Launch failure: sunflow-0.07.3b.jar

Post by Puybaret »

"Erreur d'application: impossible de lancer l'application"
Please, click on the Details button, and copy paste here the information shown in the Exception tab (onglet).
Emmanuel Puybaret, Sweet Home 3D creator
SW3DFnx
Posts: 6
Joined: Sun Apr 04, 2010 7:35 am
Country: France

Re: Launch failure: sunflow-0.07.3b.jar

Post by SW3DFnx »

Here is the content of "Exception" tab:

Code: Select all

java.io.FileNotFoundException: http://www.sweethome3d.eu/lib/sunflow-0.07.3b.jar
	at sun.reflect.GeneratedConstructorAccessor2.newInstance(Unknown Source)
	at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
	at java.lang.reflect.Constructor.newInstance(Constructor.java:513)
	at sun.net.www.protocol.http.HttpURLConnection$6.run(HttpURLConnection.java:1368)
	at java.security.AccessController.doPrivileged(Native Method)
	at sun.net.www.protocol.http.HttpURLConnection.getChainedException(HttpURLConnection.java:1362)
	at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1016)
	at com.sun.deploy.net.BasicHttpRequest.doRequest(BasicHttpRequest.java:225)
	at com.sun.deploy.net.BasicHttpRequest.doGetRequestEX(BasicHttpRequest.java:68)
	at com.sun.deploy.net.DownloadEngine.isUpdateAvailable(DownloadEngine.java:910)
	at com.sun.deploy.net.DownloadEngine.isUpdateAvailable(DownloadEngine.java:816)
	at com.sun.deploy.net.DownloadEngine.getResourceCacheEntry(DownloadEngine.java:1536)
	at com.sun.deploy.net.DownloadEngine.getResourceCacheEntry(DownloadEngine.java:1496)
	at com.sun.deploy.net.DownloadEngine.getResource(DownloadEngine.java:217)
	at com.sun.javaws.LaunchDownload.downloadJarFiles(LaunchDownload.java:920)
	at com.sun.javaws.LaunchDownload.downloadEagerorAll(LaunchDownload.java:803)
	at com.sun.javaws.Launcher.downloadResources(Launcher.java:1310)
	at com.sun.javaws.Launcher.prepareLaunchFile(Launcher.java:838)
	at com.sun.javaws.Launcher.prepareToLaunch(Launcher.java:306)
	at com.sun.javaws.Launcher.prepareToLaunch(Launcher.java:183)
	at com.sun.javaws.Launcher.launch(Launcher.java:104)
	at com.sun.javaws.Main.launchApp(Main.java:403)
	at com.sun.javaws.Main.continueInSecureThread(Main.java:250)
	at com.sun.javaws.Main$1.run(Main.java:111)
	at java.lang.Thread.run(Thread.java:619)
Caused by: java.io.FileNotFoundException: http://www.sweethome3d.eu/lib/sunflow-0.07.3b.jar
	at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1311)
	at java.net.HttpURLConnection.getResponseCode(HttpURLConnection.java:373)
	at com.sun.deploy.net.BasicHttpRequest.doRequest(BasicHttpRequest.java:190)
	... 17 more
User avatar
Puybaret
Posts: 9440
Joined: Mon Nov 07, 2005 12:00 pm
Country: Paris, France
Contact:

Re: Launch failure: sunflow-0.07.3b.jar

Post by Puybaret »

Referencing a local file to run javaws doesn't seem to be a good choice, when the remote file changed.
You should run Sweet Home 3D with the command:

Code: Select all

/usr/bin/javaws http://www.sweethome3d.eu/SweetHome3D.jnlp

or replace $HOME/SweetHome3D/SweetHome3D.jnlp by its new version available at http://www.sweethome3d.eu/SweetHome3D.jnlp.
Emmanuel Puybaret, Sweet Home 3D creator
SW3DFnx
Posts: 6
Joined: Sun Apr 04, 2010 7:35 am
Country: France

Re: Launch failure: sunflow-0.07.3b.jar

Post by SW3DFnx »

Merci ! the command:

Code: Select all

/usr/bin/javaws http://www.sweethome3d.eu/SweetHome3D.jnlp

works very well.


Is this a relaible method that can be recommended for all linux users when the link "Lauch SH3D with Java Web Start" on page http://www.sweethome3d.eu/download.jsp doesn't work ?

For Online usage:

Code: Select all

/usr/bin/javaws http://www.sweethome3d.eu/SweetHome3D.jnlp


For Offline usage: In a chosen directory, download firstly the SH3D launch file with (for instance):

Code: Select all

wget http://www.sweethome3d.eu/SweetHome3D.jnlp 

And launch SH3D with the command

Code: Select all

/usr/bin/javaws ./SweetHome3D.jnlp
Post Reply New Topic

Who is online

Users browsing this forum: No registered users and 3 guests