J++ 1.1
Home Up J++ 6.0 J++ 1.1 esus Sun's JDK

 

J++ 1.1 Environment


To construct and run this file in the J++ 1.1 environment, perform the following steps:

  1. Invoke the J++ 1.1 environment.
  2. Under the File menu, select New.  With the Projects tab, select Java Project and type in HiWorld as the name of the project.
  3. Under the File menu, select New.  This time under the Files tab, select the Java Source File option and type in HiWorld.java in the Name box.
  4. Type in the above code in the program window on the right.
  5. Under the Build menu, select Execute.  Type in HiWorld as the Class File Name and   select the Stand-Alone Interpreter option.


If you did everything properly, you will see a DOS window appear on your screen briefly with the message "Hi" in it.  The DOS window will then disappear.  If you wish to see the output for a longer period of time, pull up a DOS window, go to the proper directory, and type in the name of the executable.