make serv
ant
make: ant: Opdracht niet gevonden
make: *** [bake] Fout 127
Quote:O.k for that I hat to intall ant
make serv
ant
Unable to locate tools.jar. Expected to find it in /usr/lib/jvm/java-6-sun-1.6.0.26/lib/tools.jar
Buildfile: /home/hendrikus/aelua/wet/build.xml
compile:
[mkdir] Created dir: /home/hendrikus/aelua/wet/.war/WEB-INF/classes
[mkdir] Created dir: /home/hendrikus/aelua/wet/.war/WEB-INF/lib
[javac] Compiling 39 source files to /home/hendrikus/aelua/wet/.war/WEB-INF/classes
BUILD FAILED
/home/hendrikus/aelua/wet/build.xml:117: 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-sun-1.6.0.26/jre"
JDK is Java Development Toolkit? Easy to obtain but on my 64-bit install I had to place it in the x86 and 64bit install paths to get things going for other apps.
make serv
ant
make: ant: Opdracht niet gevonden
make: *** [bake] Fout 127
Quote:O.k for that I hat to intall ant
make serv
ant
Unable to locate tools.jar. Expected to find it in /usr/lib/jvm/java-6-sun-1.6.0.26/lib/tools.jar
Buildfile: /home/hendrikus/aelua/wet/build.xml
compile:
[mkdir] Created dir: /home/hendrikus/aelua/wet/.war/WEB-INF/classes
[mkdir] Created dir: /home/hendrikus/aelua/wet/.war/WEB-INF/lib
[javac] Compiling 39 source files to /home/hendrikus/aelua/wet/.war/WEB-INF/classes
BUILD FAILED
/home/hendrikus/aelua/wet/build.xml:117: 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-sun-1.6.0.26/jre"
Total time: 1 second
make: *** [bake] Fout 1
Quote:I installed javac but it don't help
Gr Ayla
You need to install the JDK to be able to build java apps.
On debian an "aptitude search JDK" will let you see if "default-jdk" is installed.
Fresh install of library's probably will help.
yup thats the one, but it seems the sun jdk is getting phased out so that may cause extra problems...