In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-01-16 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >
Share
Shulou(Shulou.com)06/01 Report--
This article introduces the relevant knowledge of "the installation method of Eclipse under Ubuntu". In the operation of actual cases, many people will encounter such a dilemma, so let the editor lead you to learn how to deal with these situations. I hope you can read it carefully and be able to achieve something!
1. Download jre,eclipse,cdt
Where jre is the java running environment, eclipse needs to install jre before it can run, and cdt is a plug-in for running c\ C++ programs in eclipse.
1.1 download jre
The URL is: java.sun.com, click java se, the red underlined part (as shown below)
Then, select download jre
Then, as shown in the following figure, the red underlined section shows
Click "jre-6u18-linux-i586.bin"
You can get the jre-6u18-i586.bin file.
1.2 download eclipse
The URL is: www.eclipse.org, select downloads, as shown in the red section of the following figure
Select "eclipse ide for java ee developers (188MB)"
Click "[China] Amazon AWS (http)"
You can get the eclipse-jee-galileo-SR1-linux-gtk.tar.gz package.
1.3download cdt
Web site: www.eclipse.org/cdt/, click "Downloads"
Select the red underlined section below
Click "6.0.1 (September 25509)"
Click "[China] Amazon AWS (http)"
You can get the cdt-master-6.0.1.zip package.
two。 Installation
(1) install eclipse first and open "Terminal", as shown in the following figure
Go to the directory where you want to "install the software". Here's what I do, as follows
Then, extract the eclipse-jee-galileo-SR1-linux-gtk.tar.gz package
The command is: sudo tar-zxvf eclipse-jee-galileo-SR1-linux-gtk.tar.gz
Get: eclipse folder
(2) install jre
At the terminal, type: sh jre-6u18-i586.bin, press the space all the time, then type 'yresume, press enter, and then you will begin to install jre.
After installation, a jre1.6.0_18 folder is generated, and then copied to the eclipse folder. By typing: sudo cp-r jre1.6.0_18 eclipse/jre at the terminal
Until now, you can run the eclipse software by opening the eclipse folder and double-clicking the eclipse icon.
(3) install cdt
Enter unzip cdt-master-6.0.1.zip-d cdt at the terminal to extract the cdt-master-6.0.1.zip and store its contents in the cdt folder.
Then enter: sudo cp-r cdt/plugins/ eclipse/, to copy the contents of plugins under cdt to the plugins folder under eclipse.
Finally, type sudo cp-r cdt/features/ eclipse/, to copy the contents of features under cdt to the features folder under eclipse.
By now, the installation has been completed.
3. Run the C++ program
Before running the C++ program, you need to type: sudo apt-get install build-essential at the terminal, which means to install the C++ compiler, debug the software, etc.
Open eclipse and create the project, as shown in the following figure
Select "C++ project" and click "next"
By now, a helloWorld.cpp program has been running.
This is the end of the content of "how to install Eclipse under Ubuntu". Thank you for reading. If you want to know more about the industry, you can follow the website, the editor will output more high-quality practical articles for you!
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.