octave-maintainers
[Top][All Lists]
Advanced

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

Re: [OctDev] Need for JHandles/Linux tester


From: Michael Goffioul
Subject: Re: [OctDev] Need for JHandles/Linux tester
Date: Fri, 6 Jul 2007 09:36:21 +0200

On 7/6/07, Paul Kienzle <address@hidden> wrote:
In order to get __java__.cs to compile in extra/java, I needed to
specify an include directory:

       -I/System/Library/Frameworks/JavaVM.framework/Versions/1.5.0/Headers

and a framework:

       -framework JavaVM

Indeed, the configure script is designed for Windows and Linux. It hasn't
been tested on Mac OSX (the above looks like Mac OSX, isn't it?)
A patch for extra/java/src/configure.base is welcome.

I had to sneak the framework line into mkoctfile by defining LFALGS=...
since
-framework is not allowed on the mkoctfile command line.

I guess John would consider a patch as well.

Still not sure if it works.

You can test the java package with the following simple script:

f = java_new('java.awt.Frame');
f.setSize(300,300);
f.show(); % this shows the window
sleep(10);
f.dispose(); % this closes the window

Finally, the jhandles compile is failing with "cannot find symbol Class
Matrix" despite the fact that I have a fully qualified name for
octave.jar on the CLASSPATH.  I don't know enough Java to debug this.

Did you grab the java package from CVS? (this is required). If yes, can you
check that the octave.jar file used at jhandles compilation time contains the
file org/octave/Matrix.class? (a jar file is simply a zip file, you
can inspect it
with "jar" or any zip utility)
If it still does not work, can you report the compilation log?

Michael.


reply via email to

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