ibm-information-center/dist/eclipse/plugins/i5OS.ic.rzaha_5.4.0.1/runfirst.htm

80 lines
5.1 KiB
HTML

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html
PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html lang="en-us" xml:lang="en-us">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta name="security" content="public" />
<meta name="Robots" content="index,follow" />
<meta http-equiv="PICS-Label" content='(PICS-1.1 "http://www.icra.org/ratingsv02.html" l gen true r (cz 1 lz 1 nz 1 oz 1 vz 1) "http://www.rsac.org/ratingsv01.html" l gen true r (n 0 s 0 v 0 l 0) "http://www.classify.org/safesurf/" l gen true r (SS~~000 1))' />
<meta name="DC.Type" content="task" />
<meta name="DC.Title" content="Run your first Hello World Java program" />
<meta name="abstract" content="This topic will help you to run your first program." />
<meta name="description" content="This topic will help you to run your first program." />
<meta name="DC.Relation" scheme="URI" content="getstart.htm" />
<meta name="DC.Relation" scheme="URI" content="install.htm" />
<meta name="DC.Relation" scheme="URI" content="dkmap.htm" />
<meta name="DC.Relation" scheme="URI" content="crtjdir.htm" />
<meta name="DC.Relation" scheme="URI" content="crtcmrun.htm" />
<meta name="DC.Relation" scheme="URI" content="crtedit.htm" />
<meta name="copyright" content="(C) Copyright IBM Corporation 2006" />
<meta name="DC.Rights.Owner" content="(C) Copyright IBM Corporation 2006" />
<meta name="DC.Format" content="XHTML" />
<meta name="DC.Identifier" content="runfirst" />
<meta name="DC.Language" content="en-us" />
<!-- All rights reserved. Licensed Materials Property of IBM -->
<!-- US Government Users Restricted Rights -->
<!-- Use, duplication or disclosure restricted by -->
<!-- GSA ADP Schedule Contract with IBM Corp. -->
<link rel="stylesheet" type="text/css" href="./ibmdita.css" />
<link rel="stylesheet" type="text/css" href="./ic.css" />
<title>Run your first Hello World Java program</title>
</head>
<body id="runfirst"><a name="runfirst"><!-- --></a>
<!-- Java sync-link --><script language="Javascript" src="../rzahg/synch.js" type="text/javascript"></script>
<h1 class="topictitle1">Run your first Hello World Java program</h1>
<div><p>This topic will help you to run your first program.</p>
<div class="section"><p>You can get your Hello World Java™ program up and running in either of
these ways:</p>
</div>
<ol><li class="stepexpand"><span>You can simply run the Hello World Java program that was shipped with the IBM<sup>®</sup> Developer
Kit for Java. </span> <p>To run the program that is included,
perform the following steps:</p>
<ol type="a"><li><span>Check that the IBM Developer Kit for Java is installed by entering the Go Licensed
Program (GO LICPGM) command. Then, select option 10 (Displayed installed licensed
programs). Verify that licensed program 5722-JV1 *BASE and at least one of
the options are listed as installed.</span></li>
<li><span>Enter <samp class="codeph">java Hello</samp> on the iSeries™ Main Menu command line. Press
Enter to run the Hello World Java program.</span></li>
<li><span>If the IBM Developer Kit for Java was installed correctly, <samp class="codeph">Hello
World</samp> appears in the Java Shell Display. Press F3 (Exit) or F12
(Exit) to return to the command entry display.</span></li>
<li><span>If the Hello World class does not run, check to see that the
installation was completed successfully, or see <a href="getsup.htm">Get
support for the IBM Developer
Kit for Java</a> for service information.</span></li>
</ol>
</li>
<li class="stepexpand"><span>You can also run your own Hello Java program. For more information about
how to create your own Hello Java program, see <a href="crtcmrun.htm">Create,
compile, and run a Hello World Java program</a>.</span></li>
</ol>
</div>
<div>
<div class="familylinks">
<div class="parentlink"><strong>Parent topic:</strong> <a href="getstart.htm" title="If you have not yet used IBM Developer Kit for Java, follow these steps to install it, configure it, and practice running a simple Hello World Java program.">Install and configure IBM Developer Kit for Java</a></div>
</div>
<div class="relconcepts"><strong>Related concepts</strong><br />
<div><a href="crtjdir.htm" title="You must create a directory on your iSeries server where you can save your Java applications.">Create a directory on your iSeries server</a></div>
</div>
<div class="reltasks"><strong>Related tasks</strong><br />
<div><a href="install.htm" title="Installing IBM Developer Kit for Java allows you to create and run Java programs on your iSeries server.">Install IBM Developer Kit for Java</a></div>
<div><a href="dkmap.htm" title="To map a network drive, complete the following steps.">Map a network drive to your iSeries server</a></div>
<div><a href="crtcmrun.htm" title="Creating the simple, Hello World Java program is a great place to start when becoming familiar with the IBM Developer Kit for Java.">Create, compile, and run a HelloWorld Java program</a></div>
</div>
<div class="relref"><strong>Related reference</strong><br />
<div><a href="crtedit.htm" title="You can create and edit Java source files in a number of ways.">Create and edit Java source files</a></div>
</div>
</div>
</body>
</html>