google-sites-liberation
google-sites-liberation copied to clipboard
Cannot execute .jar file from command line or by double-clicking in Windows XP
What steps will reproduce the problem?
1. I double-clicked the file, google-sites-liberation-1.0.1.jar. A
quick "hour glass" appears, then nothing happens, but javaw.exe is running
in the back ground according to Task Manager.
2. From DOS command line, I run the following command:
java -jar google-sites-liberation-1.0.1.jar
Again, the same result. Nothing happens, but java.exe is running in the
background.
3. From DOS command line, I run the following command:
javaw -jar google-sites-liberation-1.0.1.jar
Again, the same result. Nothing happens, but javaw.exe is running in
the background.
What is the expected output? What do you see instead?
I expected to see the Google Sites Import/Export Tool window, but instead
I see nothing.
What version of the product are you using? On what operating system?
I am using the latest file, google-sites-liberation-1.0.1.jar. Also, I
have the latest Java software installed, Version 6, Update 17. I am
having this same problem on two different computers. One PC is running
Windows XP Professional and the other is running Windows XP Media Center
Edition.
Please provide any additional information below.
I've been searching for two hours on the web for a solution. It seems
that many people have had the same or similar problem for at least 6
years, but I cannot find a recommended solution that works for me.
Original issue reported on code.google.com by [email protected]
on 20 Nov 2009 at 2:53
I am running Java version 6, update 17.
Java Version 1.6.0_17 from Sun Microsystems Inc.
Original comment by [email protected]
on 21 Nov 2009 at 12:05
I was able to find a work-around for this issue. If I run something that uses
java
first, then I can execute the .jar file from the command-line only (but still
not by
double-clicking the file). The key is, I must have java running BEFORE I try
to
execute the .jar file.
Original comment by [email protected]
on 30 Nov 2009 at 8:09
Welcome to Java. Java for GUI applications has never worked well, not that it
*can't* work well, it just has never been anything but headaches for me.
You can try right-clicking the file and choosing "Open With..." if it that
option
exists and then "Java (something)" if that option exists.
Original comment by [email protected]
on 23 Dec 2009 at 4:53