Closed pbosetti closed 10 years ago
You need the openjdk installed on the build machine
I guess it is:
$ dpkg --get-selections | grep jdk
openjdk-6-jre:amd64 install
openjdk-6-jre-headless:amd64 install
openjdk-6-jre-lib install
openjdk-7-jdk:amd64 install
openjdk-7-jre:amd64 install
openjdk-7-jre-headless:amd64 install
openjdk-7-jre-lib install
Do I miss something?
Uhm... could it be that your "java" binary is pointing to the jre version? I'm insisting because wehn we had that problem on the build server, installing openjdk-6-jdk solved it
Thanks. I apt-get installed the openjdk-6-jdk package and it worked. So apparently It needs Java 6 and does not build if only Java 7 JDK is installed. I think you can close this issue, and perhaps add that package to the list of the required packages on the arduino.cc playground page that describes how to build the Yùn image.
When building under Debian 7 I get the following error message:
checking if java works... configure: error: The Java VM java failed (see config.log, check the CLASSPATH?)
What should I set in the CLASSPATH var?