Anyone using Java with recent MinGW builds?

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

Anyone using Java with recent MinGW builds?

Rik-4
11/18/13

I downloaded a copy of Java for Windows XP and every time I try anything in
Octave (built with MXE) I get a panic and segfault.  Is this something
about the new Java (1.7) from Oracle, or is it with Octave?

--Rik
Reply | Threaded
Open this post in threaded view
|

Re: Anyone using Java with recent MinGW builds?

PhilipNienhuis
Rik-4 wrote
11/18/13

I downloaded a copy of Java for Windows XP and every time I try anything in
Octave (built with MXE) I get a panic and segfault.  Is this something
about the new Java (1.7) from Oracle, or is it with Octave?
What copy of Java did you download & install? A JDK, a JRE?

Here I've built and used Java support with (cross-built) MinGW binaries ever since I figured out how to get Java support cross-compiled in mxe-octave. I described that in the maintainers ML (IIRC somewhere in July).

Don't know if it helps but my octave.mk has been attached.
You'd need to adapt the SHA1 checksum and configure settings. Note that I simply copied the contents of Windows <JAVA_HOME>/include/win32/ to Linux <JAVA_HOME>/include (a kludge, but I think a decent one at that, for the being being). (symlinking from Linux JAVA_HOME to the Windows side didn't work with mxe-octave, I didn't bother to investigate)

Philip
octave.mk