Setting your Java environment – Eclipse; java IDE Installation and first run

Get your hands on your keyboard and type Oracle Java installation in google search bar or follow the steps here below.

  1. Go to “https://www.oracle.com/java/technologies/downloads”
  2. Chose your machine’s version of installer and download. It is a good practice to choose an installation directory rather than your program Files in Windows so windows security feautures would not block your java processes.
  3. Once you finish installation define a system environmnet variables from system properties on Windows machines. Add a user variable as JAVA_HOME and continue defining installation directory. As in the example here :  you can check your Java installation file path from your commandline. Type “java -version” to check if your java installation is integrated with the system, if not you may again need a restart of your machine. If all is well type “echo %JAVA_HOME%” to see your java installation path which needs to be entered as variable value above in the window for your JAVA_HOME variable name entry. If above echo code does not work try these : “where java” in windows or “which java” for unix based systems like MacOs or Linux. Another method you can use in CMD in Windows is “for %i in (javac.exe) do @echo. %~$PATH:i”
  4. Then edit Path in your System variables and add a new environment variable entry. This is simply your Java bin folder you can find it in the installation path. A sample entry would as below. 

All done for basic Java JDK set up. Now we need to install a Java IDE to write our java codes and run them. To continue learning how to install your IDE follow the link here.


Some more explanations for newbees :

  • JDK is an abreviation for Java Development Kit.
  • IDE is an abreviation for Integrated development Environment.
  • To Learn More about Java installation and Java Programming Language here some useful links :
    • https://www.edureka.co/blog/java-tutorial/

Get your java development or selenium test environment ready. Here a very useful industry standart tool Eclipse, to use as our integrated development environment. We will download app install and set environment to run the app:

  1. Go to “https://www.eclipse.org/downloads/” download the corresponding version for your machine.
  2. Continue installer with Eclipse “IDE for Java Developpers.”
  3. Start a new maven project

Leave a Reply

Your email address will not be published. Required fields are marked *