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
Anna Silchenko is currently offline Anna SilchenkoFriend
Messages: 2
Registered: February 2023
Junior Member
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]

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
Ed Merks is currently offline Ed MerksFriend
Messages: 33258
Registered: July 2009
Senior Member
It's best to start a discussion or open an issue here:

https://github.com/adoptium/adoptium-support


Ed Merks
Professional Support: https://www.macromodeling.com/
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
Maurice McKinney is currently offline Maurice McKinneyFriend
Messages: 3
Registered: March 2023
Junior Member
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
Anna Silchenko is currently offline Anna SilchenkoFriend
Messages: 2
Registered: February 2023
Junior Member
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]

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
Lam Kimvo is currently offline Lam KimvoFriend
Messages: 1
Registered: March 2023
Junior Member
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
arshi agarwal is currently offline arshi agarwalFriend
Messages: 2
Registered: September 2022
Location: Canada
Junior Member
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?

Hi, I am Arshi Agarwalg
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
Rock jonn is currently offline Rock jonnFriend
Messages: 1
Registered: June 2023
Location: USA
Junior Member
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.


RockJonn
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
Fosea Nusa is currently offline Fosea NusaFriend
Messages: 1
Registered: July 2023
Junior Member
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
Zachary Price is currently offline Zachary PriceFriend
Messages: 5
Registered: August 2023
Junior Member
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
Byrd Franklin is currently offline Byrd FranklinFriend
Messages: 2
Registered: December 2022
Junior Member
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]

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
Roland Hofmann is currently offline Roland HofmannFriend
Messages: 1
Registered: December 2023
Junior Member
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
Kenna Anna is currently offline Kenna AnnaFriend
Messages: 3
Registered: January 2024
Junior Member
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
Vance Koepp is currently offline Vance KoeppFriend
Messages: 2
Registered: June 2024
Junior Member
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
Harriet  Irving is currently offline Harriet IrvingFriend
Messages: 1
Registered: August 2024
Junior Member
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:How to read in/write to a file in Eclipse C
Next Topic:How to disable flashing/blinking cursor in Eclipse IDE?
Goto Forum:
  


Current Time: Thu Dec 05 11:13:47 GMT 2024

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

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

Back to the top