Search Unity

Unity Hub CLI - OpenJDK

Discussion in 'Unity Hub' started by MikuriChan, Jan 7, 2020.

  1. MikuriChan

    MikuriChan

    Joined:
    Sep 3, 2018
    Posts:
    5
    Hello,

    With the Unity Hub CLI,
    In the headless help of the app, I can't find the command to install OpenJDK for Android.
    Doesn't work with "-m openjdk" logic.
    Also, the command "-m standardassets" seems broken.

    Code (BatchFile):
    1. "C:\Program Files\Unity Hub\Unity Hub.exe" -- --headless install-modules --version 2019.2.17f1 -m openjdk -m standardassets -m android -m android-sdk-ndk-tools
    Gives:
    Code (Console):
    1. Missing module openjdk. Skipping..
    2. Missing module standardassets. Skipping..
    The other modules are fine.

    Thank you.
     
unityunity