Navigation

Operators and Keywords

Function List:

C++ API

: javaclasspath ()
: dpath = javaclasspath ()
: [dpath, spath] = javaclasspath ()
: clspath = javaclasspath (what)

Return the class path of the Java virtual machine in the form of a cell array of strings.

If called with no inputs:

  • If no output is requested, the dynamic and static classpaths are printed to the standard output.
  • If one output value dpath is requested, the result is the dynamic classpath.
  • If two output valuesdpath and spath are requested, the first variable will contain the dynamic classpath and the second will contain the static classpath.

If called with a single input parameter what:

"-dynamic"

Return the dynamic classpath.

"-static"

Return the static classpath.

"-all"

Return both the static and dynamic classpath in a single cellstr.

See also: javaaddpath, javarmpath.

Package: octave