Skip to Main Content

New to Java

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Unable to lauch a .jar file

843785Sep 24 2008 — edited Sep 24 2008
Hello,

My PC is on Vista SP1 and java is installed :

C:\java -version
java version "1.6.0_07"
Java(TM) SE Runtime Environment (build 1.6.0_07-b06)
Java HotSpot(TM) Client VM (build 10.0-b23, mixed mode, sharing)

When I try to open a .jar file - by double click on the file in Explorer or putting the file directly on the IE browser -
the window "Java starting" appears follow by a second one with the error message "Unable to lauch application"
("Impossible de lancer l'application" in french)

In the dtails i can read :

Exception :

CouldNotLoadArgumentException[ Impossible de charger le fichier/l'URL spcifi : C:\Users\Sad\AppData\Local\Temp\javaws11]
at com.sun.javaws.Main.launchApp(Unknown Source)
at com.sun.javaws.Main.continueInSecureThread(Unknown Source)
at com.sun.javaws.Main$1.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)

Exception boucle :

java.io.IOException: File too large
at com.sun.javaws.jnl.LaunchDescFactory.buildDescriptor(Unknown Source)
at com.sun.javaws.Main.launchApp(Unknown Source)
at com.sun.javaws.Main.continueInSecureThread(Unknown Source)
at com.sun.javaws.Main$1.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)

It is very strange while I'm sure java is installed and work on my computer

I have an other java application wich run well but I need to use the strange shortcut created by the install programm to lauch it

This shortcut is : C:\Windows\System32\javaws.exe "C:\Users\Utilisateur\AppData\LocalLow\Sun\Java\Deployment\cache\6.0\36\db05364-3205c125"

But I need to be able to open other single .jar files directly by clicking on it in Explorer or by an other way

I really don't know what happens or what to do for that

So I thank you i advance for your answers

Dominique in Geneva
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Oct 22 2008
Added on Sep 24 2008
3 comments
1,160 views