Skip to content

Instantly share code, notes, and snippets.

@cesarhernandezgt
Created May 27, 2020 21:05
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save cesarhernandezgt/9b4fc5251408b2ef375471ee7c8cf801 to your computer and use it in GitHub Desktop.
Save cesarhernandezgt/9b4fc5251408b2ef375471ee7c8cf801 to your computer and use it in GitHub Desktop.
How to donwload and setup JDK on OSX
1. Install brew:
2. Add cask to brew: brew tap homebrew/cask-versions
3. Install Java 6: brew cask install java6
4. If you use SDK man, you can import your JDK 6 installtion using: sdk install java 1.6.0.jdk /Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Home/
5. Using SDK Man, change to use JDK 6: sdk use java 1.6.0.jdk
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment