I was not born to install the software-after the installation of Eclipse, JDK, Android Studio, I found that I never seem to pretend to be bad. Last year eclipse was on and off for three or four days, when I wanted to add a C + + package, but it always failed, delayed doing homework, was pulled into the blacklist by the teacher, then gave up eclipse, only using VC6.0, after all, only learn C + +.
After a year, and now re-enable Eclipse, only to realize that there is no use, once installed JRE and JDK seems to have problems, the new project will be prompted not to detect the Java Runtime environment. There is no way to re-download the JDK, but because the environment variable is not set in the properties of the computer (because it is troublesome to edit the path, etc.), it is still the same result and cannot be run. So I installed the JRE and finally ran, and my first Java code went through.
Recently on the internet accidentally saw the current most popular software: Android Studio. It is said to have brought great boon to software engineers in the Java world. Compared to the traditional eclipse, we give the evaluation is "easy to install", "more intelligent", "more friendly", "powerful" and so on, and even think it is the future of Android, let me this almost no Java layman saw Laolei freely, excited, although I have not tried. "工欲善其事 its prerequisite" and start downloading Android Studio.
Watching the progress bar is constantly extending, I feel quite smooth. Where to know, this is just my wishful thinking, actually installed or there is a problem:
Check the installation of the SDK is also more trouble, but also to install the JDK, so only look at the "I want to learn the net" inside the introduction to set the environment variables (see "Building the Java environment-I want to self-Learning network"):
Then you call up cmd, and then you enter Java:
The system did not find the Java operating environment, that is, failed.
So I read a tutorial Baidu, the new "Java_home" and "classpath" two variable names and corresponding variable values, and finally add the JDK address to path (see http://wenku.baidu.com/view/ 4fd03bc6d5bbfd0a79567319.html):
Then call out the cmd, input Java, but still not, and the above error is identical, did not find Java environment! What a ghost!
Search opening registry key ' Software\javasoft\java Runtime environment ', Finally found a seemingly unreliable method on a website: change the java.exe of the 32-bit system to Javaa.exe:
According to the authors, the reason for this is that the JDK does not require java.exe.
Then bring up cmd, enter Java and java-version in turn, and the results are as follows:
Seems to have succeeded.
Next is to download the Google Android SDK, I did not go under the official website, but in 360 software tube home download.
But the speed is very slow, frequent interruptions, as of the time I press, not finished ...
-----Intestines are regretted, the code is not written, it is necessary to install a software to break the heart.
The process of installing the software is here, and here is the "Hello World" I wrote with Eclipse:
But the parentheses of main cannot be empty, so the following error occurs:
The results of the correction are as follows:
The first time to write Java has two obvious senses: the 1.main function is written in the class ... Really is more strange, 2.eclipse is very friendly.
Whether it's eclipse or Android Studio, powerful software is hard to install, and if you have a more easy-to-install development platform in the future.
About the evolution of the Android development environment