help-octave
[Top][All Lists]
Advanced

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

Re: Mac xlsread no Java support found


From: PhilipNienhuis
Subject: Re: Mac xlsread no Java support found
Date: Wed, 14 Aug 2013 09:50:06 -0700 (PDT)

anaherey wrote
> I'm running Octave on a Macbook pro with Mountain Lion 10.8.4 and i'm
> trying to use the xlsread but everytime i try i get the following result:
/
> octave:3> x = xlsread('Libro1.xls')
> Detected XLS interfaces: warning: __chk_java_sprt__: some elements in list
> of return values are undefined
> warning:  No Java support found (no Java JRE? no Java pkg installed AND
> loaded?)
> 
> None.
> warning: xlsopen.m: no support for Excel .xls I/O
> warning: xlsread: some elements in list of return values are undefined
> x = [](0x0)
/
> 
> I'm running:
/
> GNU Octave, version 3.6.4
> Octave was configured for "x86_64-apple-darwin12.4.0".
> 
> Package Name         | Version | Installation directory
> ---------------------+---------+-----------------------
>                         io *|   1.2.2 |
> /opt/local/share/octave/packages/io-1.2.2
>                      java *|   1.2.6 |
> /opt/local/share/octave/packages/java-1.2.6
/
> 
> I've read several threads, but i can't get it to work. Also:
/
> octave:5> chk_spreadsheet_support
> No Java support found.
> ans = 0
/
> 
> And i've also tried:
/
>  > setenv ("PATH", [getenv('PATH') pathsep
> '/Library/Java/JavaVirtualMachiines/jdk1.7.0_25.jdk/Contents/Home/bin'])
/
> 
> I really appreciate your help,

See this thread:

https://mailman.cae.wisc.edu/pipermail/octave-maintainers/2013-July/035305.html

...from which it will emerge that building Java support for Mac OSX is not
quite easy. 
As Java support is currently required for the spreadsheet functions in the
io package on all other platforms than Windows, I'm afraid you're SOL for a
while. Until Mac packagers manage to build the Java package, or until the
next stable release of Octave hopefully features reliable built-in Java
support. Sorry.

There are alternatives I'll be looking at:

- Perl based, see
https://mailman.cae.wisc.edu/pipermail/help-octave/2013-May/058654.html

- more or less natively (but only for .xlsx & .xlsm), see:
https://mailman.cae.wisc.edu/pipermail/octave-maintainers/2013-July/035305.html
&
https://mailman.cae.wisc.edu/pipermail/help-octave/2013-June/059070.html
(the unzip bug Markus mentioned there has recently been fixed in Octave
development sources).

...but these alternatives may take a while - if they provide a viable
solution at all, I've yet to see that. Somewhere this fall I'll be working
on it (hopefully).

Philip




--
View this message in context: 
http://octave.1599824.n4.nabble.com/Mac-xlsread-no-Java-support-found-tp4656580p4656595.html
Sent from the Octave - General mailing list archive at Nabble.com.


reply via email to

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