[bug #68282] Crash for javaMethod('getRuntimeMXBean', 'java.lang.management.ManagementFactory')

Markus Mützel <[email protected]> Sun, 26 Apr 2026 10:28:55 -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.

Update of bug #68282 (group octave):

                  Status:                    None => Need Info

    _______________________________________________________

Follow-up Comment #2:

Afaict, OpenJDK doesn't work correctly if it is built for a MinGW target. See,
e.g.: https://github.com/msys2/MINGW-packages/pull/20006 (and the PRs and
issues linked to or from it).

If the MSYS2 packagers come up with a set of patches to make that work (and
that set of patches looks manageable), we could reconsider packaging the JRE
as part of MXE Octave. Until then, it is probably best if users get their JRE
from a different source. (And maybe improve our documentation if it is lacking
that information.)

See also bug #66936 which raised the minimum Java version to 1.9.

@tiborauer: Could you please share which version of Java you are using?



    _______________________________________________________

Reply to this item at:

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

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

iHUEABYIAB0WIQQk97aszIMMAvLLwm6qLAuaBUf3TgUCae4hJwAKCRCqLAuaBUf3
Tk31AQCIVzSe+caLcKLzaZhhZnVG6lC0eYJ2gVxfcwhSDOT4TQD/Y34D88QarzsY
fJry2A3VElXghgyGHecS4Lfr5dntQgk=
=B2Nk
-----END PGP SIGNATURE-----