[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Trying to install the java package.
From: |
Philip Nienhuis |
Subject: |
Re: Trying to install the java package. |
Date: |
Wed, 14 May 2014 10:59:28 -0700 (PDT) |
Sebastian Schöps wrote
>
> Philip Nienhuis wrote
>> However, in 3.8.0 the OF Java package cannot be installed anymore, as
>> Java support became a core Octave feature rather than an add-on. IOW,
>> Java has to be built in during building Octave itself. TTBOMK no one has
>> succeeded doing that for OSX yet.
>> Maybe you can try building Octave from scratch and include Java along the
>> way outlined in the thread mentioned above.
> I am using the latest
> homebrew formula
> <https://github.com/mcg1969/homebrew-science/blob/master/octave.rb>
> to compile a checkout of octave. Java (Version 8) works out of the box:
>
>>>v = javaObject ("java.util.Vector")
> v =
> <Java object: java.util.Vector>
>>> v.add(12);
>>> v.get(0)
> ans = 12
Nice! Java support used to be a problem on OSX.
Thanks for this info,
Philip
--
View this message in context:
http://octave.1599824.n4.nabble.com/Trying-to-install-the-java-package-tp4664048p4664077.html
Sent from the Octave - Maintainers mailing list archive at Nabble.com.