


You can choose between the Java® 2 Platform software for Windows 95/98/NT or for Solaris. The Java platform is available free of charge from the Java web site.
COMPILING JAVA PROGRAM INSTALL
This means that any computer system with the Java VM installed can run Java programs regardless of the computer system on which the applications were originally developed.įor example, a Java program developed on a Personal Computer (PC) with the Windows NT operating system should run equally well without modification on a Sun Ultra workstation with the Solaris operating system, and vice versa.īefore you can write and run the simple Java program in this lesson, you need to install the Java platform on your computer system. Rather than running directly on the native operating system, the program is interpreted by the Java VM for the native operating system. If you are familiar with Visual Basic or another interpreted language, this concept is probably familiar to you. Java programs are run (or interpreted) by another program called the Java VM. The console printing capability is provided in the API ready for you to use you supply the text to be printed. The simple program in this lesson uses a Java API to print a line of text to the console. They let you add ready-made and customizable functionality to save you programming time. Java APIs are libraries of compiled code that you can use in your programs. The Java platform consists of the Java application programming interfaces (APIs) and the Java 1 virtual machine (JVM). Common Compiler and Interpreter Problems.
