Java - Environment Setup
Java - Environment Setup
In this chapter, we will discuss on the different aspects of setting up a congenial environment for
Java.
Java SE is freely available from the link Download Java . You can download a version based
on your operating system.
Follow the instructions to download Java and run the .exe to install Java on your machine. Once
you installed Java on your machine, you will need to set environment variables to point to correct
installation directories −
Example, if you use bash as your shell, then you would add the following line to the end of your
'.bashrc: export PATH = /path/to/java:$PATH'
Notepad − On Windows machine, you can use any simple text editor like Notepad
(Recommended for this tutorial), TextPad.
https://www.tutorialspoint.com/java/java_environment_setup.htm 1/2
4/8/23, 8:41 AM Java - Environment Setup
Netbeans − A Java IDE that is open-source and free which can be downloaded from
https://www.netbeans.org/index.html .
Eclipse − A Java IDE developed by the eclipse open-source community and can be
downloaded from https://www.eclipse.org/ .
What is Next?
Next chapter will teach you how to write and run your first Java program and some of the
important basic syntaxes in Java needed for developing applications.
https://www.tutorialspoint.com/java/java_environment_setup.htm 2/2