help-octave
[Top][All Lists]
Advanced

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

Re: Using IO package with MXE-Octave (Octave not compiled with Java)


From: PhilipNienhuis
Subject: Re: Using IO package with MXE-Octave (Octave not compiled with Java)
Date: Wed, 23 Apr 2014 14:38:16 -0700 (PDT)

ijourneaux wrote
> So I think there needs to be a change to getxlsinterfaces.m so that it it
> doesn't try to detect the various java interfaces if Octave is compiled
> without java support.

First of all, not every message is an error message. Or was the word "error"
mentioned in what you saw?

IIRC (can't peek at the code now, I'm away this week with scanty web access)
there *is* such a check. But it could still be geared towards the old OF
Java package. In addition it should also check for presence of Java on the
host system.
 In the end you do get a working interface (i.e., COM, which doesn't require
Java), so the mesages may be alarming but it does work after all.

Please file a bug report if you find the verbosity misleading and then I'll
look into it.


> From within Octave, how does one detect if octave was compiled with java
> support? With that info, we should be able to skip over the java tests if
> appropriate.

In 3.8.x, something like checking (from the top of my head)
octave_config_info (features).HAVE_JAVA == 1
or so (just run octave_config_info and you'll see the proper field name).

Philip



--
View this message in context: 
http://octave.1599824.n4.nabble.com/Using-IO-package-with-MXE-Octave-Octave-not-compiled-with-Java-tp4663692p4663734.html
Sent from the Octave - General mailing list archive at Nabble.com.



reply via email to

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