The Artima Developer Community
Sponsored Link

Legacy Java Answers Forum
January 2002

Advertisement

Advertisement

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.

Message:

java -d option

Posted by Avijit on January 22, 2002 at 2:25 AM

Hi,
I want to know why sometimes we need -d option when executing java class from comand prompt? Is there any other way to handle it? I have a java class which I need to run from command prompt as:
C:/>java -DVicuna=c:\vicuna DisplayInfo
If I ommit -DVicuna, the application does not run. Why? Is there any other way?
Thanks,
Avijit



Replies:

Sponsored Links



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