• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

-server option..

 
Tonny Tssagovic
Ranch Hand
Posts: 226
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Rancher
Posts: 13064
6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 226
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks for the reply William
I will try that!
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic