Return true if the Java element feature is available.
Possible features are:
"awt"
Abstract Window Toolkit for GUIs.
"desktop"
Interactive desktop is running.
"jvm"
Java Virtual Machine.
"swing"
Swing components for lightweight GUIs.
usejava
determines if specific Java features are available in an
Octave session. This function is provided for scripts which may alter
their behavior based on the availability of Java. The feature
"desktop"
always returns false
as Octave has no Java-based
desktop. Other features may be available if Octave was compiled with the
Java Interface and Java is installed.
See also: javachk.
Package: octave