From: <gdx...@ho...> - 2006-03-27 07:04:38
|
Do a "cd" before launch is a good idea, it works. Thank you very much:) >From: Timothy Wall <tw...@us...> >To: Abbot Users <abb...@li...> >CC: gdx...@us... >Subject: Re: [abbot - Help] How to set VM arguments before app launch? >Date: Fri, 24 Mar 2006 06:40:06 -0500 > >I don't know if it's been fixed yet, but not being able to have the >setting of user.dir affect the whole of the VM is a bug in Sun's >system. You'd be better off to do a "cd" in your batch file prior >to launch. > >On Mar 24, 2006, at 5:46 AM, SourceForge.net wrote: > >> >>Read and respond to this message at: >>https://sourceforge.net/forum/message.php?msg_id=3648566 >>By: gdxuanyun >> >>I just want to set the user.dir argument for VM, I've try two >>methods, but they >>don't work: >>(1)I modified the batch file for vm startup: >>java -Duser.dir=C:\myApp -jar C:\abbot\lib\abbot.jar >>But it did not work, my app can not get the value; >>(2)I used separated VM to run my app, and set the addictional vm >>args to >>"-Duser.dir=C:\myApp" >>But it still not work. >>Who knows the answer? Please help me... Thanks >> >>______________________________________________________________________ >>You are receiving this email because you elected to monitor this >>forum. >>To stop monitoring this forum, login to SourceForge.net and visit: >>https://sourceforge.net/forum/unmonitor.php?forum_id=168262 >> > >Timothy Wall >http://abbot.sf.net > > |