Welcome to the Java Programming Forums


The professional, friendly Java community. 21,500 members and growing!


The Java Programming Forums are a community of Java programmers from all around the World. Our members have a wide range of skills and they all have one thing in common: A passion to learn and code Java. We invite beginner Java programmers right through to Java professionals to post here and share your knowledge. Become a part of the community, help others, expand your knowledge of Java and enjoy talking with like minded people. Registration is quick and best of all free. We look forward to meeting you.


>> REGISTER NOW TO START POSTING


Members have full access to the forums. Advertisements are removed for registered users.

Results 1 to 7 of 7

Thread: Can't install JDK 9 because “Another Java installation is in progress”

  1. #1
    Junior Member
    Join Date
    Jun 2017
    Posts
    3
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Unhappy Can't install JDK 9 because “Another Java installation is in progress”

    I have been using JDK 9 on Windows 10 x64 for a while but when I went to install the latest early release (b174), I first uninstalled the previous version (as usual) and then ran the new installer.

    It fails with a message box saying "Another Java installation is in progress. You must complete that installation before you can run this installer".

    It seems there are some artifacts around causing the problem but only for JDK 9 as I can uninstall & reinstall JDK 8 without any issues. Also, the same problem occurs if I try to run the installers for any prior JDK 9 releases as well (even though they worked before).

    Searches have suggested various options like using a Microsoft MSI clean-up tool and registry hacks but nothing is helping.

    Can anyone suggest a way to get JDK 9 installed (as now I cannot use any release of JDK 9 at all)?

  2. #2
    Member John Joe's Avatar
    Join Date
    Jun 2017
    Posts
    277
    My Mood
    Amused
    Thanks
    8
    Thanked 19 Times in 19 Posts

    Default Re: Can't install JDK 9 because “Another Java installation is in progress”

    Also posted at https://stackoverflow.com/questions/...is-in-progress

    You using Window or Linux ?
    Whatever you are, be a good one

  3. #3
    Junior Member
    Join Date
    Jun 2017
    Posts
    3
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Unhappy Re: Can't install JDK 9 because “Another Java installation is in progress”

    Quote Originally Posted by John Joe View Post
    Also posted at https://stackoverflow.com/questions/...is-in-progress

    You using Window or Linux ?
    I'm using Windows 10 x64.

    Thanks :-)

  4. #4
    Member John Joe's Avatar
    Join Date
    Jun 2017
    Posts
    277
    My Mood
    Amused
    Thanks
    8
    Thanked 19 Times in 19 Posts

    Default Re: Can't install JDK 9 because “Another Java installation is in progress”

    Have you tried this ?

    SOLUTION 1

    Please follow the steps below for resolving this issue.

    1.Remove any traces of the failed Java installation by uninstalling Java
    2.Download and install the Windows offline installer package.


    SOLUTION 2

    1.Launch the Windows Start menu.
    2.In the search box type services.msc and click OK.
    3.In the Services window that opens up scroll down and look for Windows Installer.
    4.Select Windows Installer and Right Click and select Properties.
    5.Click on Startup type drop down and select Disabled.
    6.Click Apply and then Click OK.
    7.Now Restart your computer.
    8.Repeat the above steps 1 through 4.
    9.In the Windows Installer Properties window, Click on Startup type drop down and select Manual.
    10.Click Apply and then click OK.
    11.Download and install the Windows offline installer package.

    Here the link :
    https://www.java.com/en/download/help/error_1500.xml
    Whatever you are, be a good one

  5. #5
    Junior Member
    Join Date
    Jun 2017
    Posts
    3
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Re: Can't install JDK 9 because “Another Java installation is in progress”

    Hi,

    I tried both of those but for some reason I am unable to change the Startup Type of of Windows Installer as it is greyed-out and set to Manual (even though I am an Administrator on this machine). So I can't really get past step 5.

    BTW, here is a log file produced when I try to install JDK 9. I don't know if it helps.

    [2017/06/22 10:50:04.804, jdk-9-ea+174_windows-x64_bin.exe (PID: 13480, TID: 19144), FileUtils.cpp:396 (FileUtils::`anonymous-namespace'::createNewFile)]
    TRACE: Created [C:\Users\John\AppData\Local\Temp\jds186781.tmp] file
    [2017/06/22 10:50:04.805, jdk-9-ea+174_windows-x64_bin.exe (PID: 13480, TID: 19144), FileUtils.cpp:581 (FileUtils::deleteFile)]
    TRACE: Deleted [C:\Users\John\AppData\Local\Temp\jds186781.tmp] file
    [2017/06/22 10:50:04.807, jdk-9-ea+174_windows-x64_bin.exe (PID: 13480, TID: 19144), FileUtils.cpp:396 (FileUtils::`anonymous-namespace'::createNewFile)]
    TRACE: Created [C:\Users\John\AppData\Local\Temp\jds186781.tmp\jds 186781.tmp] file
    [2017/06/22 10:50:05.794, jdk-9-ea+174_windows-x64_bin.exe (PID: 13480, TID: 19144), FileUtils.cpp:522 (FileUtils::`anonymous-namespace'::moveFileImpl)]
    TRACE: Moved [C:\Users\John\AppData\Local\Temp\jds186781.tmp\jds 186781.tmp] file to [C:\Users\John\AppData\Local\Temp\jds186781.tmp\jdk-9-ea+174_windows-x64_bin.exe]
    [2017/06/22 10:50:10.211, jdk-9-ea+174_windows-x64_bin.exe (PID: 24816, TID: 8848), InstallConfigData.cpp:163 (InstallConfigData::InstallConfigData)]
    TRACE: Entering InstallConfigData::InstallConfigData
    [2017/06/22 10:50:10.211, jdk-9-ea+174_windows-x64_bin.exe (PID: 24816, TID: 8848), InstallConfigData.cpp:220 (InstallConfigData::InitConfig)]
    INFO: Default config settings are:
    INSTALL_SILENT=Disable
    STATIC=Disable
    AUTO_UPDATE=Enable
    WEB_ANALYTICS=Enable
    EULA=Disable
    SPONSORS=Enable
    OEMUPDATE=Disable

    [2017/06/22 10:50:10.212, jdk-9-ea+174_windows-x64_bin.exe (PID: 24816, TID: 8848), InstallConfigData.cpp:0 (InstallConfigData::InstallConfigData)]
    TRACE: Exiting InstallConfigData::InstallConfigData (entered at InstallConfigData.cpp:163)
    [2017/06/22 10:50:10.212, jdk-9-ea+174_windows-x64_bin.exe (PID: 24816, TID: 8848), InstallConfigData.cpp:406 (InstallConfigData::LoadConfigSettings)]
    TRACE: -->Loading Important args...
    [2017/06/22 10:50:10.212, jdk-9-ea+174_windows-x64_bin.exe (PID: 24816, TID: 8848), InstallConfigData.cpp:517 (InstallConfigData::ImportArgsConfigSettings)]
    TRACE: Entering InstallConfigData::ImportArgsConfigSettings
    [2017/06/22 10:50:10.212, jdk-9-ea+174_windows-x64_bin.exe (PID: 24816, TID: 8848), InstallConfigData.cpp:518 (InstallConfigData::ImportArgsConfigSettings)]
    TRACE: ...Importing command line arguments
    [2017/06/22 10:50:10.212, jdk-9-ea+174_windows-x64_bin.exe (PID: 24816, TID: 8848), InstallConfigData.cpp:0 (InstallConfigData::ImportArgsConfigSettings)]
    TRACE: Exiting InstallConfigData::ImportArgsConfigSettings (entered at InstallConfigData.cpp:517)
    [2017/06/22 10:50:10.213, jdk-9-ea+174_windows-x64_bin.exe (PID: 24816, TID: 8848), InstallConfigData.cpp:408 (InstallConfigData::LoadConfigSettings)]
    TRACE: |------Important args config (TMP)--------|

    INSTALL_SILENT = Disable
    STATIC = Disable
    AUTO_UPDATE = Enable
    SPONSORS = Enable
    WEB_ANALYTICS = Enable
    EULA = Disable
    OEMUPDATE = Disable
    |-------------------------------------|

    [2017/06/22 10:50:10.213, jdk-9-ea+174_windows-x64_bin.exe (PID: 24816, TID: 8848), InstallConfigData.cpp:423 (InstallConfigData::LoadConfigSettings)]
    TRACE: -->Loading Config...
    [2017/06/22 10:50:10.213, jdk-9-ea+174_windows-x64_bin.exe (PID: 24816, TID: 8848), InstallConfigData.cpp:599 (InstallConfigData::ImportRuntimeConfigSettings)]
    TRACE: ...Importing runtime configuration file...
    [2017/06/22 10:50:10.213, jdk-9-ea+174_windows-x64_bin.exe (PID: 24816, TID: 8848), InstallConfigData.cpp:602 (InstallConfigData::ImportRuntimeConfigSettings)]
    INFO: Runtime config file path is C:\ProgramData\Oracle\Java\java.settings.cfg
    [2017/06/22 10:50:10.214, jdk-9-ea+174_windows-x64_bin.exe (PID: 24816, TID: 8848), InstallConfigData.cpp:517 (InstallConfigData::ImportArgsConfigSettings)]
    TRACE: Entering InstallConfigData::ImportArgsConfigSettings
    [2017/06/22 10:50:10.215, jdk-9-ea+174_windows-x64_bin.exe (PID: 24816, TID: 8848), InstallConfigData.cpp:518 (InstallConfigData::ImportArgsConfigSettings)]
    TRACE: ...Importing command line arguments
    [2017/06/22 10:50:10.215, jdk-9-ea+174_windows-x64_bin.exe (PID: 24816, TID: 8848), InstallConfigData.cpp:0 (InstallConfigData::ImportArgsConfigSettings)]
    TRACE: Exiting InstallConfigData::ImportArgsConfigSettings (entered at InstallConfigData.cpp:517)
    [2017/06/22 10:50:10.215, jdk-9-ea+174_windows-x64_bin.exe (PID: 24816, TID: 8848), InstallConfigData.cpp:617 (InstallConfigData::CheckParams)]
    TRACE: Entering InstallConfigData::CheckParams
    [2017/06/22 10:50:10.215, jdk-9-ea+174_windows-x64_bin.exe (PID: 24816, TID: 8848), InstallConfigData.cpp:0 (InstallConfigData::CheckParams)]
    TRACE: Exiting InstallConfigData::CheckParams (entered at InstallConfigData.cpp:617)
    [2017/06/22 10:50:10.215, jdk-9-ea+174_windows-x64_bin.exe (PID: 24816, TID: 8848), InstallConfigData.cpp:432 (InstallConfigData::LoadConfigSettings)]
    TRACE: -->Saving backup...
    [2017/06/22 10:50:10.216, jdk-9-ea+174_windows-x64_bin.exe (PID: 24816, TID: 8848), InstallConfigData.cpp:599 (InstallConfigData::ImportRuntimeConfigSettings)]
    TRACE: ...Importing runtime configuration file...
    [2017/06/22 10:50:10.216, jdk-9-ea+174_windows-x64_bin.exe (PID: 24816, TID: 8848), InstallConfigData.cpp:602 (InstallConfigData::ImportRuntimeConfigSettings)]
    INFO: Runtime config file path is C:\ProgramData\Oracle\Java\java.settings.cfg
    [2017/06/22 10:50:10.217, jdk-9-ea+174_windows-x64_bin.exe (PID: 24816, TID: 8848), InstallConfigData.cpp:438 (InstallConfigData::LoadConfigSettings)]
    INFO: |------Config to backup--------|

    NOSTARTMENU = 0
    |-------------------------------------|

    [2017/06/22 10:50:10.217, jdk-9-ea+174_windows-x64_bin.exe (PID: 24816, TID: 8848), InstallConfigData.cpp:441 (InstallConfigData::LoadConfigSettings)]
    TRACE: -->Loading export config...
    [2017/06/22 10:50:10.218, jdk-9-ea+174_windows-x64_bin.exe (PID: 24816, TID: 8848), InstallConfigData.cpp:599 (InstallConfigData::ImportRuntimeConfigSettings)]
    TRACE: ...Importing runtime configuration file...
    [2017/06/22 10:50:10.218, jdk-9-ea+174_windows-x64_bin.exe (PID: 24816, TID: 8848), InstallConfigData.cpp:602 (InstallConfigData::ImportRuntimeConfigSettings)]
    INFO: Runtime config file path is C:\ProgramData\Oracle\Java\java.settings.cfg
    [2017/06/22 10:50:10.219, jdk-9-ea+174_windows-x64_bin.exe (PID: 24816, TID: 8848), InstallConfigData.cpp:517 (InstallConfigData::ImportArgsConfigSettings)]
    TRACE: Entering InstallConfigData::ImportArgsConfigSettings
    [2017/06/22 10:50:10.219, jdk-9-ea+174_windows-x64_bin.exe (PID: 24816, TID: 8848), InstallConfigData.cpp:518 (InstallConfigData::ImportArgsConfigSettings)]
    TRACE: ...Importing command line arguments
    [2017/06/22 10:50:10.219, jdk-9-ea+174_windows-x64_bin.exe (PID: 24816, TID: 8848), InstallConfigData.cpp:0 (InstallConfigData::ImportArgsConfigSettings)]
    TRACE: Exiting InstallConfigData::ImportArgsConfigSettings (entered at InstallConfigData.cpp:517)
    [2017/06/22 10:50:10.219, jdk-9-ea+174_windows-x64_bin.exe (PID: 24816, TID: 8848), InstallConfigData.cpp:617 (InstallConfigData::CheckParams)]
    TRACE: Entering InstallConfigData::CheckParams
    [2017/06/22 10:50:10.220, jdk-9-ea+174_windows-x64_bin.exe (PID: 24816, TID: 8848), InstallConfigData.cpp:0 (InstallConfigData::CheckParams)]
    TRACE: Exiting InstallConfigData::CheckParams (entered at InstallConfigData.cpp:617)
    [2017/06/22 10:50:10.220, jdk-9-ea+174_windows-x64_bin.exe (PID: 24816, TID: 8848), InstallConfigData.cpp:450 (InstallConfigData::LoadConfigSettings)]
    TRACE: -->Adding CMDLINE to config...
    [2017/06/22 10:50:10.220, jdk-9-ea+174_windows-x64_bin.exe (PID: 24816, TID: 8848), InstallConfigData.cpp:458 (InstallConfigData::LoadConfigSettings)]
    INFO: |------!!!!Working config!!!!--------|

    INSTALL_SILENT = Disable
    STATIC = Disable
    AUTO_UPDATE = Enable
    SPONSORS = Enable
    WEB_ANALYTICS = Enable
    EULA = Disable
    OEMUPDATE = Disable
    NOSTARTMENU = 0
    CMDLINE = NOSTARTMENU="0"
    |-------------------------------------|

    [2017/06/22 10:50:10.221, jdk-9-ea+174_windows-x64_bin.exe (PID: 24816, TID: 8848), Locales.cpp:318 (Locale::preferredLanguages)]
    INFO: PreferredUILanguages: Vista+
    [2017/06/22 10:50:10.222, jdk-9-ea+174_windows-x64_bin.exe (PID: 24816, TID: 8848), JavaInstallGuard.cpp:38 (JavaInstallGuard::GuardFile::GuardFile)]
    ERROR: Another Java installation is in progress. You must complete that installation before you can run this installer.
    [2017/06/22 10:50:10.222, jdk-9-ea+174_windows-x64_bin.exe (PID: 24816, TID: 8848), wrapper.cpp:334 (WinMain)]
    ERROR: Exception with message 'JavaInstallGuard.cpp(39) at JavaInstallGuard::GuardFile::GuardFile(): Another Java installation is in progress' caught
    [2017/06/22 10:50:10.223, jdk-9-ea+174_windows-x64_bin.exe (PID: 24816, TID: 8848), Locales.cpp:318 (Locale::preferredLanguages)]
    INFO: PreferredUILanguages: Vista+
    [2017/06/22 10:50:10.223, jdk-9-ea+174_windows-x64_bin.exe (PID: 24816, TID: 8848), Locales.cpp:318 (Locale::preferredLanguages)]
    INFO: PreferredUILanguages: Vista+
    [2017/06/22 10:50:14.269, jdk-9-ea+174_windows-x64_bin.exe (PID: 13480, TID: 19144), FileUtils.cpp:581 (FileUtils::deleteFile)]
    TRACE: Deleted [C:\Users\John\AppData\Local\Temp\jds186781.tmp\jdk-9-ea+174_windows-x64_bin.exe] file
    [2017/06/22 10:50:14.270, jdk-9-ea+174_windows-x64_bin.exe (PID: 13480, TID: 19144), FileUtils.cpp:598 (FileUtils::deleteDirectory)]
    TRACE: Deleted [C:\Users\John\AppData\Local\Temp\jds186781.tmp] directory

  6. #6
    Junior Member
    Join Date
    Oct 2017
    Posts
    1
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Re: Can't install JDK 9 because “Another Java installation is in progress”

    Try to delete:
    C:\ProgramData\Oracle\Java\JAVA_INSTALL_FLAG
    %USERPROFILE%\AppData\LocalLow\Sun\Java\JAVA_INSTA LL_FLAG

    This should unlock the installer.

  7. #7
    Junior Member
    Join Date
    Oct 2017
    Posts
    1
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Re: Can't install JDK 9 because “Another Java installation is in progress”

    Hi, Unfortunately, this did not help me with the same issue

    Quote Originally Posted by John Joe View Post
    Have you tried this ?

    ...


    --- Update ---

    Hi, Unfortunately, this did not help me with the same issue either

    Quote Originally Posted by Blacksheeep View Post
    Try to delete:
    C:\ProgramData\Oracle\Java\JAVA_INSTALL_FLAG
    %USERPROFILE%\AppData\LocalLow\Sun\Java\JAVA_INSTA LL_FLAG

    This should unlock the installer.

Similar Threads

  1. Install Java plugin for IE without manual update or install
    By madhucm in forum What's Wrong With My Code?
    Replies: 0
    Last Post: September 21st, 2014, 09:20 AM
  2. jdk 8 installation problem
    By rrp in forum Computer Support
    Replies: 2
    Last Post: August 27th, 2014, 10:25 AM
  3. java installation
    By MumeenIdris in forum Java IDEs
    Replies: 1
    Last Post: August 10th, 2013, 11:51 AM
  4. How to install the JDK on Ubuntu Linux
    By Brt93yoda in forum Java JDK & IDE Tutorials
    Replies: 2
    Last Post: July 9th, 2011, 07:18 AM
  5. How to install the JDK on Ubuntu Linux
    By Brt93yoda in forum Java Code Snippets and Tutorials
    Replies: 1
    Last Post: June 5th, 2011, 09:09 AM

Tags for this Thread