forge icon indicating copy to clipboard operation
forge copied to clipboard

Forge.exe complains it needs JRE 11.0.1 even though I have it installed.

Open BigCasper opened this issue 1 year ago • 6 comments

Forge doesn't launch correctly and opens a window saying "This Application needs Java Runtime Enviroment 11.0.1" and opens the oracle site to download the JDK 21 (for some reason).

I have the JRE 11.0.24 installed (which should be backwards compatible with 11.0.1).

Reproduction: Have the 11.0.24 JRE installed. Run Forge.exe

BigCasper avatar Oct 12 '24 16:10 BigCasper

Forge doesn't launch correctly and opens a window saying "This Application needs Java Runtime Enviroment 11.0.1" and opens the oracle site to download the JDK 21 (for some reason).

I have the JRE 11.0.24 installed (which should be backwards compatible with 11.0.1).

Reproduction: Have the 11.0.24 JRE installed. Run Forge.exe

seems your default Java is set to Java 8 (1.8), try this:

  1. Uninstall all Java Versions
  2. Install Java 17 (or higher)
  3. Run Forge.exe (Desktop UI) / Forge-adventure.exe (Mobile UI)

kevlahnota avatar Oct 12 '24 23:10 kevlahnota

Forge doesn't launch correctly and opens a window saying "This Application needs Java Runtime Enviroment 11.0.1" and opens the oracle site to download the JDK 21 (for some reason). I have the JRE 11.0.24 installed (which should be backwards compatible with 11.0.1). Reproduction: Have the 11.0.24 JRE installed. Run Forge.exe

seems your default Java is set to Java 8 (1.8), try this:

  1. Uninstall all Java Versions
  2. Install Java 17 (or higher)
  3. Run Forge.exe (Desktop UI) / Forge-adventure.exe (Mobile UI)

I don't even have Java 8 installed. I got 11, 17 and 21.

BigCasper avatar Oct 13 '24 20:10 BigCasper

Forge doesn't launch correctly and opens a window saying "This Application needs Java Runtime Enviroment 11.0.1" and opens the oracle site to download the JDK 21 (for some reason). I have the JRE 11.0.24 installed (which should be backwards compatible with 11.0.1). Reproduction: Have the 11.0.24 JRE installed. Run Forge.exe

seems your default Java is set to Java 8 (1.8), try this:

  1. Uninstall all Java Versions
  2. Install Java 17 (or higher)
  3. Run Forge.exe (Desktop UI) / Forge-adventure.exe (Mobile UI)

I don't even have Java 8 installed. I got 11, 17 and 21.

Did you try launching the forge.cmd instead of forge exe?

kevlahnota avatar Oct 13 '24 21:10 kevlahnota

yeah. it opened cmd for a sec and then closed it. that's it.

BigCasper avatar Oct 13 '24 21:10 BigCasper

I'm having this same issue, I have openjdk 23.0.1 2024-10-15 in Windows. It's the only installation I have installed. Running forge.cmd works with this output in cmd:

Forge v.1.6.65 (forge.GuiDesktop@58ea606c)
Windows 11 (10.0 amd64)
Oracle Corporation (Java 23.0.1+11-39, OpenJDK 64-Bit Server VM)

matenwego avatar Oct 27 '24 22:10 matenwego

I'm having this same issue, I have openjdk 23.0.1 2024-10-15 in Windows. It's the only installation I have installed. Running forge.cmd works with this output in cmd:

Forge v.1.6.65 (forge.GuiDesktop@58ea606c)
Windows 11 (10.0 amd64)
Oracle Corporation (Java 23.0.1+11-39, OpenJDK 64-Bit Server VM)

This is fixed on 2.0.00 snapshot since java 16 and below support is dropped. Java 17 is the minimum on 2.0.00

kevlahnota avatar Oct 27 '24 22:10 kevlahnota

This issue has not been updated in a while and has now been marked as stale. Stale messages will be auto closed.

github-actions[bot] avatar Nov 27 '24 09:11 github-actions[bot]

This issue was closed because it has been stalled for 5 days with no activity.

github-actions[bot] avatar Dec 02 '24 09:12 github-actions[bot]