Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

How to install Java8 64 for raspberry pie 4b+Ubuntu20.10 Server

2025-01-16 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Internet Technology >

Share

Shulou(Shulou.com)06/01 Report--

This article is about how raspberry pie 4b+Ubuntu20.10 Server installs Java8 64. The editor thinks it is very practical, so share it with you as a reference and follow the editor to have a look.

Installation environment:

Raspberry pie 4b + Ubuntu 20.10 (GNU/Linux 5.8.0-1015-raspi aarch74)

First check the version of your system.

Uname-M1. Download jdk

Https://www.oracle.com/java/technologies/javase/javase-jdk8-downloads.html

two。 Decompress tar-zxvf jdk-8u281-linux-aarch74.tar.gz3. Cut the extracted folder to the usr/local/jdk1.8 directory

Create a directory

Cd / usr/local sudo mkdir jdk1.8

Cut to the / usr/local/jdk1.8/ directory you created

Sudo mv jdk1.8.0_281 / usr/local/jdk1.8/4. Configure the environment variable sudo vim / etc/profile

Append at the end

# jdkexport JAVA_HOME=/usr/local/jdk1.8/jdk1.8.0_281export PATH=$JAVA_HOME/bin:$PATHexport CLASSPATH=.:$JAVA_HOME/lib/dt.jar:$JAVA_HOME/lib/tools.jar5. Overload the environment variable source / etc/profile6. Check java-version

Thank you for reading! This is the end of the article on "how to install Java8 64 for raspberry pie 4b+Ubuntu20.10 Server". I hope the above content can be of some help to you, so that you can learn more knowledge. if you think the article is good, you can share it for more people to see!

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Internet Technology

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report