Meaning if you are developer, you need JDK, otherwise JRE is ok. To install JRE use this command after getting root access with su apt get install default jre. Depending on what kind of Debian install you did CD, DVD, USB drive, this might or might not be already installed. On the other hand, JDK is most probably not installed. To install it, type apt get install default jdk. And you are set to go. Installing Oracle Java. Install-VMware-Tools-in-Kali-Linux-2-Sana-Step-6.jpg' alt='Install Vm Tools On Kali Linux Download' title='Install Vm Tools On Kali Linux Download' />Kali Linux is a Debianderived Linux distribution specifically designed for digital forensics and penetration testing. To install Oracle java we can use Webupd repository that is made for Ubuntu, but it also works for Debian. To add repository you first need to add add apt repository command if it is not installed and that depends upon install options you selected. After installing this, we can add repositoryadd apt repository deb http ppa. Repository is still not ready to use, we need to add key, we will see what key is missing after we run update commandapt update. Next we add key apt key adv keyserver keyserver. C2. 51. 82. 48. EEA1. And now we can install Oracle Java 8apt get install oracle java. This will start install process, it will download newest Java 8 from Oracle site and install it. You will also get prompted by ncurses environment to accept the Oracle EULA for Java. After it is done, you can run following command to see which exact version you have installedjava version. Should get output similar to thisjava version 1. JavaTM SE Runtime Environment build 1. Java Hot. SpotTM 6. Bit Server VM build 2. Ubuntu b n t u stylized as ubuntu is an open source operating system for computers. It is a Linux distribution based on the Debian architecture. After a hard work, Finally prepared a Post with 101 free tools which are absolutely free. This tools helps VMware administrators to manage the virtual environment. What if you could throw a virtual party whenever you want that your friends from around the world could attend at a seconds notice Thats the idea behind. Install-VMware-Tools-in-Kali-Linux-2.jpg' alt='Install Vm Tools On Kali Linux Download' title='Install Vm Tools On Kali Linux Download' />If we need Java 9 development version as of time of writing or Java 7 or 6 legacy versions, we can install those as well. We need to re run above command, except we will change number 8 for 6, 7 or 9. Managing which Java will be using by default. Of you installed Oracle Java 6, 7, 8 and 9, plus Open. JDK, then you have 5 java installations. If you are developing for the legacy environment, you would want to set your system to use only one Java version, and to do that you dont need to remove all other java versions. Instead, you need to use following command update alternatives config java. It will give you output similar to this. Here you only need to enter the number that is shown before Java entry that you want to use as default. The asterisk signifies which one is used currently. After you changed the java alternative, the java version command should give you different output. You could also select default java compiler with following commandupdate alternatives config javac. Any other tool like javaws can be also set simply by changing last word in this command to appropriate tool name. Setting the Environment Variable. If you are using some Java Application server like JBoss or Tomcat, then you will need JAVAHOME variable set. To set it use above update alternatives config java command to see where java is installed. Then edit following file in nanonano etcenvironment. If you just installed Java, file is empty, so add some line like this. JAVAHOMEusrlibjvmjava 8 openjdk amd. That is if you want Open. JDK to be your JAVAHOME. Save file and run source command to load new variablesource etcenvironment. Now check if it worksecho JAVAHOMEit should give you output like this to thisusrlibjvmjava 8 openjdk amd. That means that environment variable has been successfully set. Conclusion. We have successfully installed Open. JDK and Oracle Java SE and now have the environment set up so you can on top of it install some Java EE application servers like Red Hat JBoss, Oracle Web. Logic, Wild. Fly or Apache Tomcat. On top of that you can develop and deploy your application. Or you simply want to have plain Java SE desktop applications on your Debian 9 desktop. Free Online Sprinkler System Design Software on this page. Either way, now you can do it.