Skip to content

Instantly share code, notes, and snippets.

View yuriy-eremin's full-sized avatar

Yuriy Eremin yuriy-eremin

View GitHub Profile
@yuriy-eremin
yuriy-eremin / homebrew-openjdk-configuration
Created October 18, 2018 08:25 — forked from chaines27/homebrew-openjdk-configuration
Configuration for homebrew-openjdk for macOS to see it as an installed JVM
OpenJDK 1.8
1. Follow the instructions from https://github.com/AdoptOpenJDK/homebrew-openjdk to tap and install jdk8.
2. Run the following command to create the necessary directories
sudo mkdir /Library/Java/JavaVirtualMachines/openjdk-1.8.0_172.jdk
sudo mkdir /Library/Java/JavaVirtualMachines/openjdk-1.8.0_172.jdk/Contents
sudo mkdir /Library/Java/JavaVirtualMachines/openjdk-1.8.0_172.jdk/Contents/MacOS
3. Run the following commands to link to the existing homebrew-openjdk install