help-octave
[Top][All Lists]
Advanced

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

Re: Java package install seems to be ok, but is NOT working.


From: address@hidden
Subject: Re: Java package install seems to be ok, but is NOT working.
Date: Fri, 11 Jan 2013 13:17:26 +0100 (CET)

Herdon <address@hidden> hat am 11. Januar 2013 um 08:17 geschrieben:
> I have Windows XP sp3 32 bit and Octave 3.6.2 gcc4.6.2.
> I downloaded package java-1.2.9.tar.gz and managed to install it after
> playing with JAVA_HOME variable.
>
> Command pkg list shows that java is installed, and I issued command pkg load
> java, but after that java commands does not seem to be working.
> What happens is like this:
> octave:3> v = javaObject ("java.util.Vector")
> warning: the `javaObject' function is not yet implemented in Octave
>
> octave:3> javamem
> error: `java_invoke' undefined near line 65 column 8
> error: called from:
> error: C:\Program
> Files\Octave362\Octave3.6.2_gcc4.6.2\share\octave\packages\java-1.2.9\javamem.m
> at line 65, column 6
>
> So, what might be the problem?
Hi Heron,
have you installed the octave-forge packages as described in the README?
See
http://sourceforge.net/projects/octave/files/Octave%20Windows%20binaries/Octave%203.6.2%20for%20Windows%20MinGW%20installer/
Chapter 3. Manual installation instructions for the Octave-forge packages

I've installed octave3.6.2_gcc4.6.2 and Octave3.6.2_gcc4.6.2_pkgs_20120613.7z as
described in the README on a WindowsXP Pro 32bit
(don't forget the pkg rebuild steps) and the java packages works like a charm:
octave:1> v = javaObject ("java.util.Vector")
v =
<Java object: java.util.Vector>
octave:2> javamem
Java virtual machine (JVM) memory info:
Maximum available memory:           63 MiB;
   (...running garbage collector...)
OK, current status:
Total memory in virtual machine:     4 MiB;
Free memory in virtual machine:      4 MiB;
4 CPUs available.
octave:3>

Best regards, Andy


reply via email to

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