The long-awaited Mac book Pro has finally arrived as a qualified Java development engineer; The first thing to do is to deploy the Java EE Development environment, which is still the same as Windows, install Eclipse and install Tomcat, then SVN. The Windows environment is divided into minutes, but it is not expected that I have been engaged for a whole day. Install what Baidu a search a big, but these content either old to with now install not quite accord with, or is East pull West pull. Today I'm going to go through the installation process specifically:
The first step: download jdk, Eclipse,Tomcat(many blogs are both to download Tomcat, and to download the Tomcat plugin, not at all) I use jdk1.6 here, Eclipse Juno, tomcat 6.0 (download link below)
The second step: Install the JDK, step by step down can be, Eclipse open decompression, Tomcat is also decompressed; these are easier, the trouble is that starting a Web project is always going to appear Java.lang.OutOfMemoryError:PermGen space memory Leaks This problem, online search is a variety of modified Tomcat, modify Eclipse.ini, etc., after the problem is still. In fact, it is not so troublesome, just need to follow the following changes on the special line .
Launch Eclipse-----Project-----Properties, open the following window (or right-click on the project---build path----Config build path)
Select Java build path and select the JDK under the library (this is the JRE library System), click Edit on the right, and pop down
Select Installed JREs, pop up the following window
The right JRE location may be blank, click on the left Java and then click Installed JREs. Then select it and click on the right side of the edit pop-up window
In the default VM arguments enter this sentence (size can be modified according to the actual situation):
-xms256m-xmx768m-xx:permsize=256m-xx:maxpermsize=512m
Step Three: install SVN, launch eclipse---help----install new software-----Add,location Enter the address below
http://subclipse.tigris.org/update_1.4.x, (I use the version number is 1.4, this can be changed) when the installation of the full selection, lest trouble.
The Java EE development environment is now deployed.
JDK 1.6 Download: http://download.csdn.net/detail/zw_yuyan/8350587 (JDK download Baidu More is the search JDK for Mac)
Eclipse Juno Download: Eclipse-jee-juno-sr2-macosx-cocoa-x86_64.tar
This address is for all versions of ECLIPSE:HTTP://WWW.ECLIPSE.ORG/DOWNLOADS/PACKAGES/RELEASE/JUNO/SR2
Tomcat Download: tar.gz
Mac OS install eclipse Tomcat and SVN