Skip to content

Instantly share code, notes, and snippets.

@noxone
noxone / change-jdk-on-macos.md
Last active September 20, 2024 12:27
Change JDK on MacOS

Change JDK on MacOS

Find all installed JDK's

Run /usr/libexec/java_home -V. This will show you all installed (and known) JDK's:

Matching Java Virtual Machines (3):
1.8.0_05, x86_64:   "Java SE 8" /Library/Java/JavaVirtualMachines/jdk1.8.0_05.jdk/Contents/Home
1.6.0_65-b14-462, x86_64:   "Java SE 6" /System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Home
@noxone
noxone / Set-up-Git-and-SourceTree-to-gpg-sign-commits-on-MacOS.md
Last active August 1, 2024 06:11
Set up Git and SourceTree to gpg sign commits on MacOS