Eclipse Installation Tutorials
--The most detailed installation of Java & Python tutorial instructions in history
(win7_64 + Eclipse 64-bit + jdk_8u131_64-bit + python2.7.8 + PyDev5.7.0 plug-in)
Applicable operating system:Win7 64-bit
Required software and plugins:Eclipse 64-bit ,jdk_8u131_64-bit ,python2.7.8, PyDev5.7.0 plug-in
The first time such a long blog, if there is a problem, please give us a lot of advice, thank you!
For easy installation, I have packaged the above software and plugins! Content such as tablets, so please follow the following steps directly, the need for friends can leave a comment. (download Link: http://pan.baidu.com/s/1nuHHejf password: 170l) Please note: Not 1701, is 170l
Recommended to listen to the song side installation!!!
First, install Eclipse
1, directly open the folder Eclipse-java-neon-3-win32-x86_64\eclipse, run Eclipse.exe, such as:
2, because there is no JDK installed, so this time will be error:
Second, install the Jdk_8u131_64bit, and configure the environment variables, confirm whether the correct
(Please note: The JDK installation will automatically delete the previous version, even if it is accidentally wrong, it will be deleted, only reinstall Yo, for easy to write tutorials, re-install again)
1. Create a new folder on the D drive: JDK
2, wait for (estimated 3 minutes), installed and then pop-up to the right of this dialog box:
3. Similarly, create a new folder on the D disk: Java, and install the upper-right image into Java as shown in:
4, continue to wait (about 2 minutes), when you see, drink a cup of water, comfort yourself, really still not easy:
5. Configure Environment variables: Click Computer-Properties-Advanced system settings, click Environment Variables. Click New under the System Variables column to create a new system environment variable.
Edit, variable name "Path", at the back of the value of the original variable, plus ;D: \jdk\bin;d:\jdk\jre\bin
new variable name "CLASSPATH", Variable value ;D: \jdk\lib;d:\jdk\lib\dt.jar;d:\jdk\lib\tools.jar
Two paths can be copied directly in it! Specific example:
5. Check whether Java is installed successfully;
6. confirm the environment configuration is correct
Enter the java,javac,java-version command separately in the console:
Press and hold Winkey+r, after entering CMD:
Java command:
Javac command:
Java-version command:
7, These three are the same words, congratulations, Java you have successfully installed! Now let's test it with eclipse: to make it easier to run later, we recommend adding a desktop shortcut:
PS: Just open, you need to fill out a working area, it may be named: Eclipse Practice, and check! (see Figure 1)
8. See http://www.cnblogs.com/liqiu/p/3407016.htmlfor examples , seehow it operates!
come here: Congratulations! You've gone half way, at least you can swim in the Java world! If you still want to go into Python, drink a glass of water, just get it, let's continue !
iii. Python 0 Basic installation tutorial, writing a python program with Eclipse
1, Baidu, input python2.7.8
(There are many versions of Python, but many tutorials, even textbooks, videos are about the 2.7.x version, so download one of the hottest versions of 2.7.8. For the sake of convenience, I have packed, not download, only installed)
http://download.csdn.net/download/xujian1981/7603701
2, install python2.7.8, please see the following website:
http://jingyan.baidu.com/article/7908e85c78c743af491ad261.html
(PS: Can be directly installed in the C-drive, direct point to the next, according to the Web page, do not create new folders, configuration environment variables such as: direct replication ; C:\Python27 to the variable name ha! )
3. then type python-v on the cmd command line to get the Python version information, congratulations, the installation is complete.
4, at this time the Python, already can use, but very inconvenient, for example, Winkey+r, then enter Python, enter after, get:
5, This time happy you will think, this much trouble ah, so we try to force, in eclipse installed a plug-in PyDev7.5.0 (the latest version of the official website)! For detailed steps, see the following URL:
http://blog.csdn.net/lionel_d/article/details/46975913
Actually very simple, do not believe, we continue to look:
(There are two ways to install the Pydev plug-in: The first, online installation, see the URL, but no matter how many times you try, will error, I made a few times!!! Second, offline installation, see below for steps)
(1) unzip Pydev 5.7.0.zip to the current folder Pydev 5.7.0, and open the file:
(2) extract the downloaded offline package directly, get the plugins and features folder, and put it in Eclipse's Dropins directory. Restart the Eclipse,pydev plugin to install successfully.
(Many tutorials on the Web say: Download the Pydev plugin directly, and then copy the files from the plugins and features directories to the plugins and features directories in Eclipse respectively.) Restart Eclipse OK, I tried many times, no ha, ask, I am to replace or all keep it? So this method does not ha!!! I didn't try it twice.)
(3) Restart Eclipse, see The 7th step of http://jingyan.baidu.com/article/eb9f7b6da950c4869364e8f5.html in detail. After the plugin is successfully installed, you need to configure Python interpreters, open eclipse, go to window->preferences, select Pydev->interpreters->python Interpreters, click Quick auto-confing on the right, auto search, click OK, complete the configuration as shown:
At this point, the configuration is complete, you can start to create Python project, try not to be excited, excited to want to cry, Red Ah, finally done, we do not hurry, and then an example to see how the Python operation in eclipse
6, the operation process, detailed see http://jingyan.baidu.com/article/eb9f7b6da950c4869364e8f5.html in the 第8-9 step, click file->new- >Project->PyDev-> Double-click PyDev project-> Enter the project name (such as Pytest)->finish, and then right-clicking Pytest on->new- >pydev package-> input Hellopython->finish, then right-click on Hellopython in Middle view->new->pydev module-> Enter Hellopython->finish, and finally double-click the file hellopython.py, and delete the content, type:print ' Hello,python! ' , click Run
PS: Yes, as you can see, the file extension is really . PY (PY trading!!!) )
Believe to come here, fast tears, it is really not easy to have wood!!! Well, you can travel in the world of Python, suggest to buy this textbook, pay attention to a few Daniel's Csdn blog, seriously began to swim it!!!
If you think the example is too low to feel, then try this one?
1. x = Int (input (' Please input x: '))
2. y = Int (input (' Please input y: '))
3. z = Int (input (' Please input Z: '))
4. if x > y:
5. x, y = y, X
6. if x > Z:
7. x, z = z, x
8. if y > Z:
9. Y, z = z, y
Ten. print(x, y, z)
Iv. How to resolve Eclipse startup screen flashes past (will definitely encounter)
before eclipse can be normal use, suddenly one day can't start, click on the icon after the splash screen disappears, the following are some of the solutions
1. Find the Eclipse.exe in the Eclipse directory, right click-"Send to desktop shortcut, then right click on the shortcut, select Properties, modify" target "(or targets):
E:\SOFTWARE\MYCLIPSE\ECLIPSE\ECLIPSE.EXE-VM "C:\Program Files\java\jdk1.6.0_24\bin
\javaw.exe "-data E:\WorkSpace
Where red represents the path of Eclipse, green represents the path of the Javaw.exe under the JDK, and blue represents the work path
This is a relatively simple method that I have tried. (Special works!!!) The following are my revised goals:
F:\2_ postgraduate information \ Programming exercises and common sense issues \eclipse installation and use \ECLIPSE-JAVA-NEON-3-WIN32-X86_64\ECLIPSE\ECLIPSE.EXE-VM "D:\jdk\bin\ Javaw.exe "-dataf:\2_ postgraduate information \ Programming exercises and common sense issues \eclipse installation and use \eclipse exercises
Rest assured, there will be no further problems, and be duly completed.
2. Ctrl+f in the C:/windows/system32 system folder, then search for Java.exe, if present Java.exe, Javaw.exe etc. Delete all. (not applicable to the above installation method)
3. Open the Eclipse.ini file in the Eclipse folder. Make the following modifications: before -vmargs, add-VM Java.exe's absolute path (for example: C:/java/jdk/bin/java.exe) to specify JAVAVM and eclipse will work. (Not tried)
Possible causes:
1, call Java command, WINDOWS will look for this command from the environment variables, guess the System folder priority is always higher, higher than the specified java_home, when your c:/windows/ When there is a java.exe in System32, the first java.exe to be found is definitely in the system folder, so no matter if you reload eclipse or reload the JDK, there is no special effect, but you can skip this java.exe when you specify the path to the JVM. And find the real java.exe. So specify the path after all problems are resolved.
2. You may have installed multiple JDK, which eventually led to eclipse not knowing which one to use. The specific URLs are as follows:
Http://www.cnblogs.com/AsaJiang/archive/2011/11/30/2269441.html
Appendix: URLs used in the installation process
1. Install Eclipse
Http://jingyan.baidu.com/article/d7130635194f1513fcf47557.html
2, installation found no JDK installed, and configure environment variables, confirm whether the correct
Http://www.cnblogs.com/smyhvae/p/3788534.html
3. Eclipse runs a simple Java program case
Http://www.cnblogs.com/liqiu/p/3407016.html
The following are:
Python Basics tutorial, writing Python programs with Eclipse
1. How to run Python
Http://jingyan.baidu.com/article/1876c8529e8de0890b1376a9.html
2. How to configure the Python development environment in eclipse
Http://jingyan.baidu.com/article/cd4c2979101f02756f6e6064.html
3, how to install the installation Pydev
http://sourceforge.net/projects/pydev/files/pydev/PyDev%204.1.0/Download
4. Configuration Interpreter
https://www.python.org/downloads/release/python-343/
Supplemental: Python Installation and development environment configuration
Http://jingyan.baidu.com/article/eb9f7b6da950c4869364e8f5.html
Example: image processing in Python
http://blog.csdn.net/wuxiaobingandbob/article/details/51751899
Reprinted from http://blog.csdn.net/zichen_ziqi/article/details/73995755
How to install the Python editor in a Java environment