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
As a lightweight open source database, MySQL is w...
Table of contents 1. Paradigm foundation 1.1 The ...
1. Introduction to compression and packaging Comm...
Installation path: /application/mysql-5.5.56 1. P...
let Utils = { /** * Is it the year of death? * @r...
Copy code The code is as follows: <a href=# ti...
Just 15 lines of CSS to crash your iPhone Securit...
Regarding the connection method between Java and ...
MQTT Protocol MQTT (Message Queuing Telemetry Tra...
<br />"There are no ugly women in the w...
1. Problem symptoms Version: MySQL 5.6, using the...
The MySQL built on Tencent Cloud is always very s...
summary: The following is a method for changing t...
Ⅰ. Problem description: Use html+css to implement...
Table of contents First look at the effect: accom...