Friday, August 4, 2017

Setup Java Home Environment Variables

Setup Java Home Environment Variables 

~$ cd /etc/profile.d/
/etc/profile.d$ sudo touch java.sh
/etc/profile.d$ sudo nano java.sh

copy file ini ke dalam nano

export JAVA_HOME=/usr/local/java/jdk1.8.0_144
export PATH=$JAVA_HOME/bin:$PATH

save dan exit nano, untuk pastikan 
samada berjaya atau tidak, 

/etc/profile.d$ cat java.sh
export JAVA_HOME=/usr/local/java/jdk1.8.0_144
export PATH=$JAVA_HOME/bin:$PATH


No comments:

10 aprs packet daripada LapanSat IO-86 : YB0X-1

2:Fm YD1PRY To APOT21 Via YB0X-1* [09:38:43R] [++-] T#071,153,202,001,000,000,00000010 2:Fm YB0X-1 To APOT21 Via SGATE [09:39:09R] [+++]...