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 /
  • Help Room /
avatar image
1
Question by Ishmail Hoque · Jul 02, 2016 at 03:32 PM · androidunity 5errorjava

Mac JDK error on build

I have made my game and tested it out but recently I encountered a problem with the JDK saying 'Please make sure you have a suitable JDK installation. Android development requires at least JDK 7 (1.7), having JRE only is not enough. The latest JDK can be obtained from the Oracle website http://www.oracle.com/technetwork/java/javase/downloads/index.html' and when I try setting the JDK home manually, it returns with the same error message

  • On mac

  • Tried reinstalling JDK

  • JDK VERSION = jdk1.7.0_79.jdk

Thanks for any help in advance

Comment
Add comment · Show 1
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 JohnTheGreat · Feb 15, 2017 at 03:31 PM 0
Share

I have the same problem

2 Replies

· Add your reply
  • Sort: 
avatar image
2

Answer by AssumingSilence · Aug 11, 2017 at 06:49 AM

I was having a similar problem because I did not realise you have to point it to the home folder in the contents of the jdk folder, so my full address was: /Library/Java/JavaVirtualMachines/jdk1.8.0_144.jdk/Contents/Home Hope this helps

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 laf3rs · Aug 28, 2018 at 09:36 PM 1
Share

You fuckin saved my ass! Thanks bro! How the heck did you realise that?

avatar image AssumingSilence laf3rs · Aug 29, 2018 at 07:30 AM 0
Share

no problem pal. it was a while ago so i can't remember quite were I found the answer but I can remember trawling the internet looking for the solution for ages, I'm glad I could help.

avatar image
1

Answer by liortal · Feb 15, 2017 at 04:14 PM

Are you sure you have a correct version of JDK installed ?

You can verify that on MacOS by navigating to the following location: /Library/Java/JavaVirtualMachines

Make sure you have a valid JDK installation there (1.7 or above).

Also, make sure that Unity picks up on your JDK version. This can be found under Unity --> Preferences --> External Tools: alt text


jdk.png (121.7 kB)
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 PhraseUniverse · Mar 12, 2017 at 03:39 AM 0
Share

I'm having the same problem as OP. I have Java 1.8 installed, but Unity says it's invalid.

avatar image muible PhraseUniverse · Oct 21, 2017 at 07:22 PM 0
Share

$$anonymous$$e too, same problem. Two weeks and no solution :(

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

130 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

Related Questions

Android Resolver Java Problem 0 Answers

Error with merging Android manifests 0 Answers

JAVA_HOME environment references a directory 1 Answer

Unity 5 Android Build Failure - No Plugins 2 Answers

Failed to recompile android resource files Unity 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