Get the App
SLTechnology News&Howtos  ›  Internet Technology  › 

How to build JDK environment in Linux server

Shulou Source: shulou.com Published: 2022-06-02 10:27:03 11月02日 Update

In this issue, the editor will bring you about how to build the JDK environment in the Linux server. The article is rich in content and analyzes and describes for you from a professional point of view. I hope you can get something after reading this article.

1. Download jdk for Linux

Click me to download jdk-7u80-linux-x64.tar.gz, or some other version

2. Upload jdk to Linux server with a slight process. 3. Decompress jdk, enter the command: tar-zxvf jdk-7u80-linux-x64.tar.gz4, move the folder to the established directory, enter the command: mv jdk1.7.0_80.. / usr/local/java5, edit the configuration file, configure the environment variable JAVA_HOME=/usr/local/java/jdk1.7.0_80CLASSPATH=$JAVA_HOME/lib/PATH=$PATH:$JAVA_HOME/binexport PATH JAVA_HOME CLASSPATH6, restart the Linux system Run command: java-version// appears the following content successfully configured java version "1.7.0380" Java (TM) SE Runtime Environment (build 1.7.0_80-b15) Java HotSpot (TM) 64-Bit Server VM (build 24.80-b11, mixed mode) above is how to build the JDK environment in the Linux server, if you happen to have similar doubts, you might as well refer to the above analysis to understand. If you want to know more about it, you are welcome to follow the industry information channel.

Tags: Server environment service content command configuration file analysis input success professional medium and small content-rich variables that is folders articles more versions directories Apple Docker Huawei Linux macOS MariaDB Microsoft MySQL NVidia OPPO Reno Microsoft Apple Docker Linux Redmi