Wayback Machinekoobas.hobune.stream
May JUN Jul
Previous capture 12 Next capture
2021 2022 2023
1 capture
12 Jun 22 - 12 Jun 22
sparklines
Close Help
  • Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
  • Asset Store
  • Get Unity

UNITY ACCOUNT

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account
  • Blog
  • Forums
  • Answers
  • Evangelists
  • User Groups
  • Beta Program
  • Advisory Panel

Navigation

  • Home
  • Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
    • Blog
    • Forums
    • Answers
    • Evangelists
    • User Groups
    • Beta Program
    • Advisory Panel

Unity account

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account

Language

  • Chinese
  • Spanish
  • Japanese
  • Korean
  • Portuguese
  • Ask a question
  • Spaces
    • Default
    • Help Room
    • META
    • Moderators
    • Topics
    • Questions
    • Users
    • Badges
  • Home /
avatar image
5
Question by insoluzioni · May 02, 2020 at 06:26 AM · android build

2019.3.12f1 - Unity Hub Not installing OpenJDK

As per version 2019.3.12f1, and last Unity Hub version, I can't install OpenJDK. It says the component is missing, and I go to Add modules, check the Open JDK, under Android. It starts downloading, installing, but nothing changes, actually.

Sometimes there's an error message on Unity Hub saying that all files were not downloaded or are corrupted. I have another version here, 2019.3.0f6 that has OpenJDK working fine. Then I simply tried copying & pasting files from OpenJDK to that current version. Editor recognizes it, but when building it fails.

Comment
Add comment · Show 2
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image XiradGamer · May 31, 2020 at 04:42 AM 0
Share

Even now at 2019.3.15f1 OpenJDK still won't install. I've tried uninstalling, rebooting and reinstalling but the directory is empty and going in to Add $$anonymous$$odules still shows it checked but not installed.

No fix yet????

avatar image WillisMcguire · Aug 18, 2020 at 05:03 AM 0
Share

Same issue here , I have another version here, 2019.3.0f6 that has OpenJDK working fine. Then I simply tried copying & pasting files from OpenJDK to that current version. walgreenslistens

9 Replies

· Add your reply
  • Sort: 
avatar image
15

Answer by rmmarks · Jul 28, 2020 at 09:18 AM

I had this issue yesterday and found a suggestion on another thread to temporarily disable Avast while doing the Android and OpenJDK install in Unity Hub. I set Avast to disable for 10 minutes and the install using Unity Hub worked. I suspect it is the virus checker silently denying the connection driven by Unity Hub to get the OpenJDK.

Comment
Add comment · Show 6 · Share
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image JackPS9 · Jul 28, 2020 at 01:24 PM 0
Share

I dont use avast, so the avast thing isn't an issue for me. I fixed it myself by using the download URL from the modules.json file, however even though it's like a 70mb file and I have 75down the file still took like 30 $$anonymous$$s to download by manually grabbing it.

avatar image binhonoia · Aug 07, 2020 at 07:38 PM 0
Share

thanks, your comment solved my problem

avatar image gearlabentertainment · Aug 26, 2020 at 05:17 PM 0
Share

Thanks a Lot... This solved my issue.

avatar image aburger22 · Oct 23, 2020 at 02:47 PM 0
Share

This has solved my problem. Thank you.

avatar image marck_ozz · Nov 26, 2020 at 01:21 AM 0
Share

Disable the antivirus and then install it from Hub actually works, thank you!!!

Show more comments
avatar image
-1

Answer by Cassos · May 02, 2020 at 11:25 PM

Try using an older version of Unity.

Comment
Add comment · Show 1 · Share
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image Jorhoto · Aug 10, 2020 at 05:51 PM 0
Share

really??? lol

avatar image
0

Answer by Muskie · May 21, 2020 at 09:38 AM

Try a manual install of the JDK, and point Unity at it:

1: go to https://www.oracle.com/java/technologies/javase-jdk8-downloads.html and download the latest JDK8 build for Windows and install it.

2: Back in Unity, under Preferences>External tools, Uncheck "JDK Installed with Unity", and then point it where you installed the JDK.

Hopefully this should work for you!

Comment
Add comment · Show 2 · Share
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image calebw2370 · Jun 16, 2020 at 12:38 AM 0
Share

If you click the link it says "We can't find the page you were looking for."

avatar image JayFiraja · Nov 22, 2020 at 09:02 PM 0
Share

Had to perform these steps, seems it hasn't been fixed since $$anonymous$$ay XD

avatar image
0

Answer by Brit1974 · Jul 15, 2020 at 04:54 AM

I ended up copying the OpenJDK directory from an older version ( 2019.3.5f1 ), and it seems to work okay. But this is only a workaround. Unity needs to get this fixed.

Comment
Add comment · Share
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image
0

Answer by JackPS9 · Jul 26, 2020 at 07:01 PM

Same issue here, I tried on 2020.2.0a18 it didn't download link to oracle doesn't work I also tried to download it via the 2019.3.0f6 version still not downloaded. Got it from 2018.4.25f1 however it states that it's not the recommended JDK and that I should install from Unity Hub which doesn't want to work.

Comment
Add comment · Share
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
  • 1
  • 2
  • ›

Your answer

Hint: You can notify a user about this post by typing @username

Up to 2 attachments (including images) can be used with a maximum of 524.3 kB each and 1.0 MB total.

Follow this Question

Answers Answers and Comments

151 People are following this question.

avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image

Related Questions

Export to android: CommandInvokationFailure: Failed to build apk. 1 Answer

Why the color of the fog change the color of the ground(object)? 0 Answers

I am getting the following error when building a pc game to android 0 Answers

Cannot install apk in android 8.0.0 (API level 26) 0 Answers

UnityARCore: Can't build for android. 0 Answers


Enterprise
Social Q&A

Social
Subscribe on YouTube social-youtube Follow on LinkedIn social-linkedin Follow on Twitter social-twitter Follow on Facebook social-facebook Follow on Instagram social-instagram

Footer

  • Purchase
    • Products
    • Subscription
    • Asset Store
    • Unity Gear
    • Resellers
  • Education
    • Students
    • Educators
    • Certification
    • Learn
    • Center of Excellence
  • Download
    • Unity
    • Beta Program
  • Unity Labs
    • Labs
    • Publications
  • Resources
    • Learn platform
    • Community
    • Documentation
    • Unity QA
    • FAQ
    • Services Status
    • Connect
  • About Unity
    • About Us
    • Blog
    • Events
    • Careers
    • Contact
    • Press
    • Partners
    • Affiliates
    • Security
Copyright © 2020 Unity Technologies
  • Legal
  • Privacy Policy
  • Cookies
  • Do Not Sell My Personal Information
  • Cookies Settings
"Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
  • Anonymous
  • Sign in
  • Create
  • Ask a question
  • Spaces
  • Default
  • Help Room
  • META
  • Moderators
  • Explore
  • Topics
  • Questions
  • Users
  • Badges