RE: Tomcat path

"Tommy Kalafut" <[email protected]>
Newsgroups gmane.text.xml.soap.user
Message-ID <[email protected]>
Look at the java command line option -D

 

H:\>java -help

Usage: java [-options] class [args...]

           (to execute a class)

   or  java [-options] -jar jarfile [args...]

           (to execute a jar file)

 

where options include:

    -client       to select the "client" VM

    -server       to select the "server" VM

    -hotspot      is a synonym for the "client" VM  [deprecated]

                  The default VM is client.

 

    -cp <class search path of directories and zip/jar files>

    -classpath <class search path of directories and zip/jar files>

                  A ; separated list of directories, JAR archives,

                  and ZIP archives to search for class files.

    -D<name>=<value>

                  set a system property

    -verbose[:class|gc|jni]

                  enable verbose output

    -version      print product version and exit

    -showversion  print product version and continue

    -? -help      print this help message

    -X            print help on non-standard options

    -ea[:<packagename>...|:<classname>]

    -enableassertions[:<packagename>...|:<classname>]

                  enable assertions

    -da[:<packagename>...|:<classname>]

    -disableassertions[:<packagename>...|:<classname>]

                  disable assertions

    -esa | -enablesystemassertions

                  enable system assertions

    -dsa | -disablesystemassertions

                  disable system assertions

 

Tom

 

Tom Kalafut
Interchange Crew Member
Trident Systems, Inc.
[email protected]
(703)691-7798

 

-------------------------

The opinions expressed in this email may not necessarily reflect the
opinions of Trident Systems, Inc.

  _____  

size=2 width="100%" align=center tabindex=-1> 

From: Francesco Dipalo [mailto:[email protected]] 
Sent: Monday, November 22, 2004 10:44 AM
To: [email protected]
Subject: Tomcat path

 

I need a java command to take the CATALINA_HOME environment variable in a
string. How can I do? 

TIA
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.