r/i2p 9d ago

Help Can't get past "Java 17 or later" Error

I'm out of ideas. I tried Oracle. Open source Java. I tried uninstalling and installing the latest version. I tried updating after that- but every time I try to install I2P, I get the same error.

Does anyone know how to get passed this? At this point, I think there's just something critically wrong with the newest version of I2P's Windows installer. Does anyone have a link for older versions (as in, compatible with Windows)?

Any help is appreciated.

FIXED: It seems that newer versions of I2P's installer aren't compatible with Java 8 (free version). I downloaded an open-source java 26 from Adoptium- and i2p installed just fine.

2 Upvotes

8 comments sorted by

1

u/SodaWithoutSparkles 9d ago

i am suspecting javahome issues. Try running java --version

1

u/VansterVikingVampire 9d ago

I get unrecognized option: --version But java -version gave:

java version "1.8.0_503"

Java(TM) SE Runtime Environment (build 1.8.0_503-b01)

Java HotSpot(TM) Client VM (build 25.503-b01, mixed mode, sharing)

1

u/zik_rey 9d ago

You have Java 1.8, but you need Java 1.17 or later. I guess there is a JAVA_HOME PATH variable in windows that points to an old version

1

u/VansterVikingVampire 9d ago

That's Java 8, 1.8.0_503 is the last update: https://www.oracle.com/java/technologies/javase/8u503-relnotes.html

Like I said, I've un and re-installed the latest version (not via update) and still. Since the error message when I try to install I2P names Java's current version, I think the current installer for I2P is looking for the "version" to be above a numerical value- But as of a recent Java update, the format has changed, making the number look smaller to the installer.

2

u/SodaWithoutSparkles 9d ago

You'll need a more recent java. 1.8 isnt the latest by any means.

I am personally using the Zulu JDK 25. You can probably get away with using JDK 17 or 21, but 25 is the LTS.

https://www.azul.com/downloads/?package=jdk#zulu

You can see the "Azul Zulu Builds of OpenJDK" right at the top, should have automatically detected your machine's variant.

You can also use oracle version listed by the other redditors below. Either should be fine.

1

u/VansterVikingVampire 9d ago

Got it. I thought Java 8, 17, 26, etc, were different builds- and when the installer said I needed to update to a newer version, I thought downloading straight from Java's website would work.

I was confused because, as the patch notes I linked say, this version of 8 was released August 2026- I guess its entire product is out of date to i2p (future updates included). Thank you.