I downloaded the newst 1.8.65 JDK a few days ago an the javac file is missing
in case someone believes I accidently downloaded the JRE, here are 2 screenshots
when I browse to the directory I installed the JDK in
C:\Enwicklung\JDK\1.8.65\bin
the javac.exe file isn't there where it should be, as you can see in this second screenshot
can anyone confirm this? tried to install the JDK a second time without any change.
EDIT: of course I searched the whole drive for a javac.exe, no match was found
The javac and javah tools are provided by the java-1.8.
When the Java is not installed in our system and we try to run Javac command, we get Javac command not found or Java is not Recognized. We can also get this error when Java is installed in our system but the path is not added to the system's environment variable. Javac command is used to compile our java program.
The JRE doesn't have javac - you need to download the JDK (Java Development Kit).
I was able to solve the "problem" myself. after rechecking every letter of the installation process.
During installation, the installer asks you where you want to install the JDK
I chose the folder C:\Enwicklung\JDK\1.8.65\
A progress bar is displayed and installation continues
Then you are asked
for non-German native speakers
Zielordner = target folder Ändern = change
In this view, the installation process is asking in which folder I want to install Java
I chose the folder C:\Entwicklung\JDK\1.8.65\
again this leads to the following conflict
in C:\Entwicklung\JDK\1.8.65\
there was a bin\
folder of the JDK installation
The JRE aka its alias Java, which a mindful reader should have noticed, but I obviously missed twice, was installed in the same location overwriting the bin\
folder of the JDK with the bin\
folder of the JRE, deleting all files.
An unneeded mistake on my side. Unfortunately, the German installation process doesn't state anywhere that the JRE is being installed except in the folder name of the Zielorder view and that it's installed in the base folder structure.
In my defense, the installation process does not state explicitly that the JRE is being installed next and the installation, at least in this German version, doesn't warn that folders and files are going to be overwritten, which is an undesirable effect from my point of view.
NOTE: I left the predefined folder name as C:\Program Files\Java\jre1.8.0_65
because otherwise after changing it to C:\Entwicklung\JDK\1.8.65\
there would have been no indication for you to know that the JRE is being installed
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With