Java package: Difference between revisions

2 bytes removed ,  14 September 2015
use Warning template (and change lower version to 3.8)
No edit summary
(use Warning template (and change lower version to 3.8))
Line 1: Line 1:


'''''First a warning:'''''
{{Warning|'''This package is not required for Octave versions 3.8.0 or later'''. Since Octave 3.8.0, Java support is part of Octave core. Do not install this package as it will shadow core functions. However, even for those versions, Octave needs to have been built with java support (run {{codeline|octave_config_info ("JAVA")}})If it didn't, you'll have to rebuild Octave from source with that option.}}
''As of Octave-4.0.0, Java support can (and often is) included in core Octave.''
''Therefore, DO NOT try to install the Java package on Octave >= 4.0.0 !! It'll simply break.''
''If you have an Octave-4.0.0+ that has no Java support built-in, you're just out of luck. You'll need to find another Octave-4.0.0+ that was built with Java support, or build Octave yourself from source.''


Octave is an easy to use but powerful environment for mathematical calculations, which can easily be extended by packages. Its features are close to the commercial tool MATLAB so that it can often be used as a replacement. Java on the other hand offers a rich, object oriented and platform independent  environment for many applications. The core Java classes can be easily extended by many freely available libraries. This document refers to the package <code>java</code>, which is part of the GNU Octave project. This package allows you to access Java classes from inside Octave. Thus it is possible to use existing class files or complete Java libraries directly from Octave.
Octave is an easy to use but powerful environment for mathematical calculations, which can easily be extended by packages. Its features are close to the commercial tool MATLAB so that it can often be used as a replacement. Java on the other hand offers a rich, object oriented and platform independent  environment for many applications. The core Java classes can be easily extended by many freely available libraries. This document refers to the package <code>java</code>, which is part of the GNU Octave project. This package allows you to access Java classes from inside Octave. Thus it is possible to use existing class files or complete Java libraries directly from Octave.