Solved

Java Error: Unable to launch the application

Posted on 2012-03-23
3
1,742 Views
Last Modified: 2012-08-13
I have a Windows 7 Ultimate 64-bit with Java 6 (update 31) 64-bit. I am trying to install the following application:

AndroidScreencast
(androidscreencast.jnlp)

per steps from this website:

http://www.howtogeek.com/howto/42491/how-to-remote-view-and-control-your-android-phone/

When I ran "javaws <jnlp file>" in the command prompt, i got the following error message:

Unable to launch the application

Clicked on Details, and got this:

InvalidArgumentException[ Invalid arguments supplied: {file>, <jnlp }]
      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)

Please help.

Thank you
0
Comment
Question by:k-wow
  • 2
3 Comments
 
LVL 47

Accepted Solution

by:
for_yan earned 500 total points
ID: 37757904
Probably  you litterally ran that:

javaws <jnlp file>


But <jnlp file> should be reaplvce by real .jnlp file


like this:

 javaws file_name.jnlp
0
 
LVL 47

Expert Comment

by:for_yan
ID: 37757914
probably something like taht:
javaws androidscreencast.jnlp
0
 

Author Closing Comment

by:k-wow
ID: 37757925
yes! i literally followed what was on that website. i knew it was something stupid on my side.

Thank you!
0

Featured Post

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Java contains several comparison operators (e.g., <, <=, >, >=, ==, !=) that allow you to compare primitive values. However, these operators cannot be used to compare the contents of objects. Interface Comparable is used to allow objects of a cl…
By the end of 1980s, object oriented programming using languages like C++, Simula69 and ObjectPascal gained momentum. It looked like programmers finally found the perfect language. C++ successfully combined the object oriented principles of Simula w…
Viewers will learn about if statements in Java and their use The if statement: The condition required to create an if statement: Variations of if statements: An example using if statements:
The viewer will learn how to implement Singleton Design Pattern in Java.

679 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question