Jan 03
A beginner’s appraoch to JAVA
January 3, 2008 – 10:26 pmUpdated on: 02 August, 2008 at 11:51 PM IST
So here I am again with something related to programming after a long time.
Why JAVA ?
- Its Portable (write once and run anywhere)
- Its Reusable (Follow the concept of OOP- object oriented programming)
- Its Modular (A problem can be divide into smaller modules and worked through efficiently)
- Rich set of Classes/Libraries (You never need to reinvent the wheel)
Prerequisites :
- Basic Class and Object concepts (C++)
- Any programming language basic knowledge
- Good logical skills (for hardcore programming)
Getting Started:
- First you should have JAVA JDK installed with JAVA runtime environment
- Download it from here JAVA 1.6 JDK
- Click on Accept radio button and proceed with the offline installation (the first file of 65.64MB).
- After downloading install it.
- Now after the installation has finished you have to set the path of the JAVA bin directory to provide javac compiler while compiling JAVA programs.
- For windows press “WIN + Pause Break” key or go to START> My Computer > right click and select properties.
- Now go to advanced tab > clcik on Environment Variables
- Click on New button in User variables
- Give the Variable name as “path” (without quotes)
- Give Variable value as the path to the bin directory inside the JAVA installation direcory as “C:\Program Files\Java\jdk1.6.0_03\bin” here I have installed JAVA in C: drive.
- Stop, Thats all for setting up things to start with a hello world program in next section
- Here is the stepwise procedure with screen shots to supplement the above text for the environment variable setup













3 Responses to “A beginner’s appraoch to JAVA”
Yeah me to done with C++.. Now will study Java on my own from 15th (Exam is ending on that day…)
Java is better then C++ anyway…
(Nice blog so I am gonna add you to friend’s blog list in my blog….)
By Quiz_Master on Fri 04th Jan, 2008
JAVA certainly is an art. The more you learn the more you love it. It’s a community effort

May ur exams go well
By visio159 on Fri 11th Jan, 2008