Search
 
SCRIPT & CODE EXAMPLE
 

SHELL

how to change java version in linux

$ sudo update-alternatives --config java
Comment

linux change java

sudo update-java-alternatives -s java-8-oracle
export JAVA_HOME=/usr/lib/jvm/java-8-oracle/
export PATH=$PATH:$JAVA_HOME
123
Comment

linux change java


export JAVA_HOME="path that you found"

export PATH=$JAVA_HOME/bin:$PATH

Comment

PREVIOUS NEXT
Code Example
Shell :: how to run requirements.txt in python 
Shell :: git log graph 
Shell :: docker-compose install centos 8 
Shell :: stop all docker images 
Shell :: linux check if a port is open 
Shell :: install nano ubuntu 
Shell :: update git version in ubuntu 
Shell :: uninstall anydesk ubuntu 
Shell :: shutdown wsl 
Shell :: uninstall scikit learn 
Shell :: zsh: no such file or directory: /usr/local/bin/composer.phar 
Shell :: install protoc ubuntu 
Shell :: kill intellij ubuntu 
Shell :: git show graph command line 
Shell :: how to close port 3000 running 
Shell :: install tkinter conda 
Shell :: magento 2 check version command line 
Shell :: robo 3t download for ubuntu 18.04 
Shell :: ubuntu install clamav 
Shell :: battery report ubuntu 
Shell :: ubuntu check if apache is running 
Shell :: linux process vs service vs daemon 
Shell :: change folder permisson in mac 
Shell :: git show last commit 
Shell :: how to exit git branch 
Shell :: how to restart the network in ubuntu 
Shell :: install and enable docker on arch 
Shell :: ssh delete folder 
Shell :: apt-get update 
Shell :: command to check mongodb version 
ADD CONTENT
Topic
Content
Source link
Name
9+4 =