Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.java.programmer > #15756 > unrolled thread
| Started by | "Qu0ll" <Qu0llSixFour@gmail.com> |
|---|---|
| First post | 2012-07-01 10:00 +1000 |
| Last post | 2012-07-01 07:41 -0700 |
| Articles | 17 — 6 participants |
Back to article view | Back to comp.lang.java.programmer
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
| From | "Qu0ll" <Qu0llSixFour@gmail.com> |
|---|---|
| Date | 2012-07-01 10:00 +1000 |
| Subject | JAR file association on Windows 7 broken |
| Message-ID | <LbSdnamHfuv6DnLSnZ2dnUVZ_oqdnZ2d@westnet.com.au> |
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. -- And loving it, -Qu0ll (Rare, not extinct) _________________________________________________ Qu0llSixFour@gmail.com [Replace the "SixFour" with numbers to email me]
[toc] | [next] | [standalone]
| From | Arne Vajhøj <arne@vajhoej.dk> |
|---|---|
| Date | 2012-06-30 20:08 -0400 |
| Message-ID | <4fef94eb$0$282$14726298@news.sunsite.dk> |
| In reply to | #15756 |
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. Arne
[toc] | [prev] | [next] | [standalone]
| From | "Qu0ll" <Qu0llSixFour@gmail.com> |
|---|---|
| Date | 2012-07-01 10:55 +1000 |
| Message-ID | <x8idnd8XbbuJPXLSnZ2dnUVZ_hCdnZ2d@westnet.com.au> |
| In reply to | #15757 |
"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. -- And loving it, -Qu0ll (Rare, not extinct) _________________________________________________ Qu0llSixFour@gmail.com [Replace the "SixFour" with numbers to email me]
[toc] | [prev] | [next] | [standalone]
| From | Lew <noone@lewscanon.com> |
|---|---|
| Date | 2012-06-30 18:23 -0700 |
| Message-ID | <jso8qb$aon$1@news.albasani.net> |
| In reply to | #15759 |
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
[toc] | [prev] | [next] | [standalone]
| From | "Qu0ll" <Qu0llSixFour@gmail.com> |
|---|---|
| Date | 2012-07-01 11:54 +1000 |
| Message-ID | <NtOdnc91F7yQM3LSnZ2dnUVZ_u2dnZ2d@westnet.com.au> |
| In reply to | #15760 |
"Lew" wrote in message news:jso8qb$aon$1@news.albasani.net... [snip] 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. ------------------------------------------ You are such a hard task master Lew. This question may not be directly related to Java _programming_ but it is related to getting Java to work on my machine which is necessary if I want to continue as a Java programmer. Anyway, my Google skills must be a little lacking because I cannot locate any link which tells me how to do this in Windows 7. The File Types tab in Windows Explorer has been removed in Windows 7 and the file type associations option in Control Panel doesn't seem to allow you to specify a command line. -- And loving it, -Qu0ll (Rare, not extinct) _________________________________________________ Qu0llSixFour@gmail.com [Replace the "SixFour" with numbers to email me]
[toc] | [prev] | [next] | [standalone]
| From | Lew <noone@lewscanon.com> |
|---|---|
| Date | 2012-06-30 19:37 -0700 |
| Message-ID | <jsod4j$hbc$1@news.albasani.net> |
| In reply to | #15762 |
Qu0ll wrote: > "Lew" wrote in message news:jso8qb$aon$1@news.albasani.net... > > [snip] > > 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. > > ------------------------------------------ > > You are such a hard task master Lew. This question may not be directly > related to Java _programming_ but it is related to getting Java to work on my > machine which is necessary if I want to continue as a Java programmer. That's not the point, and I'm not a task master at all. I'm simply pointing out that your question is specific to knowledge of Windows, and that this forum is not optimal for that topic. Just because it's related to Java doesn't mean that Java skills will solve it. In this case it takes Windows skills. I am so very deeply sorry to speak simple truth here. I assure you that I did not do it to offend your sensibilities but to suggest a more propitious approach. > Anyway, my Google skills must be a little lacking because I cannot locate any > link which tells me how to do this in Windows 7. The File Types tab in > Windows Explorer has been removed in Windows 7 and the file type associations > option in Control Panel doesn't seem to allow you to specify a command line. I don't know if this'll help or not, but if Windows knowledge doesn't solve your problem sure as Hell is an icy place the cross-platform, independent viewpoint of Java isn't going to do you a spit of good. But since you seem all bent out of shape that I profess not to be an expert in Windows 7 and that a Windows 7-specific forum might improve your chances of a good answer, I felt bad and decided to Google on your behalf. Again, I'm no Windows expert so maybe these links won't help as much as I most abjectly and sincerely hope they will. <http://izt.name/soft/types/> Based on the screenshots at <http://www.winvistaclub.com/t19.html> it looks like Types gives you access to the command line for the association. I apologize but my abjectness and desire to help only extended to five minutes of Internet search on "windows 7 set file associations", but I noted that many of the links from that search seemed quite promising. -- Lew Honi soit qui mal y pense. http://upload.wikimedia.org/wikipedia/commons/c/cf/Friz.jpg
[toc] | [prev] | [next] | [standalone]
| From | "Qu0ll" <Qu0llSixFour@gmail.com> |
|---|---|
| Date | 2012-07-01 12:46 +1000 |
| Message-ID | <XY6dnbomFum1J3LSnZ2dnUVZ_vCdnZ2d@westnet.com.au> |
| In reply to | #15768 |
Reply at the end... "Lew" wrote in message news:jsod4j$hbc$1@news.albasani.net... Qu0ll wrote: > "Lew" wrote in message news:jso8qb$aon$1@news.albasani.net... > > [snip] > > 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. > > ------------------------------------------ > > You are such a hard task master Lew. This question may not be directly > related to Java _programming_ but it is related to getting Java to work on > my > machine which is necessary if I want to continue as a Java programmer. That's not the point, and I'm not a task master at all. I'm simply pointing out that your question is specific to knowledge of Windows, and that this forum is not optimal for that topic. Just because it's related to Java doesn't mean that Java skills will solve it. In this case it takes Windows skills. I am so very deeply sorry to speak simple truth here. I assure you that I did not do it to offend your sensibilities but to suggest a more propitious approach. > Anyway, my Google skills must be a little lacking because I cannot locate > any > link which tells me how to do this in Windows 7. The File Types tab in > Windows Explorer has been removed in Windows 7 and the file type > associations > option in Control Panel doesn't seem to allow you to specify a command > line. I don't know if this'll help or not, but if Windows knowledge doesn't solve your problem sure as Hell is an icy place the cross-platform, independent viewpoint of Java isn't going to do you a spit of good. But since you seem all bent out of shape that I profess not to be an expert in Windows 7 and that a Windows 7-specific forum might improve your chances of a good answer, I felt bad and decided to Google on your behalf. Again, I'm no Windows expert so maybe these links won't help as much as I most abjectly and sincerely hope they will. <http://izt.name/soft/types/> Based on the screenshots at <http://www.winvistaclub.com/t19.html> it looks like Types gives you access to the command line for the association. I apologize but my abjectness and desire to help only extended to five minutes of Internet search on "windows 7 set file associations", but I noted that many of the links from that search seemed quite promising. ----------------------------- No worries and thanks for the links. I am not at all "bent out of shape" and thankfully I have solved the problem by hacking the registry after reading Stefan's post. As markspace also indicated, I am surprised that a simple reinstall of the JRE did not resolve the issue. -- And loving it, -Qu0ll (Rare, not extinct) _________________________________________________ Qu0llSixFour@gmail.com [Replace the "SixFour" with numbers to email me]
[toc] | [prev] | [next] | [standalone]
| From | Lew <noone@lewscanon.com> |
|---|---|
| Date | 2012-06-30 21:52 -0700 |
| Message-ID | <jsol2l$a03$1@news.albasani.net> |
| In reply to | #15769 |
Qu0ll wrote: > No worries and thanks for the links. I am not at all "bent out of shape" and > thankfully I have solved the problem by hacking the registry after reading > Stefan's post. As markspace also indicated, I am surprised that a simple > reinstall of the JRE did not resolve the issue. I am actually very glad you aren't upset. I seriously do think that utility to which I linked shows promise, modulo my ignorance of Windows 7. -- Lew Honi soit qui mal y pense. http://upload.wikimedia.org/wikipedia/commons/c/cf/Friz.jpg
[toc] | [prev] | [next] | [standalone]
| From | Arne Vajhøj <arne@vajhoej.dk> |
|---|---|
| Date | 2012-06-30 21:30 -0400 |
| Message-ID | <4fefa839$0$295$14726298@news.sunsite.dk> |
| In reply to | #15759 |
On 6/30/2012 8:55 PM, 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. http://www.sevenforums.com/tutorials/9154-default-programs-associate-file-type-protocol.html Arne
[toc] | [prev] | [next] | [standalone]
| From | "Qu0ll" <Qu0llSixFour@gmail.com> |
|---|---|
| Date | 2012-07-01 11:55 +1000 |
| Message-ID | <bZWdnWSvN4XPM3LSnZ2dnUVZ_vydnZ2d@westnet.com.au> |
| In reply to | #15761 |
"Arne Vajhøj" wrote in message news:4fefa839$0$295$14726298@news.sunsite.dk... On 6/30/2012 8:55 PM, 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. > http://www.sevenforums.com/tutorials/9154-default-programs-associate-file-type-protocol.html This does not allow you to specify a command line in the association. It seems to be just another way to get to "Open with...". -- And loving it, -Qu0ll (Rare, not extinct) _________________________________________________ Qu0llSixFour@gmail.com [Replace the "SixFour" with numbers to email me]
[toc] | [prev] | [next] | [standalone]
| From | Arne Vajhøj <arne@vajhoej.dk> |
|---|---|
| Date | 2012-06-30 22:16 -0400 |
| Message-ID | <4fefb2ee$0$288$14726298@news.sunsite.dk> |
| In reply to | #15763 |
On 6/30/2012 9:55 PM, Qu0ll wrote: > "Arne Vajhøj" wrote in message > news:4fefa839$0$295$14726298@news.sunsite.dk... > > On 6/30/2012 8:55 PM, 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. > > >> http://www.sevenforums.com/tutorials/9154-default-programs-associate-file-type-protocol.html >> > > This does not allow you to specify a command line in the association. > It seems to be just another way to get to "Open with...". Then back to the command line. assoc and ftype do exist in Windows 7. C:\>ver Microsoft Windows [Version 6.1.7601] C:\>assoc jarfile jarfile=Executable Jar File C:\>ftype jarfile jarfile="C:\Program Files (x86)\Java\jre7\bin\javaw.exe" -jar "%1" %* Arne
[toc] | [prev] | [next] | [standalone]
| From | "Qu0ll" <Qu0llSixFour@gmail.com> |
|---|---|
| Date | 2012-07-01 12:10 +1000 |
| Message-ID | <duKdnXJp8JN_LHLSnZ2dnUVZ_qudnZ2d@westnet.com.au> |
| In reply to | #15756 |
"Stefan Ram" wrote in message news:jarfile-20120701035858@ram.dialup.fu-berlin.de... "Qu0ll" <Qu0llSixFour@gmail.com> writes: >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. On my page http://www.purl.org/stefan_ram/pub/jar , I find: jar.reg = REGEDIT4 [HKEY_CLASSES_ROOT\.jar] @="jarfile" [HKEY_CLASSES_ROOT\jarfile] @="Executable Jar File" [HKEY_CLASSES_ROOT\jarfile\shell] [HKEY_CLASSES_ROOT\jarfile\shell\open] [HKEY_CLASSES_ROOT\jarfile\shell\open\command] @="\"C:\\Programm Files\\Java\\jre1.7.0\\bin\\javaw.exe\" -jar \"%1\" %*" . To use this, you need to be proficient in the Window registry: only use it if you understand every detail and can assess all the risks involved, backup everything before use and use it entirely on your own risk. I also do not claim that it will solve your problem. --------------------------------- Thank you! That solved my problem nicely :-) -- And loving it, -Qu0ll (Rare, not extinct) _________________________________________________ Qu0llSixFour@gmail.com [Replace the "SixFour" with numbers to email me]
[toc] | [prev] | [next] | [standalone]
| From | markspace <-@.> |
|---|---|
| Date | 2012-06-30 19:11 -0700 |
| Message-ID | <jsoblh$l9g$1@dont-email.me> |
| In reply to | #15756 |
On 6/30/2012 5: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. That's weird to me that a reinstall doesn't help. You may have to clean out your registry. (Maybe: uninstall, clean, then reinstall?) But anyway, this link seems to describe how you can set file associations with command line parameters: <http://superuser.com/questions/136133/how-do-i-set-advanced-file-associations-in-windows-7>
[toc] | [prev] | [next] | [standalone]
| From | Roedy Green <see_website@mindprod.com.invalid> |
|---|---|
| Date | 2012-06-30 21:00 -0700 |
| Message-ID | <0oivu7tp6rollaa1l060s5uptiud5fak42@4ax.com> |
| In reply to | #15756 |
On Sun, 1 Jul 2012 10:00:51 +1000, "Qu0ll" <Qu0llSixFour@gmail.com> wrote, quoted or indirectly quoted someone who said : >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 consider that a bug. See http://mindprod.com/jgloss/jar.html#ASSOCIATION -- Roedy Green Canadian Mind Products http://mindprod.com Why do so many operating systems refuse to define a standard temporary file marking mechanism? It could be a reserved lead character such as the ~ or a reserved extension such as .tmp. It could be a file attribute bit. Because they refuse, there is no fool-proof way to scan a disk for orphaned temporary files and delete them. Further, you can't tell where the orhaned files ame from. This means the hard disks gradually fill up with garbage.
[toc] | [prev] | [next] | [standalone]
| From | jayadeep66@gmail.com |
|---|---|
| Date | 2012-06-30 21:13 -0700 |
| Message-ID | <0721076a-e920-40d2-8b3f-9a6a8aa926be@googlegroups.com> |
| In reply to | #15756 |
hi just copy that jar files and paste it on java home/lib folder.and i think u r problem can be resolved.
[toc] | [prev] | [next] | [standalone]
| From | Lew <noone@lewscanon.com> |
|---|---|
| Date | 2012-06-30 21:53 -0700 |
| Message-ID | <jsol4r$a03$2@news.albasani.net> |
| In reply to | #15771 |
On 06/30/2012 09:13 PM, jayadeep66@gmail.com wrote: > hi just copy that jar files and paste it on java home/lib folder.and i think u r problem can be resolved. That doesn't sound like the right approach. You normally don't want to put anything into Java's own lib/ folders. -- Lew Honi soit qui mal y pense. http://upload.wikimedia.org/wikipedia/commons/c/cf/Friz.jpg
[toc] | [prev] | [next] | [standalone]
| From | Roedy Green <see_website@mindprod.com.invalid> |
|---|---|
| Date | 2012-07-01 07:41 -0700 |
| Message-ID | <t7o0v7lkepa75arelti36dsn2k1rd6uctj@4ax.com> |
| In reply to | #15773 |
On Sat, 30 Jun 2012 21:53:50 -0700, Lew <noone@lewscanon.com> wrote, quoted or indirectly quoted someone who said : > >That doesn't sound like the right approach. > >You normally don't want to put anything into Java's own lib/ folders. putting the jar in the ext dir would effectively put the jar on the classpath, I it would not do anything to make xxx.jar on the command line execute the jar. Windows still would not know jars are executable or what executable can process them. See http://mindprod.com/jgloss/jar.html#ASSOCIATION For how to set up the association. -- Roedy Green Canadian Mind Products http://mindprod.com Why do so many operating systems refuse to define a standard temporary file marking mechanism? It could be a reserved lead character such as the ~ or a reserved extension such as .tmp. It could be a file attribute bit. Because they refuse, there is no fool-proof way to scan a disk for orphaned temporary files and delete them. Further, you can't tell where the orhaned files ame from. This means the hard disks gradually fill up with garbage.
[toc] | [prev] | [standalone]
Back to top | Article view | comp.lang.java.programmer
csiph-web