On Mon, Sep 5, 2011 at 9:19 PM, Nit Nit <nit...@gmail.com> wrote: > I have tried this solution (added the -Wl,--kill,-at to the $(MKOCTFILE) in > the Makefile) with Octave-3.4.2 Mingw and I am getting two different issues > on an XP-SP# and on a Win7-x64 systems: > > On the XP-SP3, it seems that it solved the symbols exporting problem and I > am getting no errors, however, when the line: > a = jd.setVisible(1); > > in test_java.m is executed, it doesn't return for some reason until I close > the slider (I don't know whether this is the expected behavior). When I move > the slider and than close it, it seems that the figure is updated.
I get the same behavior. It seems that the java widget is shown modal. As the widget is not embedded into any dialog or window, I have no idea what the SWING framework will do when you try to make a single widget visible. Note that as your script ends with "pkg unload java", modality is not a bad thing ;) > On the Win7-x64, for some reason I can't get my system to recognize the JRE. > When the line: > > java_invoke ("org.octave.ClassHelper", "addClassPath", new_path); > > is executed in by javaaddpath, the following error is printed: > > error: unable to find Java Runtime Environment: software\javasoft\java > runtime environment::Currentversion > > On this system I have installed x64 version of JDK-1.7.0, and I have both > public JRE in my c:\Program Files\Java\jre7 and private JRE in the > jdk1.7.0\jre folder. > I am getting the same behavior on the Win7-x64 system with Octave-3.2.4 and > java pkg as built and released by Benjamin Lindner. Did you re-compile the java package on the Win7-x64 box? If yes, this might be the issue. AFAIK the rest of octave is built for x32 architecture. You then might try to copy the re-compiled version from the x32 platform to the x64 platform, instead of re-compiling on the x64 box. Michael. ------------------------------------------------------------------------------ Special Offer -- Download ArcSight Logger for FREE! Finally, a world-class log management solution at an even better price-free! And you'll get a free "Love Thy Logs" t-shirt when you download Logger. Secure your free ArcSight Logger TODAY! http://p.sf.net/sfu/arcsisghtdev2dev _______________________________________________ Octave-dev mailing list Octave-dev@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/octave-dev