Java package: Difference between revisions

96 bytes added ,  4 January 2016
no edit summary
(use Warning template (and change lower version to 3.8))
No edit summary
Line 4: Line 4:
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.


This description is based on the Octave package {{Codeline|java-1.2.8}}. The {{Forge|java}} package usually installs its script files (.m) in the directory {{Path|.../share/Octave/packages/java-1.2.8}} and its binary (.oct) files in {{Path|.../libexec/Octave/packages/java-1.2.8}}. You can get help on specific functions in Octave by executing the help command
This description is based on the Octave package {{Codeline|java-1.2.8}}; however many items are equally valid for the built-in Java support in Octave-3.8.0 and higher.. The {{Forge|java}} package usually installs its script files (.m) in the directory {{Path|.../share/Octave/packages/java-1.2.8}} and its binary (.oct) files in {{Path|.../libexec/Octave/packages/java-1.2.8}}. You can get help on specific functions in Octave by executing the help command
with the name of a function from this package:
with the name of a function from this package:
  octave> help javaObject
  octave> help javaObject
99

edits