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
*Create a page: two input boxes and a button *Cod...
Recently, when I was learning docker, I found tha...
Serve: # chkconfig --list List all system service...
1. Install a virtual machine (physical machine) Y...
NextCloud You can share any files or folders on y...
Problem description: I bought a Mac and installed...
Features of MySQL: MySQL is a relational database...
Uninstall MariaDB CentOS7 installs MariaDB instea...
1. Check the synchronization status of A and B da...
As we all know, the CSS position absolute is set ...
Table of contents 1. Preprocessing 2. Compilation...
Here are two ways to install MySQL under Linux: y...
This article example shares the specific code for...
Scenario: The crawled data generates a data table...
How to change the password in MySQL 5.7.18: 1. Fi...