I used to build my react project using only yarn, but now I’m starting to use a shared js library from KMP, and I need to build it with gradle, but it says I can’t because java is not installed. Do I need to migrate to a Web Service with Docker for it or can I continue using a static site and am just missing some other step?
==> Running build command './gradlew :shared:jsBrowserProductionLibraryDistribution; yarn --frozen-lockfile install; yarn build:web'...
ERROR: JAVA_HOME is not set and no 'java' command could be found in your PATH.
Please set the JAVA_HOME variable in your environment to match the
location of your Java installation.