Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Newcomers » Newcomers » Installing Eclipse Temurin JRE to Non-Default Location(Installing Eclipse Temurin JRE to Non-Default Location)
Installing Eclipse Temurin JRE to Non-Default Location [message #1857822] Mon, 27 February 2023 19:31 Go to next message
Eclipse UserFriend
I'm installing Eclipse Temurin Adoptium JRE 11 to non-default location (to "C:\Non-Default-Path\Eclipse Adoptium" instead of "C:\Program Files\Eclipse Adoptium").

But it always gets installed to the default location (to "C:\Program Files\Eclipse Adoptium").

Does Adoptium JRE 11 msi distribution file "OpenJDK11U-jre_x64_windows_hotspot_11.0.18_10.msi" supports command line installation to non-default location?

I'm using following command format:
"msiexec /i <jre>.msi /l*v <file>.log /qn INSTALLDIR=C:\Non-Default-Path\Eclipse Adoptium"

I see "Ignoring disallowed property INSTALLDIR" in the log file.

What property name MSI file supports for Non-Default location, should I use INSTALLDIR or different property?

Thanks so much!

[Updated on: Mon, 27 February 2023 23:53] by Moderator

Report message to a moderator

Re: Installing Eclipse Temurin JRE to Non-Default Location [message #1857832 is a reply to message #1857822] Tue, 28 February 2023 08:30 Go to previous messageGo to next message
Eclipse UserFriend
It's best to start a discussion or open an issue here:

https://github.com/adoptium/adoptium-support
Re: Installing Eclipse Temurin JRE to Non-Default Location [message #1858127 is a reply to message #1857822] Thu, 16 March 2023 14:08 Go to previous messageGo to next message
Eclipse UserFriend
I have the same issue. I would be very grateful if you could share with me the solution or link your post here.
Re: Installing Eclipse Temurin JRE to Non-Default Location [message #1858182 is a reply to message #1858127] Mon, 20 March 2023 21:30 Go to previous messageGo to next message
Eclipse UserFriend
Explicitly running the CMD shell as administrator fixed the issue. Also need to include ADDLOCAL feature:

"msiexec /i .msi /l*v .log /qn ADDLOCAL=FeatureMain,FeatureEnvironment,FeatureJarFileRunWith,FeatureJavaHome INSTALLDIR=C:\Non Default Path\Eclipse Adoptium"

More details at
https://adoptium.net/installation/windows/
https://github.com/adoptium/adoptium-support/issues/722

[Updated on: Wed, 29 March 2023 13:56] by Moderator

Report message to a moderator

Re: Installing Eclipse Temurin JRE to Non-Default Location [message #1858332 is a reply to message #1858182] Wed, 29 March 2023 10:00 Go to previous messageGo to next message
Eclipse UserFriend
An old document

msiexec /i <path of msi> -- it will install all the features

while msiexec /i <path of msi> ADDLOCAL=f1,f2 -- it will install only f1 and f2 features
Re: Installing Eclipse Temurin JRE to Non-Default Location [message #1858495 is a reply to message #1858332] Wed, 05 April 2023 07:01 Go to previous messageGo to next message
Eclipse UserFriend
Is there a way to list all available features within an MSI package so that I can choose which ones to install using the ADDLOCAL parameter?
Re: Installing Eclipse Temurin JRE to Non-Default Location [message #1860326 is a reply to message #1858495] Fri, 28 July 2023 14:21 Go to previous messageGo to next message
Eclipse UserFriend
arshi agarwal wrote on Wed, 05 April 2023 07:01
Is there a way to list all available features within an MSI package so that I can choose which ones to install using the ADDLOCAL parameter?

Yes, you can list all available features within an MSI package by using the msiexec command-line tool. This tool allows you to interact with Windows Installer packages (MSI files) and provides various options for installation and configuration.
Re: Installing Eclipse Temurin JRE to Non-Default Location [message #1860354 is a reply to message #1860326] Mon, 31 July 2023 19:51 Go to previous messageGo to next message
Eclipse UserFriend
I have the same issue
Re: Installing Eclipse Temurin JRE to Non-Default Location [message #1860488 is a reply to message #1860354] Wed, 09 August 2023 20:54 Go to previous messageGo to next message
Eclipse UserFriend
Hey! Looks like the MSI file might not support the INSTALLDIR property. You could try using INSTALLLOCATION instead. Give it a shot like:
"msiexec /i <jre>.msi /l*v <file>.log /qn INSTALLLOCATION=C:\Non-Default-Path\Eclipse Adoptium"

Might do the trick! Good luck!
Re: Installing Eclipse Temurin JRE to Non-Default Location [message #1862166 is a reply to message #1860488] Thu, 16 November 2023 06:36 Go to previous messageGo to next message
Eclipse UserFriend
Zachary Price wrote on Wed, 09 August 2023 20:54
Hey! Looks like the MSI file might not support the INSTALLDIR property. You could try using INSTALLLOCATION instead. Give it a shot like:
"msiexec /i <jre>.msi /l*v <file>.log /qn INSTALLLOCATION=C:\Non-Default-Path\Eclipse Adoptium"
gorilla tag
Might do the trick! Good luck!

it's working! Thank you!

[Updated on: Fri, 17 November 2023 02:14] by Moderator

Report message to a moderator

Re: Installing Eclipse Temurin JRE to Non-Default Location [message #1862402 is a reply to message #1862166] Fri, 01 December 2023 15:31 Go to previous messageGo to next message
Eclipse UserFriend
The correct command format is:

msiexec /i <jre>.msi /l*v <file>.log /qn INSTALLLOCATION=C:\Non-Default-Path\Eclipse Adoptium
This will install the JRE to the specified non-default location.
Re: Installing Eclipse Temurin JRE to Non-Default Location [message #1862872 is a reply to message #1862402] Wed, 03 January 2024 09:56 Go to previous messageGo to next message
Eclipse UserFriend
The MSI file for Adoptium JRE 11 does not support the INSTALLDIR property for non-default location installation.
Re: Installing Eclipse Temurin JRE to Non-Default Location [message #1866735 is a reply to message #1862872] Thu, 06 June 2024 06:24 Go to previous messageGo to next message
Eclipse UserFriend
What is the purpose of the /l*v <file>.log option in the msiexec command, and how does it affect the installation of the JRE to a non-default location?
Re: Installing Eclipse Temurin JRE to Non-Default Location [message #1869429 is a reply to message #1866735] Fri, 16 August 2024 10:10 Go to previous message
Eclipse UserFriend
Vance Koepp wrote on Thu, 06 June 2024 06:24
What is the purpose of the /l*v <file>.loglow's adventures
option in the msiexec command, and how does it affect the installation of the JRE to a non-default location?

The /l*v <file>.log option helps you troubleshoot issues during the installation of JRE to a non-default location by providing a comprehensive log of the installation process.
Previous Topic:Sorting problem in Project Explorer
Next Topic:How to disable flashing/blinking cursor in Eclipse IDE?
Goto Forum:
  


Current Time: Sat Feb 15 20:48:27 GMT 2025

Powered by FUDForum. Page generated in 0.11059 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top