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:
It doesn't work right and I get the following error message:
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?
Free Guide: Managing storage for virtual environments
Complete a brief survey to get a complimentary 70-page whitepaper featuring the best methods and solutions for your virtual environment, as well as hypervisor-specific management advice from TechTarget experts. Don’t miss out on this exclusive content!