Export the JAVA_HOME env var

This commit is contained in:
Rodolphe Breard 2020-05-03 20:25:31 +02:00
parent ccf948f26b
commit 790c4d6207

9
.zshrc
View file

@ -50,6 +50,15 @@ fi
# Pew # Pew
hash pew 2>/dev/null && source $(pew shell_config) hash pew 2>/dev/null && source $(pew shell_config)
# Java
#
# Use `archlinux-java` to change the default Java environment.
# List directories in `/usr/lib/jvm/` to see all possible values.
#
# Example:
# sudo archlinux-java set java-13-openjdk
export JAVA_HOME="/usr/lib/jvm/default"
# NVM # NVM
if [ -f /usr/share/nvm/init-nvm.sh ]; then if [ -f /usr/share/nvm/init-nvm.sh ]; then
. /usr/share/nvm/init-nvm.sh . /usr/share/nvm/init-nvm.sh