File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes IDEs, Version Control and other tools and the fly likes What shoud value of JAVA_HOME Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Engineering » IDEs, Version Control and other tools
Bookmark "What shoud value of JAVA_HOME" Watch "What shoud value of JAVA_HOME" New topic

What shoud value of JAVA_HOME

Arun Maalik
Ranch Hand

Joined: Oct 25, 2005
Posts: 216
Dear all

I have just dounload latest NetBean IDE but when i am installing it on my system i am getting following error message as

"JDK 6 or JDK 5 requre for net bean IDE but or set javahome".

But i allready have installed JDK 1.5 and i have set

JAVA_HOME="c:\Program File\Java\jdk1.5";

What to do?


Arun kumar maalik
Pat Farrell

Joined: Aug 11, 2007
Posts: 4659

Its easier, and more robust to download the version of Netbeans that includes the Java JDK, so it sets up all the stuff for you.

go to the sun site.
Sun java netbeans
follow the links to download J2SE and then
the JDK 6 Update 6 with NetBeans 6.1
[ June 21, 2008: Message edited by: Pat Farrell ]
Jesper de Jong
Java Cowboy
Saloon Keeper

Joined: Aug 16, 2005
Posts: 15087

JAVA_HOME="c:\Program File\Java\jdk1.5";

Isn't it "Program Files" with an "s" at the end? And remove the semi-colon.

JAVA_HOME="C:\Program Files\Java\jdk1.5"

Java Beginners FAQ - JavaRanch SCJP FAQ - The Java Tutorial - Java SE 8 API documentation
I agree. Here's the link:
subject: What shoud value of JAVA_HOME
It's not a secret anymore!