Jdk-8u111-linux-x64.tar.gz This is a compressed package of JDK in Linux system.
Delete command:
RM-FR Directory Name "This command is mandatory to delete the meaning of"
To modify a character encoding set:
Export LANG=ZH_CN. UTF-8
To view the character encoding set:
Echo $LANG
There is also the need to modify the default character encoding set in the terminal session.
This is the syntax for window's environment variables.
java_home=d:\java\jdk1.8.0_91
Classpath=.; %java_home%\jre\lib\rt.jar;%java_home%\lib\dt.jar;%java_home%\lib\tools.jar
Path=%java_home%\bin;
Linux decompression command "must be extracted under the Linux system, or there will be a file exception error":
Tar xzvf jdk-8u111-linux-x64.tar.gz
This is the wording of the environment variable in Linux.
Export java_home=/software/jdk1.8.0_111
Export classpath=.: $JAVA _home/jre/lib/rt.jar: $JAVA _home/lib/dt.jar: $JAVA _home/lib/tools.jar
Export path= $JAVA _home/bin: $PATH
To store environment variables in global variables:
Vi/etc/porfile values are added by a or I, and then Wq saved after pressing ESC . Finally reconnect again.
1.RWX R-x rwx
421 401 421
Modify Permissions
chmod 757 file name.
Modify the owner.
Chown A2:A2 Test.txt
Create a file.
Touch file name.
Displays the time of the current system.
Date.
Linux Configuration JDK Environment variables