Important: Please read the Qt Code of Conduct -

Where is the JDK install so Qt can see it?[SOLVED]

  • I am installing he development tools for Android. Everything was pretty straight forward til I got the JDK. I install it. It doesn't give me any indication where it put the folder.

    The only thing I can find is on my root harddrive in Library I see:


    But when I point Qt JDK location to it, it says:

    "/Libary/Java/JavaVirtualMachines/jdk1.8.0_31.jdk" does not seem to be a JDK folder.

    I can find any other folder on my drive. So where is it?

  • Lifetime Qt Champion


    Mine is a bit old but:



  • Try subfolders in jdk folder , 1.8 might not go that far.

  • SGaist,
    Again. You magnificient bas!@#. Whatever they are paying you, double it!

    Your answer was correct. Its a little confusing when installing all the stuff for android that the only folder that doesn't decompress into an obvious folder is the JDK. I install the JDK and it says, "installed!" and thats it. Seems like Qt could be a little more helpful in finding it.

  • This thread had been marked [sovled]. My previous configuraton is similar to the above mentioned. But it does not work for me any more. I post an easy way here. It may help others.

    You can run the following command to get where the java home is.

    $ /usr/libexec/java_home

    In my case , it looks like this:

    $ /usr/libexec/java_home

    The previous path begins with /System. The new one not.

Log in to reply