Configure eclipse-based Java, C ++, and Python integrated development environments.

Source: Internet
Author: User
Configure eclipse-based Java, C ++, Python integrated development environment Zhan Kunlin from my youdao notes: http://note.youdao.com/share? Id = bd5eb7f827b10534088c7c5085208bbe & type = Note
Eclipse is very easy to use and enjoys the Automatic Code complementing function. In addition, it is very convenient to develop programs in various languages using the same IDE, which can improve efficiency. This article aims to help beginners build an integrated development environment for Java, C ++, and python,
(1) Java + eclipse
Download and install JDK official website download: export environment variable: java_home = D: \ glassfish3 \ jdk7path = % java_home % \ bin; % mingw % \ bin; % python_home %; % ORACLE_HOME %; % SQLite %; % PATH %; classpath = .; % java_home % \ Lib \ DT. jar; % java_home % \ Lib \ tools. jar;
Download and install the eclipse Official Website: http://www.eclipse.org/downloads/download: Eclipse IDE for Java EE developers
Note: The JDK and eclipse platform versions must be the same, for example, both 32-bit and 64-bit.
Common settings and plug-ins: (a) set the tab key extension in eclipse to four spaces. this prevents the mixing of the tab key and Space key from program confusion on other platforms, such as Linux. window-> preferences open option: general-> editors-> text editors find displayed tab width on the right: Select Insert spaces for tabs, apply, and save the settings. See: http://my.oschina.net/renwofei423/blog/17338 (B) install Java decompilation plug-in Jad + jadeclipse decompilation plug-in can decompile. Class file into. Java file, easy to see the code.

Download jadeclipse: http://sourceforge.net/projects/jadclipse/files/download net. SF. jadclipse_3.3.0.jar, copy it to the plugin folder in the eclipse main directory, and then restart eclipse. Download jad.exe: http://www.varaneckas.com/jad/ (address found from the Wiki) after the download is complete, copy to any path, for example, I copy to % java_home % \ bin, that is: D: \ glassfish3 \ jdk7 \ bin \ jad.exe and then, window-> preferences-> JAVA-> jadclipse, fill in the full path name of The Decompilation tool Jad in path to decompiler, that is: D: \ glassfish3 \ jdk7 \ bin \ jad.exe. Set Windows> perference> General> editors> File Associations and select * under file type *. class, select jadclipse class File Viewer under associated editors, and click the default button on the right to set it as the default editor. Note that after this setting, you double-click some. class files still cannot be decompiled. This is because these class files do not have any additional source code. to parse all class files, you need to make the following settings: Select * under file type *. class without source (if there is no option, you can click Add on the right to add *. Class
Without source
Type), and then
Under associated editors, click Add to add jadclipse class file viewer, select jadclipse class file viewer, and click the default button on the right to set jadclipse class file viewer *. the Default Editor of class without source. See: http://blog.csdn.net/zklth/article/details/7919909 (2) c ++ CDT
Download and install mingw, download URL: http://sourceforge.net/project/showfiles.php? Group_id = 2435 download an online installation package that will be installed online. The installation directory is D: \ mingw. Set the environment variable: mingw = D: \ mingwpath = % mingw % \ bin; % PATH % after the environment variable is set successfully, you can execute GCC in the doscommand line, GDB and other commands.
Update C/C ++ plug-in CDT in eclipse. in eclipse, select help --> install new software and click Add to add the plug-in website. URL: Juno-http://download.eclipse.org/releases/juno. you can install many plug-ins, such as programming versions-> C/C ++ and CDT.
(3) Python + pydev
Download and install python2.7.3. The installation directory is D: \ python27. Set the environment variable: Path = D: \ python27; % PATH %
Update eclipse Python plug-in pydev in eclipse. url: pydev-http://pydev.org/updates
Installation configuration reference: http://www.cnblogs.com/sevenyuan/archive/2009/12/10/1620939.html
(A) Common settings: Set the tab key to four spaces to prevent confusion in Linux and other environments. pydev makes this setting by default. You can view the settings in windows --> properties ---> pydev ---> editor.

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.