How to install a Vim color scheme

In this tutorial, we will show you how to install a Vim editor color scheme named “distinguished“. 1. Default Color Scheme Default syntax highlight in the “homebrew” profile terminal. 2. Install a new Vim Color Scheme 2.1 Download a new Vim color scheme – “distinguished“. Extracts and move the downloaded *.vim file to this folder …

Read more

Maven $JAVA_HOME is not defined correctly on Mac OS

This article shows how to fix the Maven error JAVA_HOME is not defined correctly. Terminal $ mvn -version Error: JAVA_HOME is not defined correctly. We cannot execute /usr/libexec/java_home/bin/java Further Reading How to set $JAVA_HOME environment variable on macOS 1. $JAVA_HOME and macOS 10.15 Catalina, macOS 11 Big Sur On macOS 10.15 Catalina and later, the …

Read more

How to Set $JAVA_HOME environment variable on macOS

This article shows how to set the $JAVA_HOME environment variable on older Mac OS X and the latest macOS 11. Topics macOS release history What is /usr/libexec/java_home $JAVA_HOME and macOS 11 Big Sur $JAVA_HOME and Mac OS X 10.5 Leopard $JAVA_HOME and older Mac OS X Switch between different JDK versions Solution Steps to set …

Read more

Add color to the bash terminal in Mac OS X

By default, the bash terminal in Mac OSX looks plain. bash terminal, profile = Homebrew 1. Add Color To Bash To make the bash terminal console more colorful, you need to create or edit a ~/.bash_profile file, and configure the LSCOLORS value. See following example to show you how to create a new .bash_profile and …

Read more