Problem with opening .jar files.. but java works?

Associate
Joined
30 Nov 2008
Posts
253
Hi.. not sure if this goes here.. but alright

I have recently updated java to Version 6 Update 24, as well as updating the JDK too, running on Windows Ultimate 32-bit, and all of this was great prior to the installation..

Now, something happened, not sure what, but since then, my .jar files will come up with the error:

Virtual Machine Launcher
Could not find the main class:
C:\Users\Admin\Documents\Misc\etc.jar Program will exit.

Java itself works perfectly on websites and the like, just launching any .jar files results in that error, I've reinstalled java a billion times, cleaned the registry, and right now I uninstalled the JDK too, any ideas?


EDIT: Breakthrough! Turns out I can still activate the file by using command prompt.. but why is this? O.o
 
Last edited:
Hmm, nope, a shortcut doesn't work either, just seems that only command prompt works, anything from windows explorer doesn't work at all. :confused:

Update: I've come across this page: http://social.answers.microsoft.com...s/thread/b4b2c2fb-8634-4d26-bf76-a27cb7e6cbff where some guy has the exact same problem as me, except the problem came out after updating java.

I would follow the steps, however, after the first entry I get the error, despite the file type .jar being associated with the correct .exe:
Access is denied.
Error occurred while processing: .jar.

This is getting quite weird.

Update2: Okay, I managed to get to the elevated cmd prompt, and trying to type in those commands I get THIS:

C:\Windows\system32>assoc .jar=jarfile
The system cannot find message text for message number 0x5 in the message file f
or System.
The system cannot find message text for message number 0x235d in the message fil
e for Application.
 
Last edited:
Back
Top Bottom