Get the tools you need to learn Java skills fast!
Video tutorials, eBooks, hands-on lab exercises, sample code.
Get started
The moose likes Tomcat and the fly likes -server option.. Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Badass: Making Users Awesome this week in the Game Development forum!
JavaRanch » Java Forums » Products » Tomcat
Bookmark "-server option.." Watch "-server option.." New topic

-server option..

Tonny Tssagovic
Ranch Hand

Joined: Dec 30, 2003
Posts: 226
Hello folks, I am using tomcat as a service and added the -server option to the registry. Is there a way to check if that has been taken in consideration, I can not really see changes right now, but was curious as how one could figure out if the JVM got it=
Thanks a lot.
William Brogden
Author and all-around good cowpoke

Joined: Mar 22, 2000
Posts: 12910
The java.lang.System class has the getProperties() method that returns a Properties object with lots of information on the current system. I think what you want is the "java.compiler" property, but you can look at all of the values with
System.getProperties().list( System.out );
(I think thats right)
Tonny Tssagovic
Ranch Hand

Joined: Dec 30, 2003
Posts: 226
Thanks for the reply William
I will try that!
I agree. Here's the link:
subject: -server option..