Building Java on Windows 7

62,455 pts.
Tags:
Java
Windows 7
I'm having trouble adding Java to my Windows 7 system. I've followed what I believe to be the proper directions. I'm working on Environment Variables within 'System' in the control panel, where I created 2 new variables. This first is for user variables while the second covers system variables. Both are named JAVA_HOME and point to: C:SunSDKjdkbin It doesn't work right and I get the following error message:
BUILD FAILED
C:UsersDerekDesktopeclipseeclipseglassfishsetup.xml:161: The following error  occurred while executing this line:
C:UsersDerekDesktopeclipseeclipseglassfishsetup.xml:141: The following error occurred while executing this line:
C:UsersDerekDesktopeclipseeclipseglassfishsetup.xml:137: Please set java.home to a JDK installation

Total time: 1 second
C:UsersDerekDesktopeclipseeclipseglassfish>libantbinant -f setup.xml
Unable to locate tools.jar. Expected to find it in C:Program FilesJavajre6libtools.jar
Any idea what went wrong or what I should do to fix it?
ASKED: September 10, 2013  5:32 PM
UPDATED: September 10, 2013  8:35 PM

Answer Wiki

Thanks. We'll let you know when a new response is added.
Send me notifications when members answer or reply to this question.

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy

Discuss This Question: 1  Reply

 
There was an error processing your information. Please try again later.
Thanks. We'll let you know when a new response is added.
Send me notifications when members answer or reply to this question.

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy

Forgot Password

No problem! Submit your e-mail address below. We'll send you an e-mail containing your password.

Your password has been sent to:

To follow this tag...

There was an error processing your information. Please try again later.

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy

Thanks! We'll email you when relevant content is added and updated.

Following