bugGNU Octave - Bugs: bug #41155, Java does not work with binary...


bug #41155: Java does not work with binary installer for Mac OS

Submitter:  None
Submitted:  Wed 08 Jan 2014 10:50:22 PM UTC
Category:  Configuration and Build System Severity:  3 - Normal
Priority:  5 - Normal Item Group:  None
Status:  None Assigned to:  None
Originator Name:  Originator Email:  -email is unavailable-
Open/Closed:  * Closed Release:  * 3.8.0
Operating System:  * Mac OS
* Mandatory Fields

Add a New Comment (Rich Markup)

Comment Type & Canned Response:


Sat 21 Nov 2015 05:23:13 AM UTC, comment #4: 

This bug references an unsupported version of Octave (3.8.0) and an unsupported install (Mac OS).  Closing report.

Many users are having more success lately with Mac OSX, at least as reported on the Octave maintainers list.

Rik <rik5>
Project Administrator
Thu 09 Jan 2014 06:48:20 PM UTC, comment #3: 

It seems to be a Java issue

Well, a Java issue when building the binary installer.
It seems to be that the bits and pieces of Java JRE / JDK installation on OSX seems to be hard to follow and change with every OS upgrade (at least that's what one of the OSX binary maintainers wrote in the maintainers ML a while ago).

Either way, the result is an Octave that simply has no Java support compiled in.

Philip Nienhuis <philipnienhuis>
Project Member
Thu 09 Jan 2014 10:21:56 AM UTC, comment #2: 

Thank you for quick reply! The installe can be found here:

It seems to be a Java issue. Unfortunately I have no idea how to fix it, either.

Wed 08 Jan 2014 11:07:25 PM UTC, comment #1: 

(didn't know a binary 3.8.0 Mac OSX installer was already up)

"Octave was not compiled with Java interface" just means what it says.
In any case you'll have no spreadsheet write support; you need to be able to invoke Java methods for that.

If you have io-2.0.1 installed (try with "pkg install -noauto" to avoid PKG_ADD errors, currently under review), you DO (uhm, should) have good read support, compatible with what Java would give you, but only for OOXML (.xlsx, Excel 2007 and up), ODS 1.2 (OpenOffice.org/LibreOffice) and gnumeric.

I'm only the io package maintenance dude; I know little or nothing about OSX Octave binaries or OSX itself (although my partner and our daughter almost live in it, yet I'm happy with Windows & Linux) so I can't help you there.

If you get unexpected warnings or errors with the io package please report them quick as I plan a new io bug fix release Very Soon (maybe even tomorrow)

Philip Nienhuis <philipnienhuis>
Project Member
Wed 08 Jan 2014 10:50:22 PM UTC, original submission:  

I am using Mac OS Mavericks and installed Java for Mac OS with the binary installer from sourceforge.net.
Unfortunately something seems to be wrong with core java package. When trying to use java I receive the following error:

octave:1> debug_java
error: debug_java: Octave was not compiled with Java interface

Using io package I get the following:

octave:2> xlsread ("abc.xls")
Detected XLS interfaces: warning:  No Java support found (no Java JRE? no Java pkg installed AND loaded?)

warning: xlsopen.m: no support for spreadsheet I/O



(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach Files:

No files currently attached


Depends on the following items: None found

Items that depend on this one: None found


Carbon-Copy List
  • -email is unavailable- added by rik5 (Posted a comment)
  • -email is unavailable- added by None (Submitted the item)

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

    Only project members can vote.





    Follow 2 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2015-11-21 rik5 Open/ClosedOpen Closed
    2014-01-09 philipnienhuis CategoryLibraries Configuration and Build System

    Back to the top

    Powered by Savane 3.9