<?xml version="1.0" encoding="UTF-8"?><rss version="2.0">
<channel>
<title>compiling</title>
<link>http://www.webupon.com/tags/compiling</link>
<description>New posts about compiling</description>
<item>
<title>Java Writing, Compiling, and Running</title>
<link>http://www.webupon.com/Web-Design/Java-Writing-Compiling-and-Running.43266</link>
<description>
<![CDATA[<h3> Writing
</h3>

<p> We will be writing a simple program called the Hello World program
 First open up notepad then type the folowing into your notepad.
 
 class HelloWorld {
 
    public static void main (String[] args) {
 
      System.out.println("Hello World");
      }
 }
 
 
 Then save it as HelloWorld.java</p>

 

<h3> Compiling
</h3>

<p> First open a DOS window and go to the directory where the helloworld
 file you saved is. type in javac HelloWorld and hit enter if this fails and 
 says something like javac isn't a recognised command then you have 
 to go to My Computer and click View system information then click the 
 Advanced tab then click environmental Variables then click new what you
 put in variable name is PATH then for Variable Value you put in the directory
 where the java file is.</p>

 

<h3> Running </h3>


<p> Open a DOS window and go to the directory where the .class version of
 your HelloWorld file is then  type java HelloWorld and the out put  you should
 get is Hello World!.
</p><a href="http://www.pheedo.com/click.phdo?x=&u=http%3A%2F%2Fwww.webupon.com%2FWeb-Design%2FJava-Writing-Compiling-and-Running.43266"><img src="http://www.pheedo.com/img.phdo?x=&u=http%3A%2F%2Fwww.webupon.com%2FWeb-Design%2FJava-Writing-Compiling-and-Running.43266" border="0"/></a>]]></description>
<pubDate>Sat, 01 Sep 2007 08:50:05 PST</pubDate></item>
</channel>
</rss>
