-
On every reboot I have to set up the aliases is this normal behavior? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
HI, Danilo. Are you talking about the Bash aliases described here? If so, yes, those will be active only during your current Bash session. To make them permanent, put them into the file $ cat $(openjdk)
# Source this file for OpenJDK environment variables and aliases
export JAVA_HOME=/snap/openjdk/1954/jdk
export MANPATH=/snap/openjdk/1954/jdk/man:
alias java='openjdk.java'
alias javac='openjdk.javac'
alias javadoc='openjdk.javadoc'
alias jar='openjdk.jar'
alias jarsigner='openjdk.jarsigner'
alias jlink='openjdk.jlink'
alias jpackage='openjdk.jpackage'
alias jwebserver='openjdk.jwebserver' Then copy and paste the lines that begin with |
Beta Was this translation helpful? Give feedback.
HI, Danilo. Are you talking about the Bash aliases described here? If so, yes, those will be active only during your current Bash session. To make them permanent, put them into the file
.bash_aliases
in your home directory. First run the following command:Then copy and paste the lines…