This week's book giveaway is in the Spring forum.
We're giving away four copies of Spring in Action (5th edition) and have Craig Walls on-line!
See this thread for details.
Win a copy of Spring in Action (5th edition) this week in the Spring forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Bear Bibeault
  • Devaka Cooray
  • Liutauras Vilda
  • Jeanne Boyarsky
Sheriffs:
  • Knute Snortum
  • Junilu Lacar
  • paul wheaton
Saloon Keepers:
  • Ganesh Patekar
  • Frits Walraven
  • Tim Moores
  • Ron McLeod
  • Carey Brown
Bartenders:
  • Stephan van Hulst
  • salvin francis
  • Tim Holloway

.jar file association stolen  RSS feed

 
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
Greenhorn
Posts: 5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
There is nothing in the control panel that manages the way certain files are handled?
 
Bartender
Posts: 2856
10
Fedora Firefox Browser Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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 ]
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!