Running Java


To execute the Java application just created, enter the following instruction:

      JAVA BuyCar 

The JAVA command invokes the JVM and passes it the name of the Java application to run. The application does not take any arguments yet, so it simply runs and prints the following line of text:

      Vehicle: Ford Explorer 



IBM i5/iSeries Primer(c) Concepts and Techniques for Programmers, Administrators, and Sys[... ]ators
IBM i5/iSeries Primer(c) Concepts and Techniques for Programmers, Administrators, and Sys[... ]ators
ISBN: N/A
EAN: N/A
Year: 2004
Pages: 245

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net