I just had a similar experience. I'm going to guess that you already had the Open-JDK installed, but then later installed the Sun JDK. If not, install the Sun JDK.
After you have installed the Sun JDK, you'll need to set the variable JAVA_HOME. You can do so by finding the location of the Java installation (usually /usr/lib/jvm/java, but mine was /usr/lib/jvm/java-1.6.10 [or something similar]). Then, open up the file */etc/bash.bashrc as root and append to the end: [by the way, if you have gedit, you can do this by typing sudo /etc/bash.bashrc in a terminal] * JAVA_HOME=/path/to/java/installation (actually put in your path here) export JAVA_HOME PATH=$PATH:$JAVA_HOME/bin export PATH Save, reboot your computer, and retry the installation. If you're using Ubuntu and installing thru xterm with the official JDK, expect the application to take about 16 minutes to compile. On Mon, Jan 31, 2011 at 2:31 PM, Erwan de FERRIERES < [email protected]> wrote: > Le 31/01/2011 21:25, Kenneth G. Bice a écrit : > > Hello, >> >> I am new to ofbiz and am having some trouble with installation. >> I installed the jdk on my machine but it seems like ofbiz is expecting >> everything to be in one place and its not there, here is the out from my >> install attempt: >> >> >> $ sudo ./ant run-install run >> Unable to locate tools.jar. Expected to find it in >> /usr/lib/jvm/java-6-openjdk/lib/tools.jar >> Buildfile: build.xml >> >> > you should try with the sun jdk. > > Cheers, > > > -- > Erwan de FERRIERES > www.nereide.biz > -- Matthew Gonzales Sales Associate Remark Imaging http://www.remarkimaging.com p. 888-688-3336 c. 920-385-9289 f. 920-233-2478 e. [email protected]
