|
From: | Daniel J Sebald |
Subject: | Re: Java |
Date: | Mon, 26 Nov 2012 03:16:52 -0600 |
User-agent: | Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.24) Gecko/20111108 Fedora/3.1.16-1.fc14 Thunderbird/3.1.16 |
On 11/24/2012 08:34 AM, Torsten wrote:
On 24.11.2012 09:03, marco atzeri wrote:On 11/24/2012 7:06 AM, marco atzeri wrote:John, just noted that there is no check on the config process to validate the presence of java. On my cygwin ambient, the Java compiler was not present and the build stopped almost at the end. Added it and re-testing. It will be better also to add the possibility of disabling such new functionality, I am not confident about java on cygwin at all. Regards Marcofollowing after installing the gcc-java package. Build stops here ( cd ../../octave/scripts/java; -source 1.3 -target 1.3 -d /pub/hg/octave_build/scripts/java org/octave/ClassHelper.java ) as JAVAC is not defined. For what I can see the gcj compiler have not "-source 1.3 -target 1.3" options Any suggestion ? MarcoI ran into the same problem. The build finishes after setting JAVAC = javac (not gcj) JAR = jar in scripts/Makefile Torsten
I had a similar problem because I didn't have openJDK installed, just the "java" binary. After installing the Fedora openJDK rpm and running Octave configure, JAVAC and JAR were properly defined. If the configuration complained about not have JAVAC and JAR defined, it might save compiling the program then finding out there is a problem with "javac" and "jar" missing from the system.
Dan
[Prev in Thread] | Current Thread | [Next in Thread] |