octave-maintainers
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Java


From: marco atzeri
Subject: Re: Java
Date: Sat, 24 Nov 2012 17:04:20 +0100
User-agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:16.0) Gecko/20121026 Thunderbird/16.0.2

On 11/24/2012 3:34 PM, 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
Marco


following 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 ?

Marco


I ran into the same problem. The build finishes after setting
   JAVAC = javac  (not gcj)
   JAR   = jar
in scripts/Makefile

Torsten


neither of the two exist in cygwin

and gcj does not work:

Exception in thread "main" java.lang.NoClassDefFoundError: org.eclipse.jdt.intenal.compiler.batch.GCCMain
   at gnu.java.lang.MainThread.run(Unknown Source)
Caused by: java.lang.ClassNotFoundException: org.eclipse.jdt.internal.compiler.atch.GCCMain not found in gnu.gcj.runtime.SystemClassLoader{urls=[], parent=gnugcj.runtime.ExtensionClassLoader{urls=[], parent=null}}
   at java.net.URLClassLoader.findClass(Unknown Source)
   at java.lang.ClassLoader.loadClass(Unknown Source)
   at java.lang.ClassLoader.loadClass(Unknown Source)
   at gnu.java.lang.MainThread.run(Unknown Source)
Makefile:3370: recipe for target `java/org/octave/ClassHelper.class' failed
make[2]: *** [java/org/octave/ClassHelper.class] Error 1




reply via email to

[Prev in Thread] Current Thread [Next in Thread]