Monday, March 21, 2011

Tips for Beginners.....

This post is for the beginners.If you'v just started to learning java then try following tips and enjoy fast and easier java development........

1.Use sun's JavaSE JDK1.6 (available at: http://www.oracle.com/technetwork/java/javase/downloads/index.html)
2.Use Java6 documentation to explore java (available at: http://download.oracle.com/javase/6/docs/api/)
3.Use Netbeans6.9.1 IDE (available at: http://netbeans.org/downloads/index.html)


Now first  download these.Then follow following steps......

1.Install JavaSe6 and set the path for javac.
     To set path in windows first navigate to C:\Program Files\Java\jdk1.6.0_21\bin and find javac.exe and right click to javac and copy the path.Now go to desktop right click on My Computer then click Properties now click on advanced tab and the click on Environment Variable button the select path and edit then go to end of line and terminate with ";" and then paste the path now click Ok. To check the path write javac on cmd if no error found and list of commands appears means path is set successfully.
2.Install Netbeans and activate the java SE.To do so select new project from file and then select Java Project.
Now your java se in netbeans is activate.

Now to learn how to use netbeans IDE  use following tips.......

To do any think in Netbeans we have to make a project.
1.So start working with netbeans.File|New Project.Select Java in categories and and java application in projects.
2.Now then File|New File.Then select Java in categories and Java Class in file type and specify the name.
Now you can make your application here to run use Shift+f6.

For more info to use Netbeans IDE log on to http://netbeans.org/kb/docs/java/quickstart.html.

1 comment: