I installed the JDK named 5th.

xiaoxiao2021-03-06  14

From the Sun Site

http://java.sun.com/j2se/1.5.0/download.jsp Download the JDK 5.0 Dongdong (actually habitually called JDK 1.5), the current version is J2SE (TM) Development Kit 5.0 Update 1 , Then from

http://www.allimant.org/javadoc/indexe.html Download the Java API documentation in the CHM format (I don't like the document of the full HTML file provided by the Sun website), after decompression, only 43.5m, not bad.

Installation is very simple, click directly, but I didn't put it in the system disk directory, and didn't install JRE (with JDK is enough). Then put the java_home in the environment variable to the directory of the JDK installation, switch to the MS-DOS window, enter the command

Java -Version, display is

Java Version "1.5.0_01". OK, everything is normal.

I heard that Eclipse 3.1m4 has supported JDK 5, and the good horse still has to match the saddle, I went to download an Eclipse 3.1m4. The interface is very nice, very good. Then switch to Window -> Preferences -> Java-> Installed Jres: Sure enough JDK 5; switch to

Compiler item, change "Compiler Compliance Level" to "5.0". OK, just establish a project, output a statement, not bad, but I still don't know what JDK 5 has a gimmick, almost unknown to it, it seems to see its documentation. Ugh! Learning is endless, and I have to learn.

I have a reason for JDK 5, which is to run Tomcat 5.5x version. Download a Tomcat 5.5.4 version from the Apache website, very small, only 5m more. Unzip, run the startup.bat file directly, start normal, speed is very fast. Then enter "in the browser window"

Http:// localhost: 8080, showing the homepage, OK!

Just started to contact, don't know much, first mix it.

The road is long and the road is long, I will go up and down!

转载请注明原文地址:https://www.9cbs.com/read-48203.html

New Post(0)