• Post Reply Bookmark Topic Watch Topic
  • New Topic

JAVA_HOME value  RSS feed

 
Kowshik Nandagudi
Ranch Hand
Posts: 57
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
How do i discover JAVA_HOME property value programatically?
 
Rob Spoor
Sheriff
Posts: 21135
87
Chrome Eclipse IDE Java Windows
  • Likes 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
System.getenv or System.getProperty. Using System.getProperties() you can find out which properties are available so you can see for yourself which one you need.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!