The Artima Developer Community
Sponsored Link

Legacy Java Answers Forum
January 2002



This page contains an archived post to the Java Answers Forum made prior to February 25, 2002. If you wish to participate in discussions, please visit the new Artima Forums.


informing jvm....

Posted by Mukul on January 22, 2002 at 10:24 PM

> Hi Mukul,
> Thanks man. But do you know any other way I can tell jvm this setting. I am running this from a bat file. I want to run the program from coldfusion template.
> Thanks,
> Avijit

This can be done in your application as well.

Here are a few lines of code for doing it...

Properties props = System.getProperties();
props.put("Vicuna", "C:\\vicuna");

This way you do not need to specify it from the command line.


Sponsored Links

Copyright © 1996-2009 Artima, Inc. All Rights Reserved. - Privacy Policy - Terms of Use - Advertise with Us