Java SDK Overview
Ivy Linux VMs are installed with Java SDK 1.8. Java is a popular Object Oriented programming
language and is used in a multitude of scenarios. It is available under the GNU General Public
License for all users. The SDK consists of a large number of tools such as
help in application development.
Running Java commands from the Command Line
Open a Command Line Terminal and enter
java followed by the desired command. E.g. to find
the version of the SDK
Running your code
To compile java code, first
cd to the location of your
.java file and then do
After the java compiler runs and gives no errors, a
.class file would be created. Run the following command to see the output:
While Ivy VMs have full support for the Java SDK, certain aspects of programming full-scale Java on Ivy may not work without running into issues.
In order to execute Java programs correctly, please load the entire package into the VM’s storage instead of compiling it on the VM.
Please visit the official Oracle documentation to learn more about Java at this web address.