This week's book giveaway is in the Kotlin forum.
We're giving away four copies of Kotlin in Action and have Dmitry Jemerov & Svetlana Isakova on-line!
See this thread for details.
Win a copy of Kotlin in Action this week in the Kotlin forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

JAVA_HOME  RSS feed

 
rama murthy
Ranch Hand
Posts: 82
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Why we need to set this variable? (I hope this is an environment variable just like path and classpath).
 
Jesper de Jong
Java Cowboy
Sheriff
Posts: 16028
87
Android IntelliJ IDE Java Scala Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Yes, it is an environment variable just like PATH and CLASSPATH.

You don't need to set it to be able to use the JDK. See the JDK installation instructions - it doesn't say anything about JAVA_HOME.

Some programs (for example Ant and Tomcat) find the JDK by looking at the environment variable JAVA_HOME, so you might need to set it if you want to use those programs.
 
rama murthy
Ranch Hand
Posts: 82
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks Jesper.

I got one more question. Do all these environment variables like path, classpath,java_home has to be set using capital letters. If so why?
 
Jeroen T Wenting
Ranch Hand
Posts: 1847
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
convention.
Some operating systems are case sensitive, and in the past many would use capitals only.
 
Zakir Hossain
Ranch Hand
Posts: 38
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hi

u can go to www.jcreator.com
and get Java Creator as it is same like visual studio
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!