Search Unity

  1. Megacity Metro Demo now available. Download now.
    Dismiss Notice
  2. Unity support for visionOS is now available. Learn more in our blog post.
    Dismiss Notice

Problem by android building with JDK on MAC

Discussion in 'Android' started by caubebutchi, Mar 27, 2017.

  1. caubebutchi

    caubebutchi

    Joined:
    Dec 12, 2010
    Posts:
    73
    Hi developer,

    I have a issue when building a game to android by unity 5.This bug is saying 'Please make sure you have a suitable JDK installation. Android development requires at least JDK 7 (1.7). I download new version JDK from 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. I really dont know how do fix it.

     
  2. Aurimas-Cernius

    Aurimas-Cernius

    Unity Technologies

    Joined:
    Jul 31, 2013
    Posts:
    3,722
    Start by typing this into command line:
    What does this print for you?