ubuntudroid
02/12/2020, 2:25 PMsdkman
to manage java versions, current version resides at /Users/ubuntudroid/.sdkman/candidates/java/current
. I guess I somehow need to tell xcode to use that. JAVA_HOME environment variable is set to the abovementioned value, but xcode seems not to make use of it (I guess it only looks in the default . Any ideas?Marc Reichelt
02/12/2020, 2:29 PMMarc Reichelt
02/12/2020, 2:29 PMjava -version
Marc Reichelt
02/12/2020, 2:29 PMMarc Reichelt
02/12/2020, 2:30 PMubuntudroid
02/12/2020, 2:33 PMopenjdk version "11.0.6" 2020-01-14
OpenJDK Runtime Environment AdoptOpenJDK (build 11.0.6+10)
OpenJDK 64-Bit Server VM AdoptOpenJDK (build 11.0.6+10, mixed mode)
ubuntudroid
02/12/2020, 2:33 PMMarc Reichelt
02/12/2020, 2:38 PMubuntudroid
02/12/2020, 2:40 PMubuntudroid
02/12/2020, 2:44 PMopenjdk version "1.8.0_242"
OpenJDK Runtime Environment (AdoptOpenJDK)(build 1.8.0_242-b08)
OpenJDK 64-Bit Server VM (AdoptOpenJDK)(build 25.242-b08, mixed mode)
ubuntudroid
02/12/2020, 2:44 PMubuntudroid
02/12/2020, 2:51 PM:shared:syncFramework
and then gradle (running in the xcode environment) does not find my java environment. 🤔Marc Reichelt
02/12/2020, 3:07 PMMarc Reichelt
02/12/2020, 3:07 PMMarc Reichelt
02/12/2020, 3:07 PMMarc Reichelt
02/12/2020, 3:08 PMMarc Reichelt
02/12/2020, 3:08 PMMarc Reichelt
02/12/2020, 3:09 PMMarc Reichelt
02/12/2020, 3:09 PMubuntudroid
02/12/2020, 3:10 PMMarc Reichelt
02/12/2020, 3:10 PMMarc Reichelt
02/12/2020, 3:10 PMubuntudroid
02/12/2020, 3:10 PMubuntudroid
02/12/2020, 3:15 PMubuntudroid
02/12/2020, 3:30 PMubuntudroid
02/12/2020, 3:31 PMMarc Reichelt
02/12/2020, 3:41 PMMarc Reichelt
02/12/2020, 3:41 PMMarc Reichelt
02/12/2020, 3:42 PMubuntudroid
02/12/2020, 3:43 PMMarc Reichelt
02/12/2020, 3:43 PMMarc Reichelt
02/12/2020, 3:43 PMkpgalligan
02/12/2020, 3:45 PMubuntudroid
02/12/2020, 3:46 PMubuntudroid
02/12/2020, 4:37 PMexport JAVA_HOME=/Users/ubuntudroid/.sdkman/candidates/java/current
to shared.podspec
right before the gradlew
call. However, obviously this doesn't work well when being built on different machines...ubuntudroid
02/12/2020, 5:10 PMubuntudroid
04/08/2020, 4:12 PMubuntudroid
04/20/2020, 4:36 PM