/  14
 
Habibur Rahman (OpenSourceBangladesh.org) TigerHATSTeammmmhabib@gmail.comDhaka, Bangladesh
OpenSourceBangladesh
Java programming tutorial 1: How to start“Hello World” program in Java
In this tutorial, you will get some fundamental idea how to begin your programming in java. However, this tutorial is written for newbie’s. They needto know how to start object oriented programming in Windows Platform.Java is not complex to learn, but there is an enormous deal to it. You can runJava programs unchanged in any machine and operating system combinationthat supports Java. Java programs are intrinsically object-oriented. Javaprograms are executed by the Java Interpreter, which analyses the bytecodesand carries out the operations they specify. The Java Development Kit (JDK)supports the compilation and execution of Java applications.
Step
:
1Download JDK:
Search on Google using this keyword "JDK 6 download or JDK download"and Click the first search item named "Java SE Downloads" or simply typethis URL on browser:http://www.oracle.com/technetwork/java/javase/downloads/index.htmlDownload latest JDK 6 version (Java SE 6 Update 23) for Windows. Click on“Download” button which will redirect another page.Please Select Platform “Windows” and Language “English or Multi-languageor your preferred language” for your download:Click check box for JDK License Agreement. For example (I agree to the JavaSE Development Kit 6u23 License Agreement) Then click on "Continue" which will redirect you in another page.Now you will see Available Files for Download JDK Click the Latest Java SE Development Kit (JDK) file name to start downloadJDK. For example (jdk-6u23-windows-i586.exe)
© 2011OpenSourceBangladesh
 
Habibur Rahman (OpenSourceBangladesh.org) TigerHATSTeammmmhabib@gmail.comDhaka, Bangladesh
Additional Resources (Optional):Java SE 6 (JDK 6) Documentation
Java SE documentation is regularly updated to provide developers with in-depth information about new features in the Java platform. You can downloadJava SE 6 (JDK 6) Documentation and this documentation available at theJDK download page (
Step 1
)..Click "Download Zip" buttonPlease Select Language (English) and check License Agreement button thenclick on "Continue"After that Download JDK DocumentationNow you need to extract JDK Documentation. For example in C drive (C:\)
Step:
 
2Setup JDK on your machine:
Now you need to double click on executable JDK, depending on your systemconfiguration it might take little time to initiate. Now you will see an installationwizard and follow the instruction to install JDK.Now click on "Next"
Figure 1: JDK installation
© 2011OpenSourceBangladesh
 
Habibur Rahman (OpenSourceBangladesh.org) TigerHATSTeammmmhabib@gmail.comDhaka, Bangladesh
You will see that Default selected "Development Tools"You can select others feature likes "Demos and Samples", "Source Code","Java DB" simply by clicking the down arrow button which will show you belowoption "This feature will installed on local hard drive"Figure 2 shows the default installation directory (C drive) click "Next"Then click "Finish" button
Figure 2: JDK installation
Step:
 
3Setup Environment Variable:
Right Click on “My Computer” on Desktop icon and select and click on"Properties" buttonClick on "Advanced" buttonClick on “Environment Variables"
© 2011OpenSourceBangladesh

Share & Embed

More from this user

Add a Comment

Characters: ...