Java Programming for Beginners

Java is an objectoriented programming language. Java is also platform independent, so you don't need to worry about the operating system you are using. Java is supported by all type of operating system. As well you can code in one OS and run it into another OS.

Getting started with Java programming is not a hard job. Java provide its all software and development kits free of cost. Anyone can download Java development kit and Java run time environment from official website of Java.

Java for Beginners
To develop and run a normal Java programmed application you will need few necessary software's and also need to follow few important steps which all are mention below.




Software need to download for Java programming

1. Java run time environment or JRE (latest version preferred)
2. Java development kit or JDK (latest version preferred)
3. Any Integrated development environment for Java or you can simply have any text editor for writing your code.
Also Read: Best Java IDE


What is JDK and JRE?

As discuss above that you can run Java in any platform that is true only because Java provide JDK and JRE for development.

Java development kit is binary product provided by Java which contains many important files like Java docs, libraries, jar files, applet viewer, and loader for Java application and many more. Without these it is not possible to develop or run any Java program. This is software development kit provided by Java for the Java developer.

Java run time environment is the binary file which help to create a separate virtual environment to run the Java byte code. This is nothing but called Java virtual machine environment. This virtual environment help Java byte code to run in any operating system and in any configuration.

Important steps to develop and run your first Java program

Follow the following simple steps to develop and run your first Java program.

1. First of all download all essential software's which are mention as above. You need to download and install JDK and JRE also you need IDE like net beans or eclipse. If you don't have any IDE software than you can do it with any text editor also like notepad.
2.
i. If you are using any IDE than it’s very easy to write and run a Java code. You just need to create a new Java application project from menu option in your IDE. After you finish you need to run it by run button. That's it, you are done.

ii. If you are using notepad or any text editor than you need to take care of few more steps to run your Java code.
Please read how to run Java program using notepad

3. After following above two steps you are able to deploy your Java application. You can find .class files in class directory or binary directory of you editor. In case you used notepad to build your code and used command prompt to compile it than you can find your classes in your class path which you can find using class path command.

Conclusion

This post mean to explain Java programming to beginners. So any beginners can easily start coding in Java after reading this post by following above steps. So if you are completely new to Java than just follow above explanations and start coding in Java.

After you run a simple hello world program in Java you can move to further complicated programs.

Share this post
  • Share to Facebook
  • Share to Twitter
  • Share to Google+
  • Share to Stumble Upon
  • Share to Evernote
  • Share to Blogger
  • Share to Email
  • Share to Yahoo Messenger
  • More...

2 comments:

  1. Excellent post. I used to be checking continuously this weblog and
    I'm inspired! Very useful info specifically the last section :
    ) I care for such information a lot. I used to be seeking this particular information for a very long
    time. Thank you and best of luck.

    Feel free to visit my page ... search engine

    ReplyDelete