Post B4UWwLEPCovxWWJxE8 by fribbledom@mastodon.social
 (DIR) More posts by fribbledom@mastodon.social
 (DIR) Post #B4Sk6VuzEnACeTUzTc by fribbledom@mastodon.social
       1 likes, 0 repeats
       
       Java tooling in 2026:"Install JDK 21.""Actually keep JDK 26.""Also set JAVA_HOME to something.""Gradle will ignore it unless it won't."Jeez, I just wanted to compile an app not perform an ancient ritual.
       
 (DIR) Post #B4SkXYQU1MCwFV7oG0 by floe@hci.social
       0 likes, 0 repeats
       
       @fribbledom ah yes, be prepared to sacrifice another black rooster when there's a Gradle update 🙄
       
 (DIR) Post #B4Skos1oOUcnxzqGuW by johnefrancis@cosocial.ca
       0 likes, 0 repeats
       
       @fribbledom never set and export JAVA_HOME globally, that's an ancient JDK 1.1 curse. Never add a jre to a system or user PATH for a non-OS package or development environment, leave that to the OS to manage for OS packages. Set PATH and JAVA_HOME locally within scriots, if necessary.
       
 (DIR) Post #B4SkzgXXRo6bWPq4Nk by fribbledom@mastodon.social
       0 likes, 0 repeats
       
       In all seriousness, how hard can it be to compile Gadgetbridge?! Their docs refer to an sdkmanager that just crashes on start up and the Docker image they point to has been out-of-date for about 8 years now.How do people work like that 😕
       
 (DIR) Post #B4SlzSSftHvxoR1GXQ by fribbledom@mastodon.social
       0 likes, 0 repeats
       
       "The SDK directory is not writable (/opt/android-sdk)"Well I sure hope it's not. Are you suggesting you need this to be writable to compile a simple app?!
       
 (DIR) Post #B4SmIMDHLW05w4pWFs by carsten@tootsfrom.ahabitual.dev
       0 likes, 0 repeats
       
       @fribbledom They don't
       
 (DIR) Post #B4SmNKkaDDeIqYmSvY by carsten@tootsfrom.ahabitual.dev
       0 likes, 0 repeats
       
       @fribbledom Well no, but actually ... yes
       
 (DIR) Post #B4T48DtRDteuPWroOm by faoluin@chitter.xyz
       0 likes, 0 repeats
       
       @fribbledom Updated documentation? Pfff, we don't need that.
       
 (DIR) Post #B4TPSWsiQswe8C3Lrk by Chaos_99@fosstodon.org
       0 likes, 0 repeats
       
       @fribbledomSetting up the build environment is 80% of the projects effort and we still, after decades, have not come up with a good and standardized way of preserving that within the actual repo.dockerfiles (if build on top of a vanilla base image) are actually a way in the right direction. (Not because of docker itself, but because they explain the setup)
       
 (DIR) Post #B4UWwLEPCovxWWJxE8 by fribbledom@mastodon.social
       0 likes, 0 repeats
       
       @gudenau Agreed, I'm being a bit unfair to Java itself, even though it plays a major role in all the issues I'm facing.