Skip to content

Instantly share code, notes, and snippets.

@kenglxn
Last active May 10, 2022 13:30
Show Gist options
  • Select an option

  • Save kenglxn/1843d552dff4d4233271 to your computer and use it in GitHub Desktop.

Select an option

Save kenglxn/1843d552dff4d4233271 to your computer and use it in GitHub Desktop.

Revisions

  1. kenglxn revised this gist Aug 24, 2015. 1 changed file with 1 addition and 1 deletion.
    2 changes: 1 addition & 1 deletion jhome.fish
    Original file line number Diff line number Diff line change
    @@ -1,5 +1,5 @@
    function jhome
    set JAVA_HOME (/usr/libexec/java_home $argv)
    set -x JAVA_HOME (/usr/libexec/java_home $argv)
    echo "JAVA_HOME:" $JAVA_HOME
    echo "java -version:"
    java -version
  2. kenglxn revised this gist Jun 16, 2015. No changes.
  3. kenglxn revised this gist Jun 16, 2015. No changes.
  4. Ken Gullaksen revised this gist Jun 16, 2015. 1 changed file with 0 additions and 0 deletions.
    Binary file modified jhome.gif
    Loading
    Sorry, something went wrong. Reload?
    Sorry, we cannot display this file.
    Sorry, this file is invalid so it cannot be displayed.
  5. Ken Gullaksen revised this gist Jun 16, 2015. 1 changed file with 0 additions and 0 deletions.
    Binary file added jhome.gif
    Loading
    Sorry, something went wrong. Reload?
    Sorry, we cannot display this file.
    Sorry, this file is invalid so it cannot be displayed.
  6. kenglxn created this gist Jun 16, 2015.
    6 changes: 6 additions & 0 deletions jhome.fish
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,6 @@
    function jhome
    set JAVA_HOME (/usr/libexec/java_home $argv)
    echo "JAVA_HOME:" $JAVA_HOME
    echo "java -version:"
    java -version
    end