Reputation: 165
I'm trying to install GrObId and it requires JVM8. Will installing JDK work for this on an M1 Mac?
Upvotes: 3
Views: 11482
Reputation: 166
Yes, you can install the openjdk 8 and the latest version 0.7.3 also supports JDK > 11. With the latest version you can install temurin 17 directly with homebrew.
Upvotes: 1
Reputation: 6074
You may obtain an installer for Java 8 (LTS) . The current version is Azul Zulu: 8.64.0.19 (8u345b01) in .dmg format.
Open the disk image and install.
Open the Terminal.app and run this command:
% open .profile ; open .cshrc ; open .zshrc; open .login; open .bash_profile
The file /Users/risner/.zshrc does not exist.
The file /Users/risner/.login does not exist.
Ignore any "does not exist" errors. You should have a couple of files open.
If you have any files called .cshrc or .login open, add this end of the file:
setenv JAVA_HOME /Library/Java/JavaVirtualMachines/zulu-8.jdk/Contents/Home/jre
If you have any .zshrc, .profile or .bash_profile open then add this line instead:
export JAVA_HOME=/Library/Java/JavaVirtualMachines/zulu-8.jdk/Contents/Home/jre
Next, quit terminal and reopen. You should now be able to install GrObId
.
Upvotes: 5