This week's book giveaway is in the Java 8 forum.
We're giving away four copies of Java 8 in Action and have Raoul-Gabriel Urma, Mario Fusco, and Alan Mycroft on-line!
See this thread for details.
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


Win a copy of Java 8 in Action this week in the Java 8 forum!
JavaRanch » Java Forums » Java » Beginning Java
Bookmark ".jar file association stolen" Watch ".jar file association stolen" New topic
Author

.jar file association stolen

Avtar Khalsa
Greenhorn

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
Greenhorn

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

Joined: Jun 06, 2007
Posts: 2713
    
    5

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 ]

SCJP, SCWCD.
|Asking Good Questions|
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: .jar file association stolen
 
Similar Threads
executable jar help
Jar file doesn't work
JAR and filesystem
Unable to run a .JAR as a windows Scheduled Task
Printing data using Java in Linux/Unix