Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.java.programmer > #16159

Re: Execution using javaw differs from Windows 7 default

Path csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!news.glorb.com!npeer01.iad.highwinds-media.com!news.highwinds-media.com!feed-me.highwinds-media.com!postnews.google.com!glegroupsg2000goo.googlegroups.com!not-for-mail
From Lew <lewbloch@gmail.com>
Newsgroups comp.lang.java.programmer
Subject Re: Execution using javaw differs from Windows 7 default
Date Fri, 20 Jul 2012 10:52:14 -0700 (PDT)
Organization http://groups.google.com
Lines 22
Message-ID <8b5bc369-00f2-48ee-b6d7-9119d08ebb41@googlegroups.com> (permalink)
References <ejqi08dqgmucr16mputrt5kco7fkqbg1gg@4ax.com>
NNTP-Posting-Host 69.28.149.29
Mime-Version 1.0
Content-Type text/plain; charset=ISO-8859-1
X-Trace posting.google.com 1342806735 25255 127.0.0.1 (20 Jul 2012 17:52:15 GMT)
X-Complaints-To groups-abuse@google.com
NNTP-Posting-Date Fri, 20 Jul 2012 17:52:15 +0000 (UTC)
In-Reply-To <ejqi08dqgmucr16mputrt5kco7fkqbg1gg@4ax.com>
Complaints-To groups-abuse@google.com
Injection-Info glegroupsg2000goo.googlegroups.com; posting-host=69.28.149.29; posting-account=CP-lKQoAAAAGtB5diOuGlDQk0jIwmH0T
User-Agent G2/1.0
X-Received-Bytes 1973
Xref csiph.com comp.lang.java.programmer:16159

Show key headers only | View raw


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 &quot;C:\src\myapp\dist\myapp.jar&quot;
> 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?

-- 
Lew

Back to comp.lang.java.programmer | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


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