[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.
- Need for JHandles/Linux tester, Michael Goffioul, 2007/07/03
- RE: [OctDev] Need for JHandles/Linux tester, Bateman David-ADB014, 2007/07/03
- Re: [OctDev] Need for JHandles/Linux tester, Michael Goffioul, 2007/07/03
- Re: [OctDev] Need for JHandles/Linux tester, David Bateman, 2007/07/04
- Re: [OctDev] Need for JHandles/Linux tester, Michael Goffioul, 2007/07/04
- Re: [OctDev] Need for JHandles/Linux tester, Michael Goffioul, 2007/07/05
- Re: [OctDev] Need for JHandles/Linux tester, Paul Kienzle, 2007/07/06
- Re: [OctDev] Need for JHandles/Linux tester,
Michael Goffioul <=
- Re: [OctDev] Need for JHandles/Linux tester, Paul Kienzle, 2007/07/06
- Re: [OctDev] Need for JHandles/Linux tester, Michael Goffioul, 2007/07/07
- Re: [OctDev] Need for JHandles/Linux tester, Paul Kienzle, 2007/07/07
- Re: [OctDev] Need for JHandles/Linux tester, Paul Kienzle, 2007/07/07
- Re: [OctDev] Need for JHandles/Linux tester, Thomas Treichl, 2007/07/07
- Re: [OctDev] Need for JHandles/Linux tester, Michael Goffioul, 2007/07/07
- Re: [OctDev] Need for JHandles/Linux tester, Thomas Treichl, 2007/07/07
- Re: [OctDev] Need for JHandles/Linux tester, Michael Goffioul, 2007/07/07
- Re: [OctDev] Need for JHandles/Linux tester, Thomas Treichl, 2007/07/10
- Re: [OctDev] Need for JHandles/Linux tester, David Bateman, 2007/07/10