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.

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

Met Tahun Baru & Met Ulang Tahun IPv6

Januari 20 tahun lalu, sebuah inisiasi pembaruan sistem IP diluncurkan dikenal sebagai IP versi 6 (IPv6). IPv6 ini jauh lebih mau dibandingkan dengan IPv4 yang secara defacto saat ini digunakan oleh semua orang, semua perangkat. Mengingat perkataan salah seorang dosen saya dulu serta trainer datacomm, metaforanya dengan menggunakan IPv6 setiap butir pasir di bumi ini bisa punya alamat IP masing-masing. Bandingkan dengan IPv4 yang bisa dibilang sudah kehabisan alokasi IP sejak beberapa tahun terakhir.

Nah, dalam ulang tahun-nya yang ke-20 ini apa sajakah yang sudah dicapai oleh IPv6?
Hmmm, sayangnya belum banyak sih. Data dari Google menunjukkan bahwa adopsi IPv6 masih di angka 10%. Hey but it’s good compared to 6% at the end of 2014.

Continue reading

Selamat datang di iPhone & iPad, Mozilla Firefox

ffx-ios-fin2
Penantian panjang itu akhirnya berakhir. Mozilla akhirnya secara resmi merilis browser Firefox 1.2 untuk perangkat iOS yang meliputi iPhone, iPad serta iPod Touch secara global. Versi pertama dirilis sekitar bulan September 2015, tapi saat itu hanya untuk AppStore New Zealand saja. Yah, untuk test the market dulu lah.
ffx-ios-4324
Fitur-fitur Firefox iOS kurang lebih sama seperti yang di desktop. Mulai dari sinkronisasi dengan Firefoxnya untuk mengakses history, tab, password serta bookmarks, tab management hingga private browsing.

Continue reading

Hackathon Merdeka 2.0 – Toba #1

Laguboti, 24 Oktober 2015

2 hari ini saya mendapatkan kesempatan untuk kembali berkunjung ke Danau Toba. Bukan buat liburan kok. Kali ini saya dan Fay mendapat kehormatan untuk menjadi bagian kecil dari kegiatan Hackathon Merdeka 2.0 untuk wilayah Toba yang diadakan di kampus keren Institut Teknologi Del.

sumber: www.del.ac.id

sumber: www.del.ac.id

Asli kampus ini keren, bangunan-bangunannya yang eksotik, lapangan hijau nan rapi dan luas dan pemandangan spektakuler langsung ke arah danau toba dan pulau Samosir. Sayang sekali efek kabut asap yang melanda Indonesia, khususnya pulau Sumatra, beberapa waktu terakhir ini berimbas juga ke Tobasa. Selama perjalanan dari Medan menuju kesini, saya seakan berada dalam seting film horor. Kenapa? Permata, pemandangan sekeliling diwarnai dengan kabut asap dan hanya memunculkan siluet pepohonan. It’s mostly misty grey instead of beautiful green. Kedua, jalur lalu lintasnya lebih seram dari jalur pantai selatan Jawa :P Bahkan Danau Toba pun bisa dibilang tak nampak, tertutup oleh kabut asap ini.

Continue reading

Managing Your Contacts with Firefox OS

Since the era of iPhone and Android, you’ll rarely heard cases about “losing contacts” because your phone was lost or just stop working. There’ll be no worry because you just need to get a new device, log in to your (gmail/apple id) account and voila! your contacts is restored. It’s so easy compare to Nokia/Blackberry era when you have to hook up your device to computer and do the manual backup as often as you can.

In this post, I will share about importing contacts from your Google account to your Firefox OS device.

1. Open your contacts app

2014-07-26-11-18-182. Click on the Gear icon on the top right corner of the screen. I have only 1 entry in my contacts.
contact-2014-08-01-00-20-46-b

3. You can choose how your contacts will be displayed in order. Based on last name or first name. You can also sync with Facebook. Click on Import Contacts to start import.contact-2014-08-01-00-20-54

4. There are various sources of contact you can import from. SIM Card, Memory Card, Gmail and Outlook. I’ll use import from Gmail for this article.contact-2014-08-01-00-21-05-b

5. You need to log in to your Google account contact-2014-08-01-00-21-16

6. You need to confirm to start importing contacts from your Google Accountcontact-2014-08-01-00-22-10

7. Firefox OS is starting to look up your Google contactcontact-2014-08-01-00-22-18

8. Firefox OS will display all of contacts in your Google account. You can select which one you want to import. Of you can just simply select them all. You have to click on Import button at the top right corner yo start importing.contact-2014-08-01-00-22-43-b

9. Firefox OS is starting to import contact from your Google accountcontact-2014-08-01-00-22-53

10. Voila! You have your contacts populated in your Firefox OS device :)contact-2014-08-02-09-07-10

Exporting your contacts is a bit old school because you can only export your contacts to memory card of other devices via Bluetooth. I wish at least it can be export/copied to my Google / Mozilla account.