Detailed steps to install JDK environment in Liunx system

Detailed steps to install JDK environment in Liunx system

1. Download the liunx version jdk compressed package

  • Enter the JDK official website to download the jdk compressed package. You need to log in to your account before downloading, you can register an account yourself!
  • You can also use the network disk provided by this blogger to download https://pan.baidu.com/s/1liNHej2hGXJU_L8yQNRZmQ?pwd=9w3f

2. After the download is completed, use the FileZilla tool to upload the compressed package to the Liunx system

  • To link the Liunx system, I use a virtual machine to directly connect to the virtual machine with a tool and drag it into the virtual machine.

3. The upload is complete and the official installation begins

  • Use the tool MobaXterm or operate in the terminal of the Liunx system. I use the MobaXterm tool, which can be downloaded from Baidu

  • Use the command rpm -qa|grep jdk to check whether the jdk environment is installed in the system

  • If there is no skip, if there is, use the command rpm -e --nodelps ... to delete

  • Afterwards, use rpm -qa|grep jdk to query again whether the deletion is clean or not. Mine has been deleted and there is no more

  • Then create a folder to store the decompression package directory by yourself, create the command mkdir ...

  • Use the command to decompress the jdk environment compression package tar -zxvf ... -C /usr/local/java/ to the file directory you created

  • Use the command to go to the folder you created to see if it has been successfully decompressed to the directory

  • Use the command vim /etc/proflie to open the proflie configuration environment variable and add the following command at the end

    export JAVA_HOME=/usr/local/java/jdk1.8.0_161
    export PATH= J A V A H O M E / b i n : JAVA_HOME/bin: JAVAHOMR / bin:PATH
    export CLASSPATH=.: J A V A H O M E / l i b / d t . j a r : JAVA_HOME/lib/dt.jar: JAVAHOME/lib/dt.jar:JAVA_HOME/lib/tools.jar

  • Use the command source /etc/profile to update the environment configuration
  • Use the command to check whether the installation is successful
  • Query version java -version
  • compile javac

Congratulations on the above picture, indicating that you have completed the installation.

Digression

In this first year of fast-growing technology, programming is like a ticket to a world of infinite possibilities for many people. In the star lineup of programming languages, Python is like the leading superstar. With its concise and easy-to-understand syntax and powerful functions, it stands out and becomes one of the most popular programming languages ​​in the world.


The rapid rise of Python is extremely beneficial to the entire industry , but " 人红是非多" has caused it to add a lot of criticism, but it still cannot stop its hot development momentum.

Will Python remain relevant and intact for the rest of the next decade? Today, we're going to analyze the facts and dispel some misconceptions.

If you are interested in Python and want to get a higher salary by learning Python, then the following set of Python learning materials must be useful to you!

Materials include: Python installation package + activation code, Python web development, Python crawler, Python data analysis, artificial intelligence, machine learning and other learning tutorials. Even beginners with 0 basics can understand and understand. Follow the tutorial and take you to learn Python systematically from zero basics!

1. Learning routes in all directions of Python

The route of all directions in Python is to organize the commonly used technical points of Python to form a summary of knowledge points in various fields. Its usefulness lies in that you can find corresponding learning resources according to the above knowledge points to ensure that you learn more comprehensively.
insert image description here
2. Python learning software

If a worker wants to do a good job, he must first sharpen his tools. The commonly used development software for learning Python is here!
insert image description here
3. Python introductory learning video

There are also many learning videos suitable for getting started with 0 basics. With these videos, you can easily get started with Python~insert image description here

4. Python exercises

After each video lesson, there are corresponding practice questions, you can test the learning results haha!
insert image description here

Five, Python actual combat case

Optical theory is useless. You have to learn to type codes along with it, and then you can apply what you have learned in practice. At this time, you can learn from some practical cases. This information is also included~insert image description here

6. Python interview materials

After we have learned Python, we can go out and find a job with the skills! The following interview questions are all from first-line Internet companies such as Alibaba, Tencent, and Byte, and some Alibaba bosses have given authoritative answers. After reading this set of interview materials, I believe everyone can find a satisfactory job.
insert image description here
insert image description here
7. Information collection

The full set of learning materials for the above-mentioned full version of Python has been uploaded to the CSDN official website. Those who need it can scan the QR code of the CSDN official certification below on WeChat to receive it for free.

Guess you like

Origin blog.csdn.net/Python966/article/details/132239213
Recommended