In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-02-24 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Development >
Share
Shulou(Shulou.com)06/01 Report--
What are the specific steps for Linux to install eclipse? for this question, this article introduces in detail the corresponding analysis and solutions, hoping to help more partners who want to solve this problem to find a more simple and easy way.
How does Linux install eclipse? Eclipse is a famous cross-platform free integrated development environment (IDE). Originally mainly used for Java language development, but now there are plug-ins to make it a development tool for other computer languages such as C++ and Python.
Specific steps for Linux to install eclipse
1. Prepare the Java environment to open the terminal and install jdk
$sudo apt install openjdk-11-jdk requires students in java8 environment to change this command to execute $sudo apt install openjdk-8-jdk.
Now some companies are gradually transitioning from java8 to java11, so it is recommended that it is better to start java11 if you need to learn. In addition, jdk11 has jshell, an interactive command line similar to Python and Node.js, which can directly test the code you want to test. The relevant information can be found on the Internet, so I won't repeat it here.
After installation, open the terminal and type $java-version and $javac-version to check whether the environment variables have been configured.
$java-version openjdk version "11.0.4" 2019-07-16 OpenJDK Runtime Environment (build 11.0.4+11-post-Debian-1deb10u1) OpenJDK 64-Bit Server VM (build 11.0.4+11-post-Debian-1deb10u1, mixed mode, sharing) $javac-version javac 11.0.4 if the version number information is successfully output, it means that the environment variable is configured successfully
two。 Download the official address of EclipseEclipse
Download address of Sinicization package
If the official website loads slowly, you can download it from the domestic mirror station.
Eclipse Source of Dalian Neusoft Mirror Station
Dalian Neusoft Mirror Station Eclipse Source Babel Language Packs for build R0.18.1
If there is enough space, it is recommended to download the JavaEE version of Eclipse, which will save a lot of trouble when learning enterprise application development in the future
Here, take the Java EE version as an example, click the download link of the Linux version.
Click > > Select Another Mirror, select a domestic mirror line, the download speed will be faster.
After the download is completed, enter the download directory, open the terminal, and decompress the downloaded Eclipse to usr/local/.
$sudo tar-xzvf eclipse-jee-2020-03-R-incubation-linux-gtk-x86_64.tar.gz-C / usr/local/3. After setting Eclipse startup mode and using soft connection to start Eclipse, enter the / usr/local/bin/ directory and establish a soft connection for eclipse. It is convenient for us to open eclipse in the terminal later, just like opening vscode in the terminal.
$cd / usr/local/bin/ $sudo ln-s / usr/local/eclipse/eclipse use desktop shortcuts to start Eclipse or set Eclipse shortcuts to open Eclipse as you would on a Windows desktop
Go to the / usr/share/applications folder, which is equivalent to a shortcut on Windows
$cd / usr/share/applications create a new shortcut to Eclipse
Sudo tee eclipse.desktop now opens the usr/share/applacations directory and you can see the shortcut to Eclipse. Copy it to your desktop and start Eclipse4. Use Eclipse, everything is ready, now start the Eclipse bar after starting the project, we will set Eclipse a little better, so that Eclipse can have automatic prompt, that is, the code automatic completion function opens the Preference under Window to find the Content Assist menu as shown in the figure, only use enter automatic completion code: enable the option in the first red box
Press the common keys to activate automatic completion: enter the string of characters QWERTYUIOPASDFGHJKLZXCVBNMqwertyuiopasdfghjklzxcvbnm into the text box in the second red box, yes, all the uppercase and lowercase letters on the keyboard.
The answer to the question about the specific steps of installing eclipse in Linux is shared here. I hope the above content can be of some help to you. If you still have a lot of doubts to be solved, you can follow the industry information channel to learn more about it.
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.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.