[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: IO PACKAGE and JAVA
From: |
Steph Bredenhann |
Subject: |
Re: IO PACKAGE and JAVA |
Date: |
Tue, 24 Mar 2020 23:35:27 +0200 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.4.1 |
On 2020/03/24 22:36, PhilipNienhuis wrote:
steph wrote
-----Original Message-----
From: Help-octave <help-octave-bounces+steph=
enpave.net@
> On Behalf Of PhilipNienhuis
Sent: Tuesday, March 24, 2020 14:13
To:
help-octave@
Subject: Re: IO PACKAGE and JAVA
PhilipNienhuis wrote
steph wrote
<snip>
I've just upgrade IO to 2.6.0, and now everything is not working,
please see below
warning: findstr is obsolete; use strfind instead
warning: No Java support found (no Java JRE? no Java pkg installed
AND
loaded?)
warning: called from
getinterfaces at line 121 column 11
xlsopen at line 299 column 14
xlsread at line 331 column 11
fn_read_BBR_RTFO_PAV1_data at line 14 column 11
VE_BBR at line 81 column 61
warning: xlsopen: no'.xlsx' spreadsheet I/O support with available
interfaces.
<snipped>
Yeah that's not good, sorry for that.
There has been a large code shuffle under the hood, so something
creeped in along the way.
In the mean time I think I have figured out what goes wrong.
Until a new io release is out, a workaround for this would be to add the OCT
interface to your xlsread call as follows:
... = xlsread ('<filename>', '<worksheetname>', '<range>', "oct")
(where <worksheetname> and/or <range> can be left blank for default values
(first worksheet and all data).
Philip
--
Sent from: https://octave.1599824.n4.nabble.com/Octave-General-f1599825.html
Good evening Philip
I have JAVA x64 installed, see below:
steph@sjb-pc:$ java -version
openjdk version "11.0.6" 2020-01-14
OpenJDK Runtime Environment (build 11.0.6+10-post-Ubuntu-1ubuntu118.04.1)
OpenJDK 64-Bit Server VM (build 11.0.6+10-post-Ubuntu-1ubuntu118.04.1,
mixed mode, sharing)
I have implemented workaround, see below:
datMC = xlsread(Fname,SheetName, '', "oct");
As far as I can see the read is fine and the JAVA message disappeared
altogether!
Thanks for help, let me know if I can help you with something.
Regards
Steph
- Re: IO PACKAGE and JAVA, (continued)
Re: IO PACKAGE and JAVA, Philip Nienhuis, 2020/03/22