help-octave
[Top][All Lists]
Advanced

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

Re: problem with Windows install


From: PhilipNienhuis
Subject: Re: problem with Windows install
Date: Sat, 13 Aug 2011 14:54:43 -0700 (PDT)

bcbob wrote:
> 
> I am trying to update my version of Octave on my Windows PC. I downloaded
> the MingW binary
> Octave-3.2.4_i686-pc-mingw32_gcc-4.4.0_setup.exe
> 
> I ran the installer choosing the default location and default packages (in
> particular I did not select the Java development package). The install
> seems to run to completion OK.
> 
> I started Octave 3.2.4 from the Windows start menu and it opens a command
> window. Everything seems fine until it prints the error message below:
> 
> After this if I type something and press return the program crashes and
> the window closes.
> 
> I tested my Java runtime engine version and got:
> Java Version: 1.6.0_15 from Sun Microsystems Inc
> 
> <snip>
> 
> HERE IS THE ERROR MESSAGE:
> ...
> For information about changes from previous versions, type `news'.
> 
> error: `java_invoke' undefined near line 36 column 3
> error: called from:
> error:   C:\Program
> Files\Octave\share\octave\packages\java-1.2.5\javaaddpath.m
> at line 36, column 3
> error:   C:\Program
> Files\Octave\libexec\octave\packages\jhandles-0.3.4\i686-pc-
> msdosmsvc-api-v32\PKG_ADD at line 3, column 5
> error:   ?unknown? at line -1, column -1
> octave-3.2.4.exe:1>
> 

It seems you may not have selected Java, but you did select the jhandles
package which depends on Java. Little wonder that jhandles complains.
(It may be a bug in the installer that jhandles can be selected while java
is not ...)

You can either:
- try to uninstall jhandles.
Directly after starting Octave, enter this command:
pkg unload jhandles
pkg rebuild -noauto jhandles

Then close & restart Octave, and enter:
pkg uninstall jhandles

The restart is just to be sure that jhandles is no more in memory, or its
files locked, before getting uninstalled.
I doubt if this step is really needed, but it won't harm.

-or-

Reinstall Octave, and be sure to not select jhandles (oh and be sure to
unselect oct2mat as well, it leads to loads of problems)

Philip

--
View this message in context: 
http://octave.1599824.n4.nabble.com/problem-with-Windows-install-tp3741936p3742069.html
Sent from the Octave - General mailing list archive at Nabble.com.


reply via email to

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