It's not a secret anymore!
The moose likes Beginning Java and the fly likes .jar file association stolen Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Beginning Java
Bookmark ".jar file association stolen" Watch ".jar file association stolen" New topic

.jar file association stolen

Avtar Khalsa

Joined: Jul 02, 2008
Posts: 3
Hey guys, I am new to Java after having spent about 5 years in web development. I seem to have accidentally told windows to associate .jar files with something other than java, and now I can't get it back. If I run a .jar from the command line using java -jar it works just fine. I tried reinstalling the JRE and it didn't help, and jarfix said it couldnt find a runtime environment, even though when i run java programs from the command line they work just fine. My system is a vista 64 bit system (which im guessing is playing some role in the problem) Thanks for the help
Joseph Fisher

Joined: Jun 09, 2008
Posts: 5
There is nothing in the control panel that manages the way certain files are handled?
Amit Ghorpade

Joined: Jun 06, 2007
Posts: 2851

Hi Avtar Khalsa welcome to Javaranch,
there is nothing wrong with your system just change the file association for .jar extension. You can do this by right clicking the jar file and clicking the open with button.
And yes just take a glance of the Ask Good Questions link below.

Hope this helps .
[ July 03, 2008: Message edited by: Amit Ghorpade ]

|Asking Good Questions|
I agree. Here's the link:
subject: .jar file association stolen
It's not a secret anymore!