Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Mobile and Embedded
  4. Could not determine java version from '10.0.2'

Could not determine java version from '10.0.2'

Scheduled Pinned Locked Moved Solved Mobile and Embedded
3 Posts 2 Posters 2.1k Views 2 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • B Offline
    B Offline
    Bremenpl
    wrote on last edited by
    #1

    Hello there,
    I am trying to configure the Qt Creator (ver 4.7.0, Qt 5.11.1) to compile Android applications. I have downloaded the Android SDK, NDK and Java JDK. The Device was added with success:

    0_1537216439725_970279d7-f7fc-47bf-bd9b-5fa400f059cb-obraz.png

    The problem is I cannot compile an example application "clocks" for android armeabi-v7a. The error I am getting is:

    Could not determine java version from '10.0.2'

    The Java version is 10.0.2, but cannot really tell what is wrong. Here I added full compilation output: https://pastebin.com/N3pSuXEe

    I would really appreciate all help regarding this issue.

    lprzenioslo.zut.edu.pl

    1 Reply Last reply
    0
    • SGaistS Offline
      SGaistS Offline
      SGaist
      Lifetime Qt Champion
      wrote on last edited by
      #2

      Hi,

      I'd go with a less recent version of the JDK.

      Interested in AI ? www.idiap.ch
      Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

      B 1 Reply Last reply
      1
      • SGaistS SGaist

        Hi,

        I'd go with a less recent version of the JDK.

        B Offline
        B Offline
        Bremenpl
        wrote on last edited by
        #3

        @SGaist Good Call! I have installed Java SE Development Kit 8u181 and building works. Thank you.

        lprzenioslo.zut.edu.pl

        1 Reply Last reply
        0

        • Login

        • Login or register to search.
        • First post
          Last post
        0
        • Categories
        • Recent
        • Tags
        • Popular
        • Users
        • Groups
        • Search
        • Get Qt Extensions
        • Unsolved