Re-install the package with -verbose flag and look at the configure
script output, especially whether it detected JDK correctly.

Michael.


On Tue, Nov 17, 2009 at 3:35 PM, Ken <kmai...@googlemail.com> wrote:
> One further follow-up question.
>
> I have installed octave3.2 on my ubuntu machine. I ran:
> pkg install -local java-1.2.6.tar.gz
> which appears to install correctly.
>
> pkg list
> shows java * (with the asterisk to show it is loaded.
>
> When I run the command "octave:2> javaclasspath" I get the following error:
> error: `java_invoke' undefined near line 28 column 12
> error: called from:
> error:   /home/ken/octave/java-1.2.6/javaclasspath.m at line 28, column 10
>
>
> If I look at the java.1.2.6.tar.gz package there is a folder
> "java-1.2.6.tar\java-1.2.6\java-1.2.6\src\org\octave" which has some
> java files, including ClassHelper.java among others.  Line 28 of
> javaclasspath.m is:
> c_path = java_invoke ("org.octave.ClassHelper", "getClassPath");
>
> I am guessing that the .java files did not get installed correctly or
> are not being found by octave and hence the error.
>
> Does anyone have experience with the java package?  Can you advise
> where the problem might be?
>
> Thanks,
> Ken
>
>
>
>
>
> 2009/11/17 Ken <kmai...@googlemail.com>:
>> Hi Søren,
>>
>> Thanks so much for your reply. I have upgraded to 3.2.  I have also
>> added octave3.2-headers as you suggested which has allowed me to
>> correctly install and load the java package.
>>
>> I have also added a note on my blog.
>>
>> Thanks!
>> Ken
>>
>>
>>
>> 2009/11/17 Søren Hauberg <so...@hauberg.org>
>>>
>>> Hi
>>>
>>> tir, 17 11 2009 kl. 13:57 +0000, skrev Ken:
>>> > Hi. I am a long-time Matlab user but looking to transition to Octave.
>>> > I have installed Octave 3.0.5 on Ubuntu 9.10
>>>
>>> I believe Ubuntu 9.10 also has an Octave 3.2.x version available. You
>>> might want to use that instead, as many things have improved.
>>>
>>> > configure: WARNING: no mkoctfile found on path
>>>
>>> 'mkoctfile' is the tool used to compile C++ extensions. This is not
>>> installed by default when you install Octave. I think you have to
>>> install a package called something like 'octave-headers'.
>>>
>>> Søren
>>>
>>
>
> ------------------------------------------------------------------------------
> Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
> trial. Simplify your report design, integration and deployment - and focus on
> what you do best, core application coding. Discover what's new with
> Crystal Reports now.  http://p.sf.net/sfu/bobj-july
> _______________________________________________
> Octave-dev mailing list
> Octave-dev@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/octave-dev
>

------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
Octave-dev mailing list
Octave-dev@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/octave-dev

Reply via email to