How I Fixed Gradle Test Error “getSubject is supported only if a security manager is allowed” on macOS

After setting up my development environment on a fresh macOS, I ran into a frustrating issue: my gradle tests were failing. I had encountered the error: java.lang.UnsupportedOperationException: getSubject is supported only if a security manager is allowed It took some digging to figure out what was going on, and as it turns out, the root

How to Install Java on MacOS Using Homebrew

A cup of coffee sitting on top of a wooden table

Recently, I encountered a situation where I needed to install Java on my macOS machine, and the easiest way to get it up and running was through Homebrew. Whether you’re working with Java-based applications or development environments like Android Studio, having the right Java version installed is crucial. In this post, I’ll walk you through