JAVA Development Environment

Object Oriented Programming abbreviated as OOP!
If you are a software, computer, electrical engineer or planning to be an engineer, then you are going to hear this word a lot and you won’t be able to get rid of this thing, because OOP is the most important programming language model. And JAVA is the best language which supports Object Oriented Programming.

This technology, JAVA, is used widely in industry for developing applications for Enterprise systems. JAVA is basically derived from C-language and like other languages, it has its own syntax rules, structure and programming paradigm.
Here, in this post I will tell you how to set JAVA development environment on your system, which compiler or IDE you should use.

JAVA Compiler and JVM(JAVA Virtual Machine)

JAVA source code is written in .java files. JAVA compiler compiles .java files and writes out bytecode in .class file. When you will compile the .java file, you will see .class file have been created by JAVA compiler.
JAVA Virtual Machine (JVM) reads the bytecode .class file and interprets it. JVM then executes the program and run the instructions written in source code. JVM is the heart of JAVA language’s “write-once, run-anywhere” and it makes any chipset feasible for running/executing any JAVA code.

JDK(JAVA Development Kit) and JRE(JAVA Runtime Environment)

JDK is JAVA Development Kit, contains all the required tools for JAVA development. As the name shows, it is a complete kit for JAVA development. For JAVA development, you need to install this on your systems and by installing means JAVA compiler, Some important tools for JAVA development like JRE and a complete class of pre-built utilities will be downloaded. These pre-built libraries/functions can be used while programming. They will help you accomplish most common application development tasks.
JAVA Runtime Environment (JRE), as name shows that it is responsible for runtime execution of code. JVM(JAVA Virtual Machine), code libraries and many important components that can be used in your tasks are included in JRE.

IDE(Integrated Development Environment) for JAVA

There are many IDEs available for JAVA development like, NetBeans, IntelliJ, Eclipse, Android Studio, jGRASP, jEDIT. You can compile .java file on command line or you can download any above mentioned IDE for compiling .java file.But I will use Eclipse for this tutorial. If you are confused about the difference between IDE and Compiler then refer to this link.

Setting Up your JAVA Development Environment

For setting up a complete JAVA development Environment on your Systems, you need to install JDK and Eclipse IDE on your systems.

System requirements:
– Operating System (Windows XP/Vista/7/8/10, Linux, Mac OS X, Solaris)
– 100 MB of free space
– At least 64 MB of RAM

Install JDK:
– Go to https://java.com/en/
– Click “Free JAVA Download”
1
– Agree to the license term
– Select the file according to your Operating System.
2
– Let the selected file download on your system.
– Run the file downloaded by java.com.
– Follow the steps prompted after running the above mentioned file.
3
– JDK will be downloaded and installed on your system.

Install Eclipse:
– Eclipse packages are available on this link.
– Select “Eclipse IDE for JAVA developers” and click it.
4
– Select your OS and let the file download on your system
5
– After downloading, open the file and run the Installation program.
– Follow the steps and your eclipse will be installed on your system.

Setting Up Eclipse:
– Launch Eclipse.
– Select workspace(folder where you want to save the programs) or select default workspace.
1
– Close the “Welcome to Eclipse” window.
– Select Window(from top tools bar) > Preferences > JAVA > Installed JREs.

23
– Installed JREs window will be prompted and Select the JRE you installed earlier. If the JRE is not mentioned in list then click “Add” and select the directory where you had installed the JRE(mentioned in Install JDK steps).
4
– Select the JDK and click Finish.

Your environment is now set! You can start programming JAVA and Enjoy!

I hope this will be helpful. You are always welcome to ask question or clear your confusion. Comment below if there is any mistake or you have any extra knowledge related to topic.

Thanks!

22 thoughts on “JAVA Development Environment

  1. Hello! I’ve been reading your site for some time now and finally got the courage to go ahead and give you a shout out from Atascocita Tx! Just wanted to tell you keep up the good job!|

    Liked by 1 person

  2. I think this is among the most important information for me. And i’m glad reading your article. But want to remark on few general things, The web site style is wonderful, the articles is really great : D. Good job, cheers|

    Liked by 1 person

  3. I was excited to find this site. I need to to thank you for your time due to this wonderful read!! I definitely really liked every little bit of it and i also have you book-marked to check out new stuff in your website.|

    Liked by 1 person

  4. Whats up very cool blog!! Guy .. Excellent .. Superb .. I’ll bookmark your site and take the feeds also? I’m satisfied to seek out numerous helpful information right here within the publish, we want develop extra strategies on this regard, thank you for sharing. . . . . .|

    Liked by 1 person

  5. This is really attention-grabbing, You’re a very professional blogger. I’ve joined your feed and sit up for in quest of more of your wonderful post. Additionally, I have shared your site in my social networks|

    Liked by 1 person

  6. Hey there! I realize this is kind of off-topic however I had to ask. Does managing a well-established website such as yours take a large amount of work? I’m completely new to running a blog however I do write in my diary every day. I’d like to start a blog so I can share my own experience and feelings online. Please let me know if you have any recommendations or tips for brand new aspiring blog owners. Appreciate it!|

    Liked by 1 person

  7. Oh my goodness! Incredible article dude! Many thanks, However I am experiencing problems with your RSS. I don’t know why I cannot join it. Is there anybody else having similar RSS issues? Anyone that knows the answer can you kindly respond? Thanx!!|

    Liked by 1 person

Leave a reply to Vance Cancel reply