• 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
  • Liutauras Vilda
  • Jeanne Boyarsky
  • Devaka Cooray
  • Paul Clapham
Sheriffs:
  • Tim Cooke
  • Knute Snortum
  • Bear Bibeault
Saloon Keepers:
  • Ron McLeod
  • Tim Moores
  • Stephan van Hulst
  • Piet Souris
  • Ganesh Patekar
Bartenders:
  • Frits Walraven
  • Carey Brown
  • Tim Holloway

jar file problem

 
Ranch Hand
Posts: 35
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
I really don't know in which category to this post, so I thoght this could be the best one.
I have windows xp, java 1.4.1. before i had some java programs in a jar file and use to work when I double-click on it, but no any more, for some reason windows doesn't know wich program to use to run it and ask me to choose one, but I been trying without success, how can I configure again.
thanks
 
Ranch Hand
Posts: 265
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You need to open this file with javaw. This is found in your jdk's /bin directory. In xp, you can click control panel, folder options, then click the file types tab to edit the default program for an extension.
 
Sheriff
Posts: 7023
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
On my system, the specific action is
"G:\Program Files\Java\j2re1.4.2\bin\javaw.exe" -jar "%1" %*
I assume this is the value established by the J2SDK 1.4.2 installation routine.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!