Configure Java environment variables Here, the environment variables are configured in etc/profile, that is, the JDK environment is configured for all users. Configure environment variables (note the jdk location) #set java env export JAVA_HOME=/usr/lib/jdk/jdk1.8.0_171 export JRE_HOME=${JAVA_HOME}/jre export CLASSPATH=.:${JAVA_HOME}/lib:${JRE_HOME}/lib export PATH=${JAVA_HOME}/bin:$PATH Execute the command to make it effective: Summarize The above is the configuration method of Java environment variables in Linux system introduced by the editor. I hope it will be helpful to everyone. If you have any questions, please leave me a message and the editor will reply to you in time. I would also like to thank everyone for their support of the 123WORDPRESS.COM website! You may also be interested in:
|
<<: Detailed explanation of the use of Join in Mysql
>>: jQuery achieves the effect of advertisement scrolling up and down
In our daily work, we often come into contact wit...
Phenomenon: Change the div into a circle, ellipse...
Table of contents Docker Basic Concepts Docker in...
1. Try to use single column instead of multi-colum...
<br />Structure and hierarchy reduce complex...
Transactions in MySQL are automatically committed...
Environmental preparation: Deploy lnmp on a host ...
Problem Reproduction When using HTML for editing,...
When using a virtual machine, you may find that t...
background A specific device is used to perform i...
docker-compose.yml version: '2' services:...
1. How to create a user and password 1. Enter the...
vsftpd Overview vsftpd is the abbreviation of &qu...
In HTML, colors are represented in two ways. One i...
Table of contents 1. Overview 2. Attributes 1. Ma...