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
ofbiz-init:
build:
[echo] [build] ========== Start Building (Compile) ==========
ofbiz-init:
dir-init:
[mkdir] Created dir: /etc/ofbiz/runtime/logs/test-results
[mkdir] Created dir: /etc/ofbiz/runtime/data/derby
[mkdir] Created dir: /etc/ofbiz/runtime/data/hsql
copy-derby-props:
build:
[echo] [build] ========== Start Building Framework (Compile)
==========
init:
prepare:
[mkdir] Created dir: /etc/ofbiz/framework/start/build/classes
[mkdir] Created dir: /etc/ofbiz/framework/start/build/lib
classes:
[javac16] Compiling 6 source files to
/etc/ofbiz/framework/start/build/classes
BUILD FAILED
/etc/ofbiz/build.xml:183: The following error occurred while executing
this line:
/etc/ofbiz/framework/build.xml:148: The following error occurred while
executing this line:
/etc/ofbiz/macros.xml:27: The following error occurred while executing
this line:
/etc/ofbiz/framework/start/build.xml:37: Unable to find a javac compiler;
com.sun.tools.javac.Main is not on the classpath.
Perhaps JAVA_HOME does not point to the JDK.
It is currently set to "/usr/lib/jvm/java-6-openjdk/jre"
Total time: 1 second
anyone who could give me a bit an idea on how to solve this would be
greatly appreciated.