zzz.i2p

Development discussions
I2P installer and program cannot recognize java > 1.8 on Windows « Bug Reports and Feature Requests « I2P Help, Hints, Advice
 
Fri, 28 Feb 2020, 06:18am #1
fzh2003
Contributor

When I ran the installation program,it said that the application requires a Java Runtime Environment 1.7.0.I must extract the install.jar in the exe and run ```java -jar install.jar``` myself and it could work.
However,after I installed it,it also cannot start,showing the same message.````java -jar \path\to\i2p.exe```or javaw can work.
It happens on original JDK,OpenJDK and GraalVM.No matter I use ```ant pkg``` to build,or use ```ant installer-windows```,or just download the prebuilt exe,the issue exists.Please help me.

Fri, 28 Feb 2020, 02:20pm #2
zzz
Administrator
Zzz

It appears that JRE 11 or higher for windows does not exist. Oracle wants devs to use jlink.

Only the JDK is available and that requires signing up on Oracle.

JRE 9 and 10 downloads are obsolete and gone.

So JRE 8 is still the thing for windows.

I don't know why all the JDKs don't work. Please provide a link to a free JDK that you tested.

I just checked in a change to our download page to recommend JRE 8 for Windows.

Sun, 01 Mar 2020, 06:34am #3
fzh2003
Contributor

zzz wrote:

It appears that JRE 11 or higher for windows does not exist. Oracle wants devs to use jlink.

Only the JDK is available and that requires signing up on Oracle.

JRE 9 and 10 downloads are obsolete and gone.

So JRE 8 is still the thing for windows.

I don't know why all the JDKs don't work. Please provide a link to a free JDK that you tested.

I just checked in a change to our download page to recommend JRE 8 for Windows.

https://adoptopenjdk.net/releases.html
https://www.graalvm.org/downloads/
https://www.oracle.com/java/technologies/javase...
all of these cannot work directly,but can use command to run it.
Add,JDK11 is much more faster than jre8,so I want to use these programs

Sun, 01 Mar 2020, 03:54pm #4
zzz
Administrator
Zzz

Did you test both adoptopenjsk "hotspot" and "openj9" ?
Haven't gotten any answers in the ticket:

http://trac.i2p2.i2p/ticket/2691

Mon, 02 Mar 2020, 12:41am #5
fzh2003
Contributor

zzz wrote:

Did you test both adoptopenjsk "hotspot" and "openj9" ?
Haven't gotten any answers in the ticket:

http://trac.i2p2.i2p/ticket/2691

Yes,of course.Both of them cannot work.

Mon, 02 Mar 2020, 01:19pm #6
zzz
Administrator
Zzz

ok, thanks for the report.