Opened 3 years ago

Last modified 3 years ago

#2337 open defect

Windows Installer doesn't seem to properly detect JRE under RUNASINVOKER

Reported by: jjre232 Owned by:
Priority: minor Milestone: undecided
Component: installer Version: 0.9.37
Keywords: windows, java Cc:
Parent Tickets: Sensitive: no


On Windows 7 x64, when running the installer as

set __COMPAT_LAYER=RUNASINVOKER && start i2pinstall_0.9.37_windows.exe

I receive the error message "This application requires a Java Runtime Environment 1.7.0". Pushing OK opens a link to download java.

However, Java 1.8.0_181 is already installed (along with other versions). Manually changing the PATH variable to 1.7.0_25 results in the same error message.

As a side note, I typically have multiple versions of JRE installed to separate folders and just change the Windows PATH variable as needed. After manually changing the path, running java -version always correctly reports the intended version, however the installer doesn't seem to be detecting it based on that. I've tested 1.7.0_25 x32 and x64 as well as 1.8.0_181 x32 and x64.

I don't know if this is from running the application under RUNASINVOKER or from my non standard Java install.


Change History (1)

comment:1 Changed 3 years ago by zzz

Status: newopen
Note: See TracTickets for help on using tickets.