Results 1 to 2 of 2

Thread: Java_home

  1. #1
    ravian is offline Senior Member
    Join Date
    Nov 2007
    Posts
    115
    Rep Power
    0

    Default Java_home

    Why we should set JAVA_HOME environment variable? I haven't set it and do Java development in Eclipse and everything runs fine. When we should set it?

    Cheers

  2. #2
    wsaryada is offline Senior Member
    Join Date
    Jun 2007
    Location
    Bali, Indonesia
    Posts
    760
    Rep Power
    8

    Default

    The JAVA_HOME variable maybe used by some application or application server so they know where you installed you Java library or JRE. If you don't define it they might complained that they cannot locate Java in your computer.

    The Eclipse platform that you have must already have the JDK in it so you can just do the programming in it. And if you have more than one JDK on your system you can register it in eclipse and choose which one to use.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •