Search
 
SCRIPT & CODE EXAMPLE
 

SHELL

java change version mac

/usr/libexec/java_home -V
# Matching Java Virtual Machines (2):
#    16.0.1, x86_64:     "Java SE 16.0.1"
#    11.0.11.1, x86_64:  "Amazon Corretto 11"
#    	 ^
#        |
#     VERSION
export JAVA_HOME=`/usr/libexec/java_home -v [VERSION]`
Comment

change default java version mac

nano ~/.zshrc

export JAVA_HOME=$(/usr/libexec/java_home -v 1.8.0)
Comment

PREVIOUS NEXT
Code Example
Shell :: composer uninstall 
Shell :: git sync local branch with remote 
Shell :: kill all process that match in grep 
Shell :: install php7.4 curl 
Shell :: remove junk files from ubuntu via terminal 
Shell :: install webmin ubuntu 
Shell :: remove blender ubuntu 20.04 
Shell :: docker start all containers 
Shell :: docker remove logs 
Shell :: install sticky notes in ubuntu 
Shell :: docker remove all exited containers 
Shell :: list of running ports linux 
Shell :: ubuntu server antivirus 
Shell :: upgrade pytest version 
Shell :: how to make bat file delete itsself 
Shell :: deny directory listing htaccess 
Shell :: install babel core 
Shell :: git get current commit hash 
Shell :: how to get ram detail in linux 
Shell :: display id all image docker 
Shell :: how to install firefos on an rpi 
Shell :: amend last commit message 
Shell :: sudo command not found 
Shell :: download vs code in linux 
Shell :: how to list all gnome extensions 
Shell :: npm install @ngx-translate/http-loader 
Shell :: docker compsoe ubuntu 
Shell :: Ports are not available: listen tcp 0.0.0.0/50070: bind: An attempt was made to access a socket in a way forbidden by its access permissions 
Shell :: aws cli create new profile 
Shell :: install wine linux 
ADD CONTENT
Topic
Content
Source link
Name
1+2 =