Article View: borland.public.jbuilder.java.language
Article #525Re: Printwriter outside JBuilder
From: Magnus
Date: Thu, 16 Jun 2005 20:32
Date: Thu, 16 Jun 2005 20:32
21 lines
2069 bytes
2069 bytes
Right now I create a bat-file in the same dir as my jar-file. --- bat file --- javaw -classpath ".\classes\jdsserver.jar;.\classes\comm.jar;.\MYAPP.jar" myapp.MYAPP --- end --- Lori M Olson [TeamB] wrote: > Magnus wrote: > >>>> Now, copy my jar, db files, etc. to a new directory (test-dir) and >>>> my app sometimes just hang ... I noticed it when trying to read the >>>> serial port since I log what I read. I could not figure it out until >>>> I tested to print a log before and after my init of the reading >>>> process. Nothing is printed. >>>> > > You did not mention exactly how your are invoking your application when > you run it outside JBuilder. How you do this will affect the "current > working directory", which is how relative path references are resolved. >
Technical Details
Message-ID:
<42b1e1cf$1@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!g2news1.google.com!news4.google.com!news3.google.com!news.glorb.com!feeder.enertel.nl!nntpfeed-01.ops.asmr-01.energis-idc.net!216.196.110.149.MISMATCH!border2.nntp.ams.giganews.com!nntp.giganews.com!pe2.news.blueyonder.co.uk!blueyonder!news-peer-test!btnet!newsfeed.bt.es!caladan.landsraad.net!newsgroups.borland.com!not-for-mailReferences:
<42b0a92b@newsgroups.borland.com> <42b0ad74$1@newsgroups.borland.com> <42b0d515@newsgroups.borland.com> <42b1a156$1@newsgroups.borland.com>Show Full Headers
Complete Article Headers
X-Google-Thread: f74b3,ad9f2eda78c91665 X-Google-Attributes: gidf74b3,public X-Google-Language: ENGLISH,ASCII-7-bit Date: Thu, 16 Jun 2005 16:32:27 -0400 From: Magnus <magnus_bjorkman@iwon.com> User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.2) Gecko/20040804 Netscape/7.2 (ax) X-Accept-Language: en-us, en, sv MIME-Version: 1.0 Newsgroups: borland.public.jbuilder.java.language Subject: Re: Printwriter outside JBuilder References: <42b0a92b@newsgroups.borland.com> <42b0ad74$1@newsgroups.borland.com> <42b0d515@newsgroups.borland.com> <42b1a156$1@newsgroups.borland.com> In-Reply-To: <42b1a156$1@newsgroups.borland.com> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit NNTP-Posting-Host: 71.0.99.227 Message-ID: <42b1e1cf$1@newsgroups.borland.com> X-Trace: newsgroups.borland.com 1118953935 71.0.99.227 (16 Jun 2005 13:32:15 -0700) Lines: 21 Path: arc1-ca.pugleaf.net!g2news1.google.com!news4.google.com!news3.google.com!news.glorb.com!feeder.enertel.nl!nntpfeed-01.ops.asmr-01.energis-idc.net!216.196.110.149.MISMATCH!border2.nntp.ams.giganews.com!nntp.giganews.com!pe2.news.blueyonder.co.uk!blueyonder!news-peer-test!btnet!newsfeed.bt.es!caladan.landsraad.net!newsgroups.borland.com!not-for-mail