When I try to run `releaseDistributable` to create...
# multiplatform
a
When I try to run
releaseDistributable
to create the desktop jvm app using kmm I am getting the below error
Copy code
Failed to check JDK distribution: 'jpackage' is missing
JDK distribution path: /Applications/Android <http://Studio.app/Contents/jbr/Contents/Home|Studio.app/Contents/jbr/Contents/Home>
It’s trying to find the
jpackage
in
/Applications/Android <http://Studio.app/Contents/jbr/Contents/Home|Studio.app/Contents/jbr/Contents/Home>
. While in my mac when I run
where jpackage
then I get
/usr/bin/jpackage
It seems that Android Studio bundled Java SDK(Jetbrains Runtime 17.0.11) doesn't come with
jpackage
. When I changed to another Java SDK this error was gone. Now I am curious why the default Java SDK doesn't come with the
jpackage