Download+java+runtime+environment+160+new Here
Solution: JRE 6 has an outdated security slider. Lower it:
wget --no-check-certificate --user=YOUR_ORACLE_EMAIL --password=YOUR_ORACLE_PW \
https://download.oracle.com/otn/java/jdk/6u45-b06/jre-6u45-linux-i586.bin
chmod +x jre-6u45-linux-i586.bin
./jre-6u45-linux-i586.bin
Replace credentials with your Oracle account.
C:\Java\jre1.6.0_45\bin\java -version
Output should be:
java version "1.6.0_45"
Java(TM) SE Runtime Environment (build 1.6.0_45-b06)
Installing JRE 1.6.0_160 on modern Windows requires a few tweaks due to OS security hardening.
Step 1: Disable SmartScreen temporarily (for installation only) download+java+runtime+environment+160+new
Step 2: Run the installer as Administrator
Step 3: Follow the wizard
Step 4: Manage multiple Java versions If you already have Java 8, 11, or 17 installed, you must manage the PATH variable.
Step 5: Disable auto-update JRE 6’s auto-update will try to upgrade you to an unsupported version or fail. Uncheck "Check for Updates" immediately. Solution: JRE 6 has an outdated security slider
Do not set JAVA_HOME globally. Instead, use per-application launchers.