John John
John John

Reputation: 1

Can not start java web start

I have typed javaws url_of_jnlp in my CMD under windows 7, but i got the following error:-

CouldNotLoadArgumentException[ Could not load file/URL specified: url_of_jnlp]
    at com.sun.javaws.Main.launchApp(Unknown Source)
    at com.sun.javaws.Main.continueInSecureThread(Unknown Source)
    at com.sun.javaws.Main.access$000(Unknown Source)
    at com.sun.javaws.Main$1.run(Unknown Source)
    at java.lang.Thread.run(Thread.java:722)

I have noticed this problem since i need java web start to be able to run an application, but when i tired to run this application , i will be asked to save a file named webstart.jnlp , instead of automatically lunching the java web start.

So what might be the problem?

Upvotes: 0

Views: 10936

Answers (2)

sorifiend
sorifiend

Reputation: 6307

You need to replace url_of_jnlp with the actual url of the jnlp file of the application.

This will not work: javaws url_of_jnlp

This will work: javaws "C:\..[Path to folder]..\My_Application.jnlp"

You should really have found this info yourself, it is available at the bottom of this page: http://www.java.com/en/download/faq/java_webstart.xml

See this page for info on command line options for javaws: http://docs.oracle.com/javase/1.5.0/docs/guide/javaws/developersguide/javaws.html

Upvotes: 1

Harish Raj
Harish Raj

Reputation: 1575

Check the following links to make sure everything is perfect in your setup.

Common Java Web Start Problems

Deploying Java Web Start Applications

Hope it helps.

Upvotes: 0

Related Questions