Install and configure JDK + Eclipse + QT on Ubuntu

Source: Internet
Author: User
Install JDK1, go to a. bin package on the official website, and run./xx. bin directly on the command line. It is found that jdk folders are added in the same directory. 2. Configure the environment and modify bash. bashrc, added: exportJAVA_HOME =/usr/local/bin /... /jdk's newly generated folder PATH exportPATH = $ JAVA_HOME/bin: $ PATH Note: Do not forget the following: $ PATH. I just forgot it.

Install JDK

1. Go to the official website and run a. bin package. Then, run./xx. bin on the command line and find that jdk folders are added to the same directory.

2. Configure the environment, modify bash. bashrc, and add:

Export JAVA_HOME =/usr/local/bin/.../directory of the folder just generated by jdk

Export PATH = $ JAVA_HOME/bin: $ PATH

Note: Do not forget the "$ PATH" icon next to it. I just forgot it. As a result, the system cannot log on. I can only change it from the command line mode.

Then, add the preceding two sentences to the/etc/profile and/etc/environment files in the same way.

Install eclipse.

1. Go to the official website to download an eclipse for c/c ++ compressed file, put it in the/opt directory, and decompress it with the command line. If JDK is successfully installed, decompress the package and run./eclipse directly in the directory to start.

Install QT

1. I went to the official website to download a source code package and configured it myself. It took a long time to compile the package. I wonder if there is a faster method. I should look for apt-get or something.

2. Place the source code package in any location, decompress the command line, and install the package gradually according to the installation requirements on the official website. First./configure, if an error is reported, you need to install a few libraries, similar to apt-get install libX11-dev or something.

3. make. If an error occurs, follow the above steps to download several libraries.

4. make install.

Install Qt Eclipse Integration for C ++

1. Go to the official website to get a linux version of Qt Eclipse Integration for C ++.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.