• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

JAVA_HOME

 
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
Saloon Keeper
Pie
Posts: 15369
40
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