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: Philip Nienhuis
Subject: Re: Java package install seems to be ok, but is NOT working.
Date: Sun, 27 Jan 2013 14:08:00 -0800 (PST)

nitnit wrote
> 
> Herdon wrote
>> octave:8> 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
> From the error message it seems that you have installed (extracted the 7z
> archive) to
> C:\Program Files\Octave362\Octave3.6.2_gcc4.6.2
> 
> You should avoid a directory name with 'space' chars ! This could be a
> reason why your re-installation of the java package fails !
> 
> From the error message above (missing java_invoke) I suspect that your
> build of __java__.oct file has been failed and this file is missing.
> 
> Check if you have __java__.oct under
> C:\Program
> Files\Octave362\Octave3.6.2_gcc4.6.2\lib\octave\packages\java-1.2.9\i686-pc-mingw32-api-v48+\
> 
> Try to install octave to a directory with no 'space' chars.

Nitzan, (Michael),

A check in the install script, or maybe even in the octaverc supplied in the
installer package/7z, that checks for spaces in the install dir may be
handy.
Something like

if (! isempty (strmatch (" ", OCTAVE_HOME)))
  error ("Octave is installed in a directory path containing one or more
spaces. Expect problems!")
endif

Philip



--
View this message in context: 
http://octave.1599824.n4.nabble.com/Java-package-install-seems-to-be-ok-but-is-NOT-working-tp4648763p4649165.html
Sent from the Octave - General mailing list archive at Nabble.com.


reply via email to

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