Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.java.programmer > #16207
| Path | csiph.com!usenet.pasdenom.info!news.albasani.net!.POSTED!not-for-mail |
|---|---|
| From | Lew <noone@lewscanon.com> |
| Newsgroups | comp.lang.java.programmer |
| Subject | Re: Execution using javaw differs from Windows 7 default |
| Date | Sat, 21 Jul 2012 23:36:29 -0700 |
| Organization | albasani.net |
| Lines | 37 |
| Message-ID | <jug71d$mmi$2@news.albasani.net> (permalink) |
| References | <ejqi08dqgmucr16mputrt5kco7fkqbg1gg@4ax.com> <8b5bc369-00f2-48ee-b6d7-9119d08ebb41@googlegroups.com> <vnkl081hl6j3voqnrl68pufm0lcf7rr05p@4ax.com> |
| Mime-Version | 1.0 |
| Content-Type | text/plain; charset=UTF-8; format=flowed |
| Content-Transfer-Encoding | 7bit |
| X-Trace | news.albasani.net JVh35qLvj5Mwl41ruvnraoQn9El+AocY0J2KiK5TkGhT0dIY5NPd/KBoGneQ0MGbJLDnxz0uFwAk146+1fse9JfdLUNC5PknqDX+SfKsELGgYT4xMLBTK0CrB0emHqLA |
| NNTP-Posting-Date | Sun, 22 Jul 2012 06:36:29 +0000 (UTC) |
| Injection-Info | news.albasani.net; logging-data="aLc3Vy5PhwBrKTHa3Z2NuSb/k+ZeBfsMcdy1unkSmXmq+osKRd9ZNe1ukK34zGrwqhSEzKn8y2de5xbbQGw0jMNlsP6fBwUXs3qn7xddY320Z1JHwc91lmGBdUSXxrw+"; mail-complaints-to="abuse@albasani.net" |
| User-Agent | Mozilla/5.0 (X11; Linux x86_64; rv:14.0) Gecko/20120714 Thunderbird/14.0 |
| In-Reply-To | <vnkl081hl6j3voqnrl68pufm0lcf7rr05p@4ax.com> |
| Cancel-Lock | sha1:ArShTd6cY5ZRWT/72QBgnA0Irw4= |
| Xref | csiph.com comp.lang.java.programmer:16207 |
Show key headers only | View raw
Gordon Levi wrote: > Lew wrote: >> Gordon Levi wrote: >>> I have an application that uses the JDBC-ODBC driver that worked in >>> the (Netbeans) IDE but failed to find the (Access) database when using >>> the default file association under Windows 7. In the hope of getting >>> some more information I ran the application in a command line window >>> using javaw and it worked. >>> >>> In summary, clicking on a shortcut to "C:\src\myapp\dist\myapp.jar" >>> file in Windows 7 failed because it did not find my database although >>> it invoked myapp. Clicking on a shortcut to >>> "C:\Windows\System32\javaw.exe -jar C:\src\myapp\dist\myapp.jar" >>> works. Can someone explain why? >>> >>> In case it is relevant, I did try the jar file's directory and the >>> database directory for the "Start in:" directory. >> >> Apparently the file association to the JAR files is not "C:\Windows\System32\javaw.exe -jar %1". >> >> What exactly is your associated command for JAR files? > > I think if I knew that "exactly" I might have been able to answer my Then maybe you should find out and answer it. > own question. Window 7 shows it as a pretty Java icon with a > description of "Java(TM) Platform SE binary". I guess you'd better find out how to determine Windows associations. Maybe google it, or ask in a Windows forum. -- 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
Execution using javaw differs from Windows 7 default Gordon Levi <gordon@address.invalid> - 2012-07-21 00:55 +1000
Re: Execution using javaw differs from Windows 7 default Lew <lewbloch@gmail.com> - 2012-07-20 10:52 -0700
Re: Execution using javaw differs from Windows 7 default Roedy Green <see_website@mindprod.com.invalid> - 2012-07-20 21:20 -0700
Re: Execution using javaw differs from Windows 7 default David <usenet1@profectus.com.au> - 2012-07-22 02:16 +1000
Re: Execution using javaw differs from Windows 7 default Roedy Green <see_website@mindprod.com.invalid> - 2012-07-21 16:11 -0700
Re: Execution using javaw differs from Windows 7 default Gordon Levi <gordon@address.invalid> - 2012-07-22 02:11 +1000
Re: Execution using javaw differs from Windows 7 default Andreas Leitgeb <avl@gamma.logic.tuwien.ac.at> - 2012-07-21 16:50 +0000
Re: Execution using javaw differs from Windows 7 default Luuk <luuk@invalid.lan> - 2012-07-21 19:58 +0200
Re: Execution using javaw differs from Windows 7 default Luuk <luuk@invalid.lan> - 2012-07-21 19:56 +0200
Re: Execution using javaw differs from Windows 7 default Lew <noone@lewscanon.com> - 2012-07-21 23:36 -0700
Re: Execution using javaw differs from Windows 7 default Gordon Levi <gordon@address.invalid> - 2012-07-23 01:01 +1000
csiph-web