How To Install Java on Your New Java-less macOS

By mean “new” here is macOS Catalina & Big Sur. And I just finished (finally) fresh install my MacBook Pro with Big Sur 11.4. Bye Catalina.

As widely known, Oracle announced that the Oracle JDK 8 builds released after JAN 2019 will not be free for commercial use. Since OS X 10.7 Java is not (pre-)installed anymore. Well, I’m not a fan of Java myself (i stop using it after Java 1.6 i guess). But since I’m also tinkering with Android (and Kafka), I have no choice but put Java in my dev machines.

Instead using Oracle’s, I will use OpenJDK.

There are several ways to install OpenJDK to your Mac.

  1. Simply install the prebuilt OpenJDK binary.
  2. Install via homebrew
  3. Compile the source codes your self :P

Let’s use the easiest one. Option #1.

Adoptium is one of the best places to find prebuilt OpenJDK binaries. And as i write this article the lates LTS version is OpenJDK 11.0.12+7.
For you information, Adoptium previously was known as AdoptOpenJDK. The project’s goal was for providing the Java community with rock-solid runtimes and associated tools that can be used free of charge, without usage restrictions on a wide range of platforms. Later on, on June 2020 (cmiiw) AdoptOpenJDK moved to Eclipse Foundation and change the brand to Eclipse Adoptium Project.

  • Click on the OpenJDK installer as shown above. The installation window will appear and you just need to follow the instructions.
Installer’s welcome page
Software License Agreement
Finish installation
  • After finish, you need to verify the installation using command java -version
    It should be returning the information as shown below.
java version check
  • Almost done. Your Java base installation directory will be located in /Library/Java/JavaVirtualMachines/temurin-11.jdk/Contents/Home and that should be the value of your JAVA_HOME environment variable. Don’t forget to put it in your ~/.zshrc or ~/.bash_profile file depending on whatever shell you’re using.
JAVA_HOME variable

That’s it. Done.

Story Of The Street

I’ve contributed 11 photos in this book along with more than 100 awesome photos from various talented street photographers. You can pre-order your own copy soon :)

it’s so exciting :)

It’s a simple zine about street photography. Me along with other 17 photographers from several cities collaborate to make this zine. Each of us put around 10 photos with various story.

Some of the photos above has selected to be included in the book.

For pre-order the book, you can contact Ridho @hobby_jalankaki or WA : (+62) 812-2317-8150.

Thanks to other fellow contributor of this book.

Desk Setup Transformation Covid-19

2020 was a very very tough year for all of us. I lost my mom after years fighting with diabetic that lead to kidney failure. The global Covid-19 pandemic also put a heavy blow to the world society, economic and i think also politic.

It’s not done yet as today in 2021, but i hope it can be getting better and we’re getting smarter and wiser to make it happen.

One big change from this pandemic is how we work. Instead going to the office, most of us are required to work remotely from home. Well, it’s not applied to everybody but for people who work in IT field like me, WFH is not a new thing. I have friends that literally working remotely while traveling around the globe most of the time.

And it’s been 12+ months from March 2020 until now April 2021 i’ve been working remotely from home. Well, there was time when i’m allowed to go to the office with max team capacity 25%-50% on site. But literally i let my team work remotely full time including from their home town.

From these last 12 months, i reliazed i made quite a change in my house for WFH. From changing internet providers 3 times up until bought 4 desks and relayoutin my living room.

  • April 2020

I literally did have a “working” desk previously. There was only a small coffee table nex to the couch. It was OK in the first week, but the pandemic wont last for 1-2 weeks and i need proper table for typing on my little Macbook 12″. So i bought a small “laptop desk”. IDR 250k something.

My desk on April 2020
My desk on April 2020
Point of view from my desk
Point of view from my desk, my old LG TV
overall view of my living room
Overall view of my living room

So the coffe table is at the left side of the couch and Misty use to sleep on there as well as using it as ladder to climb on the couch and to my shoulder. Misty is a blind stray kitten i found outside my house. Other kitties used to join me on the couch while i’m watching TV, but it’s now kind of annoying and distracting since i had to work.

Continue reading

How To Upgrade Your Huawei P9+ to EMUI 5 (Nougat)

This post is intended for Huawei P9/P9+ owners out there who wont give a shit anymore to Huawei for their incapability of delivering proper Android update for their own products. This method might also applicable for another Huawei smartphone series.

Big thanks for TeamMT for dedicating their time to make Hw Firmware Finder app and also people in xda-developer forum.

In order to complete this tutorial, what you need to prepare are:

  1. Patient, big one, we’re dealing with Huawei here. Therefore, your battery should be at least 80% ??
  2. Internet quota for your smartphone, big one also, we’re dealing with big size files download. Average size could be 2GB++. Fast WiFi connection will be more helpful ?
  3. Decision whether or not you will buy another Huawei phone in the future?

Continue reading

Rainy Days in Hong Kong through an iPhone 6

So, I flew to Hong Kong couple weeks ago to do some work. For me, Hong Kong is boring since there are only bricks, buildings, shopping, density, crowded, not so nice weather (for me).

Nevertheless, there are things which make Hong Kong keep interesting. It’s density, crowded people are nice subject for street photography.

But, it was raining everyday! And since i only had -literally- 1 afternoon and less then 9 hours the next day before my flight back to Jakarta, I don’t have much time to explore. Only manage to walk across Nathan road and some alley around it. Took ferry from Victoria Harbour to Hong Kong Island (roundtrip, twice! :P). And finally using Airport Express train from IFC mall to go airport.

Continue reading