如何切換Java的版本
下面將會教你如何在Terminal下,切換Java的版本。
Install Java12brew tap caskroom/versionsbrew cask install java java6 java8
Check your Java version12ls /Library/Java/JavaVirtualMachines/> 1.6.0.jdk jdk1.7.0_80.jdk jdk1.8.0_202.jdk openjdk-12.jdk
Check version details1234567/usr/libexec/java_home -V> Matching Java Virtual Machines (5):> 12, x86_64: "OpenJDK 12" /Library/Java/JavaVirtualMachines/openjdk-12.jdk/Contents/Home> 1.8.0_202, x86_64: "Java SE 8" /Library/Java/JavaV ...
Change Terminal style using powerline
In this topic, I will show you how to change you terminal style using powerline.It’s very useful and awesome, I think you would like it.Let’s check it out.
Install Python & Powerline
Install python123brew install pythoneasy_install pippip install --user powerline-status
Change versionIf the version is python3, change to pip3.
Doesn’t work?If you have some problem, re-install the powerline-status.
12pip uninstall powerline-statuspip3 uninstall powerline-status
Find powerline directionMake ...