Skip to content

Instantly share code, notes, and snippets.

@JeOam
Last active May 5, 2020 03:15
Show Gist options
  • Save JeOam/a926dbb5145c4d0789c1 to your computer and use it in GitHub Desktop.
Save JeOam/a926dbb5145c4d0789c1 to your computer and use it in GitHub Desktop.

Revisions

  1. JeOam revised this gist May 5, 2020. 1 changed file with 2 additions and 0 deletions.
    2 changes: 2 additions & 0 deletions Java.md
    Original file line number Diff line number Diff line change
    @@ -1,3 +1,5 @@
    Update: https://www.cyanhall.com/posts/notes/7.homebrew-cheatsheet/#java

    on El Capitan, after installing the brew...
    ```
    $ brew update
  2. JeOam revised this gist May 5, 2020. No changes.
  3. JeOam created this gist Feb 22, 2016.
    15 changes: 15 additions & 0 deletions Java.md
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,15 @@
    on El Capitan, after installing the brew...
    ```
    $ brew update
    $ brew tap caskroom/cask
    $ brew install Caskroom/cask/java
    ```
    And Java 8 will be installed at `/Library/Java/JavaVirtualMachines/jdk1.8.xxx.jdk/`

    Check version:
    ```
    $ java -version
    java version "1.8.0_74"
    Java(TM) SE Runtime Environment (build 1.8.0_74-b02)
    Java HotSpot(TM) 64-Bit Server VM (build 25.74-b02, mixed mode)
    ```