Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

Java Error: Unable to launch the application

Posted on 2012-03-23
3
Medium Priority
?
1,957 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 2000 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

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

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…
Introduction Java can be integrated with native programs using an interface called JNI(Java Native Interface). Native programs are programs which can directly run on the processor. JNI is simply a naming and calling convention so that the JVM (Java…
Viewers learn about the third conditional statement “else if” and use it in an example program. Then additional information about conditional statements is provided, covering the topic thoroughly. Viewers learn about the third conditional statement …
Viewers learn about the “for” loop and how it works in Java. By comparing it to the while loop learned before, viewers can make the transition easily. You will learn about the formatting of the for loop as we write a program that prints even numbers…
Suggested Courses

824 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