Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.java.programmer > #15760
| From | Lew <noone@lewscanon.com> |
|---|---|
| Newsgroups | comp.lang.java.programmer |
| Subject | Re: JAR file association on Windows 7 broken |
| Date | 2012-06-30 18:23 -0700 |
| Organization | albasani.net |
| Message-ID | <jso8qb$aon$1@news.albasani.net> (permalink) |
| References | <LbSdnamHfuv6DnLSnZ2dnUVZ_oqdnZ2d@westnet.com.au> <4fef94eb$0$282$14726298@news.sunsite.dk> <x8idnd8XbbuJPXLSnZ2dnUVZ_hCdnZ2d@westnet.com.au> |
Qu0ll wrote: > "Arne Vajhøj" wrote in message news:4fef94eb$0$282$14726298@news.sunsite.dk... > > On 6/30/2012 8:00 PM, Qu0ll wrote: >> I have somehow managed to break the file association between JAR files >> and Java on Windows 7 such that I can no longer double click on an >> executable JAR file. How can I fix it? Reinstalling the JRE has not >> helped. >> >> I can right click on a JAR file and select Open With and then select >> java.exe but there doesn't seem to be a way to specify that that >> java.exe needs the -jar command line option to run them and so this >> doesn't work. It correctly changes the JAR file icon to the Java icon >> but they still won't open on double click. > > I think it should be javaw and not java. > > And you need to get the command line right. > > http://windowstipoftheday.blogspot.com/2005/10/setting-jar-file-association.html > > https://support.istaria.com/index.php?act=article&code=view&id=55 > > should give some hints. > > ---------------------------------- > > Thanks Arne but unfortunately they didn't solve my problem. The first link > doesn't apply to Windows 7 and both the utility and command in the second link > made no difference (so maybe they don't work in Windows 7 either). So I still > cannot double click on executable JAR files. I think once you have chosen > "Open with..." it sets the association in concrete. In my case it has > remembered an incorrect command and I cannot see any way of overriding it. This is a Windows question, not a Java question. Windows has the ability to associate command lines with an extension, including options. Look up how. "Open with..." is only the common-case shortcut. You need to dig into control-panelish options to go beyond it. GIYF. -- Lew Honi soit qui mal y pense. http://upload.wikimedia.org/wikipedia/commons/c/cf/Friz.jpg
Back to comp.lang.java.programmer | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
JAR file association on Windows 7 broken "Qu0ll" <Qu0llSixFour@gmail.com> - 2012-07-01 10:00 +1000
Re: JAR file association on Windows 7 broken Arne Vajhøj <arne@vajhoej.dk> - 2012-06-30 20:08 -0400
Re: JAR file association on Windows 7 broken "Qu0ll" <Qu0llSixFour@gmail.com> - 2012-07-01 10:55 +1000
Re: JAR file association on Windows 7 broken Lew <noone@lewscanon.com> - 2012-06-30 18:23 -0700
Re: JAR file association on Windows 7 broken "Qu0ll" <Qu0llSixFour@gmail.com> - 2012-07-01 11:54 +1000
Re: JAR file association on Windows 7 broken Lew <noone@lewscanon.com> - 2012-06-30 19:37 -0700
Re: JAR file association on Windows 7 broken "Qu0ll" <Qu0llSixFour@gmail.com> - 2012-07-01 12:46 +1000
Re: JAR file association on Windows 7 broken Lew <noone@lewscanon.com> - 2012-06-30 21:52 -0700
Re: JAR file association on Windows 7 broken Arne Vajhøj <arne@vajhoej.dk> - 2012-06-30 21:30 -0400
Re: JAR file association on Windows 7 broken "Qu0ll" <Qu0llSixFour@gmail.com> - 2012-07-01 11:55 +1000
Re: JAR file association on Windows 7 broken Arne Vajhøj <arne@vajhoej.dk> - 2012-06-30 22:16 -0400
Re: JAR file association on Windows 7 broken "Qu0ll" <Qu0llSixFour@gmail.com> - 2012-07-01 12:10 +1000
Re: JAR file association on Windows 7 broken markspace <-@.> - 2012-06-30 19:11 -0700
Re: JAR file association on Windows 7 broken Roedy Green <see_website@mindprod.com.invalid> - 2012-06-30 21:00 -0700
Re: JAR file association on Windows 7 broken jayadeep66@gmail.com - 2012-06-30 21:13 -0700
Re: JAR file association on Windows 7 broken Lew <noone@lewscanon.com> - 2012-06-30 21:53 -0700
Re: JAR file association on Windows 7 broken Roedy Green <see_website@mindprod.com.invalid> - 2012-07-01 07:41 -0700
csiph-web