help-octave
[Top][All Lists]
Advanced

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

Re: Octave on Mac and Java


From: Sebastian
Subject: Re: Octave on Mac and Java
Date: Tue, 12 Jul 2016 11:42:54 +0200

>> As Ben said, out Octave.app does not ship with Java support. You have to 
>> build Octave by you own, e.g.
>> 
>> 1) install Octave from homebrew, e.g. "brew install octave --with-java". 
>> Probably something similar works for Macports.
>> 
>> 2) use the steps explained here 
>> http://wiki.octave.org/Create_a_MacOS_X_App_Bundle_Using_Homebrew. I 
>> modified the script "install_octave.sh" to take as an additinal option "-j". 
>> It should compile Octave with Java 1.6.0.

There is a misunderstanding: you can either do 1) OR 2). Actually, approach 2) 
is doing 1) in the particular install directory /Application/Octave.app 
(instead of /usr/local) with many additional steps that are necessary to arrive 
at a nice disk image.
 
> The brew install falls over complaining about “with-qt”… I’ve reinstalled qt 
> to be sure, and tried adding a —-with-qt=5 suffix to the command, to no avail.
What is the error message exactly? Are we talking about "brew install gnuplot"? 
Maybe you should uninstall homebrew and start from scratch...

> I tried the latter step yesterday… not realising perhaps I needed to do the 
> former first... which progressed for 9 hours before collapsing with a cryptic 
> error about sourceforge!
As mentioned before, approach 2) can be done independent of 1). If you are an 
experienced command line user and you do not need an app-bundle then approach 
1) is totally sufficient. 

Sebastian


reply via email to

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