Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

.jar Files do not open at all

Tags:

jar

I have been having this problem for the past two years.

I have a .jar file downloaded from the internet. It's supposed to be a rubik's cube timer.

When I double click on this .jar file, nothing happens. If I set .jar files to open with java.exe it opens a command window for a split second, and says:

Error: Could not find or load main class C:User\Dominic\Desktop\PrismaPuzzleTimer0.6.jar

If I set .jar files to open with javaw.exe, my cursor becomes that busy icon for a split second and then nothing will happen.

I have no idea what to do.

My computer is running Windows 7 64 bit. My java is version 7 update 25.

Thanks!

like image 401
Dominic Ling Avatar asked Oct 19 '25 10:10

Dominic Ling


1 Answers

  1. open a command line prompt (in the Start menu type: cmd)
  2. cd to where your jar is: cd \User\Dominic\Desktop
  3. java -jar PrismaPuzzleTimer0.6.jar
like image 153
Magnus Avatar answered Oct 22 '25 04:10

Magnus