<?xml version='1.0' encoding='UTF-8'?><?xml-stylesheet href="http://www.blogger.com/styles/atom.css" type="text/css"?><feed xmlns='http://www.w3.org/2005/Atom' xmlns:openSearch='http://a9.com/-/spec/opensearchrss/1.0/' xmlns:blogger='http://schemas.google.com/blogger/2008' xmlns:georss='http://www.georss.org/georss' xmlns:gd="http://schemas.google.com/g/2005" xmlns:thr='http://purl.org/syndication/thread/1.0'><id>tag:blogger.com,1999:blog-5511037239597229700</id><updated>2024-10-06T22:32:06.257-07:00</updated><category term="Hello World"/><category term="java"/><category term="java programming"/><category term="programming"/><title type='text'>Hot Java Blog</title><subtitle type='html'></subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://hotjavablog.blogspot.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5511037239597229700/posts/default?redirect=false'/><link rel='alternate' type='text/html' href='http://hotjavablog.blogspot.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><author><name>GamerPlusPlus</name><uri>http://www.blogger.com/profile/01409409616361823679</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgDdhRdGhUHwE9hoPoqKtsZTjZYyR2GaTac2r7qKV500eavAoZncEVI9CldN-XWnRIt6IWRg6tI5Ecc_HOgQHmSa5ZsMHm7chgWcOUaxVsw0vzN0ADsYTx7HbzeAzu5J5w/s220/DesktopBackground.jpg'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>1</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>25</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-5511037239597229700.post-4034119801973324699</id><published>2010-12-31T17:45:00.000-08:00</published><updated>2011-01-01T00:49:30.484-08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Hello World"/><category scheme="http://www.blogger.com/atom/ns#" term="java"/><category scheme="http://www.blogger.com/atom/ns#" term="java programming"/><category scheme="http://www.blogger.com/atom/ns#" term="programming"/><title type='text'>Getting Started</title><content type='html'>Alright, I&#39;ve got the blog and the goal of teaching myself Java programming. What&#39;s next?&lt;br /&gt;
&lt;br /&gt;
The first thing I did was found the Java download page:&lt;br /&gt;
&lt;a href=&quot;http://www.oracle.com/technetwork/java/javase/downloads/index.html&quot;&gt;http://www.oracle.com/technetwork/java/javase/downloads/index.html&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
I downloaded and installed the JDK (Java development kit) + NetBeans bundle. It took forever to download and install and even longer to load NetBeans once it was installed. So I uninstalled NetBeans and Java and went back and downloaded the JDK by itself. That&#39;s all you really need to get started. Well that and a text editor, but there are more text editors than I care to list.&lt;br /&gt;
&lt;br /&gt;
So, I&#39;m now armed with a new programming language, but I don&#39;t know how to use it. I need some help. I searched and found the Java documentation at:&lt;br /&gt;
&lt;a href=&quot;http://www.oracle.com/technetwork/java/javase/downloads/index.html#docs&quot;&gt;http://www.oracle.com/technetwork/java/javase/downloads/index.html#docs&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
I downloaded and unzipped the files to my Java install folder. I clicked the index file and my web browser opened and a couple clicks later I was starting the &quot;Hello World&quot; tutorial: &lt;a href=&quot;http://download.oracle.com/javase/tutorial/getStarted/cupojava/win32.html&quot;&gt;http://download.oracle.com/javase/tutorial/getStarted/cupojava/win32.html&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
So here&#39;s the tutorial.&lt;br /&gt;
&lt;br /&gt;
Open Windows Notepad (Programs &amp;gt; Accessories &amp;gt; Notepad). Type the following text:&lt;br /&gt;
&lt;pre&gt;/**
&amp;nbsp;* The HelloWorldApp class implements an application that
&amp;nbsp;* simply prints &quot;Hello World!&quot; to standard output.
&amp;nbsp;*/
class HelloWorldApp {
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;public static void main(String[] args) {
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;System.out.println(&quot;Hello World!&quot;); // Display the string.
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;}
}&lt;/pre&gt;&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgOcRL8uzFcG_zOANWBK5m57P-Z-lwthPRdbNBaI46bSkyrROzs99me5xIyBQPrG6UAfmt1m0jLVoVVneMRT4bkJKQoTQiJVXFKSQYlglDfuYIp73Fb-f8-9sqdBlDJGMNsM5StcguS0t0/s1600/notepad.JPG&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;114&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgOcRL8uzFcG_zOANWBK5m57P-Z-lwthPRdbNBaI46bSkyrROzs99me5xIyBQPrG6UAfmt1m0jLVoVVneMRT4bkJKQoTQiJVXFKSQYlglDfuYIp73Fb-f8-9sqdBlDJGMNsM5StcguS0t0/s320/notepad.JPG&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;
Save this file as &quot;HelloWorldApp.java&quot;. Make sure you type correctly. Java is case sensitive. That means &quot;HelloWorldApp.java&quot; is not the same as &quot;helloWorldApp.java&quot;.&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj1VPpfqXiFLcDKj1JnBH3CdOExhB31XlmBl3ombvu9_8ZoRvXOWM2wEeyP0RKUbh0Q_f7Vu8Elcruehi3HyFrBTk2yjck8gWSIDf70OgM6B1_8SrkGPVJH3urI_LDH16MGjWoOmbqQDzI/s1600/saveAs.JPG&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;254&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj1VPpfqXiFLcDKj1JnBH3CdOExhB31XlmBl3ombvu9_8ZoRvXOWM2wEeyP0RKUbh0Q_f7Vu8Elcruehi3HyFrBTk2yjck8gWSIDf70OgM6B1_8SrkGPVJH3urI_LDH16MGjWoOmbqQDzI/s320/saveAs.JPG&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;
&lt;br /&gt;
Open a command prompt (Programs &amp;gt; Accessories &amp;gt; Command Prompt) and navigate to where you saved &quot;HelloWorldApp.java&quot;. To do this, type CD followed by the directory path. Here&#39;s a picture to show what I mean:&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgZHXoxxpq70CM4Vp9ksHBLtV0CK9s-Q8O_urXl7NZFrYE8-GEkD3_ewjIODDPt2YX_DXj6ClkA5cMNStzsRqto3mOr4jIdOSfMT50Xy_qFsGw8pln8IBDVX5NelaMFEJjYrgRFWm90aVA/s1600/commandPrompt.JPG&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;200&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgZHXoxxpq70CM4Vp9ksHBLtV0CK9s-Q8O_urXl7NZFrYE8-GEkD3_ewjIODDPt2YX_DXj6ClkA5cMNStzsRqto3mOr4jIdOSfMT50Xy_qFsGw8pln8IBDVX5NelaMFEJjYrgRFWm90aVA/s320/commandPrompt.JPG&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;
You should see your command prompt change&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEis-4TPahXXu6Wi6D80l4XmE25BP67EVWLfe_r5Lj70DO00aK9EasE1VO3kQYFKpQ59xfLBy5v9FkaZ5WIk2RilkWFHxLRWfg73a-5k2Vb7lqBvdi_3ixnnzQkh8B7CJBcr7qJv08e8-cE/s1600/commandPrompt2.JPG&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;158&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEis-4TPahXXu6Wi6D80l4XmE25BP67EVWLfe_r5Lj70DO00aK9EasE1VO3kQYFKpQ59xfLBy5v9FkaZ5WIk2RilkWFHxLRWfg73a-5k2Vb7lqBvdi_3ixnnzQkh8B7CJBcr7qJv08e8-cE/s320/commandPrompt2.JPG&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;
Type the following command and press Enter:&lt;br /&gt;
&lt;pre&gt;javac HelloWorldApp.java&lt;/pre&gt;&lt;pre&gt;&lt;/pre&gt;&lt;pre style=&quot;font-family: inherit;&quot;&gt;This gives us a new class file&lt;/pre&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg-bjrawsAFmvH6P5o258m5GP6wmGAts3lJttSC5_RY5Yt8q50UVPApRHt0zKmYXAUj5Acw4UKT_5RYdW-s0vCT1mOZA1RgJ5Kk4ONMbvnBgbkNXQPzOSfhl2ps0TcnXJH4R468K_o_V2A/s1600/commandPrompt3.JPG&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;178&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg-bjrawsAFmvH6P5o258m5GP6wmGAts3lJttSC5_RY5Yt8q50UVPApRHt0zKmYXAUj5Acw4UKT_5RYdW-s0vCT1mOZA1RgJ5Kk4ONMbvnBgbkNXQPzOSfhl2ps0TcnXJH4R468K_o_V2A/s320/commandPrompt3.JPG&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;pre&gt;&lt;/pre&gt;&lt;pre style=&quot;font-family: inherit;&quot;&gt;We run our new class file with the following command:&lt;/pre&gt;&lt;pre&gt;java HelloWorldApp&lt;/pre&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjMHG1voqOVSKTtM5G02Drm2svhiU-QvzAzo3ObjvRwhcy7eu2PSrN4GKpByY9Cmp5QaHv1pgPNpJiancpwURnX7fN1sQAgEtUectZARu3N1vQ7cajB4KB2CUkT5SGiBmX-Ub9kw3DjXLU/s1600/commandPrompt4.JPG&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;44&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjMHG1voqOVSKTtM5G02Drm2svhiU-QvzAzo3ObjvRwhcy7eu2PSrN4GKpByY9Cmp5QaHv1pgPNpJiancpwURnX7fN1sQAgEtUectZARu3N1vQ7cajB4KB2CUkT5SGiBmX-Ub9kw3DjXLU/s320/commandPrompt4.JPG&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;pre&gt;&lt;/pre&gt;&lt;pre&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;That&#39;s our first Java application!&lt;/span&gt;&lt;/pre&gt;</content><link rel='replies' type='application/atom+xml' href='http://hotjavablog.blogspot.com/feeds/4034119801973324699/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://hotjavablog.blogspot.com/2010/12/getting-started.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5511037239597229700/posts/default/4034119801973324699'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5511037239597229700/posts/default/4034119801973324699'/><link rel='alternate' type='text/html' href='http://hotjavablog.blogspot.com/2010/12/getting-started.html' title='Getting Started'/><author><name>GamerPlusPlus</name><uri>http://www.blogger.com/profile/01409409616361823679</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgDdhRdGhUHwE9hoPoqKtsZTjZYyR2GaTac2r7qKV500eavAoZncEVI9CldN-XWnRIt6IWRg6tI5Ecc_HOgQHmSa5ZsMHm7chgWcOUaxVsw0vzN0ADsYTx7HbzeAzu5J5w/s220/DesktopBackground.jpg'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgOcRL8uzFcG_zOANWBK5m57P-Z-lwthPRdbNBaI46bSkyrROzs99me5xIyBQPrG6UAfmt1m0jLVoVVneMRT4bkJKQoTQiJVXFKSQYlglDfuYIp73Fb-f8-9sqdBlDJGMNsM5StcguS0t0/s72-c/notepad.JPG" height="72" width="72"/><thr:total>0</thr:total></entry></feed>