[bug #68350] (IO) xlsread crashes with xls file and jxl

Philip Nienhuis <[email protected]> Sat, 16 May 2026 15:01:54 -0400 (EDT)
Newsgroups gmane.comp.gnu.octave.bugs
Message-ID <[email protected]>
Please use the bug tracker to post updates to a bug report.  The mailing list is intended as a read-only notification stream.  Info posted to this mailing list address won't appear in the tracker database where it is most useful.

Follow-up Comment #7, bug #68350 (group octave):


> Maybe you want to do a startup check on the version.
Guessing you mean:
Add a check for Java version depending on Octave release.
Well, the idea is a good one :-)

Yet there is already such a check in Windows (in the function
'chk_spreadsheet_support.m' that automatically loads Java .jars for
spreadsheet I/O from some specific user directory).
However -as always seems the case with Java- that's just part of the story.
Not only Octave, but also some releases of the interfaces require specific
versions of the JRE.  On one of my systems I get warnings that I don´t see on
others and it's all caused by different JRE releases and different spreadsheet
I/O interface releases.  It's almost like .dll hell in earlier Windows.

I can amend the 'chk_spreadsheet_support.m' check to warn if it sees Java <
1.9, but - a while ago I read here or in Discourse that Java 1.9 wasn´t
really needed for users, just for building Octave, and later on even the
latter seemed to be not strictly required.  So it is a bit confusing.


    _______________________________________________________

Reply to this item at:

  <https://savannah.gnu.org/bugs/?68350>

_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/
signature.asc (application/pgp-signature, 228 B)
-----BEGIN PGP SIGNATURE-----

iHUEABYIAB0WIQQk97aszIMMAvLLwm6qLAuaBUf3TgUCagi/IgAKCRCqLAuaBUf3
ThL+AP9Y+8+FuxbRGTGCd2TCf86kSdLAtMeyy1n+JdMn+PKRhAEA0YU8anLGQr0A
eQis2Pn5xkLP2jjJjZ9jv3B5D99kZQ4=
=tPx8
-----END PGP SIGNATURE-----