http://m4eclipse.sourceforge.net/installation.html
http://www.oracle.com/technetwork/java/javase/downloads/index.html
Issues:
Configure Eclipse (Windows only)
On Windows, you will need to configure Eclipse to use the Java Development Kit (JDK).First, download and install JDK 6 from the Java web site.
Take note of where the Java installation ended up; we will use "C:\Program Files\Java\jdk1.6.0_20" below, though your path is likely to be different.
Also take note of the path to your Eclipse installation; we will use "C:\Users\you\Programs\eclipse" though your path is likely to be different.
Open the file "C:\Users\you\Programs\eclipse\eclipse.ini" in a text editor, and follow these instructions to specify the JVM using the "-vm" flag. Be careful to follow the instructions exactly.
Now update Eclipse's JRE to be JDK-aware:
- Launch Eclipse
- From the menu choose Window > Preferences
- Select Java > Installed JREs
- Click Search..., navigate to "C:\Program Files\Java\jdk1.6.0_20" and click OK
- Check the box next to the JDK that appears and click OK
Edit eclipse.ini:
-startup
plugins/org.eclipse.equinox.launcher_1.3.0.v20120522-1813.jar
--launcher.library
plugins/org.eclipse.equinox.launcher.win32.win32.x86_64_1.1.200.v20120913-144807
-product
org.eclipse.epp.package.jee.product
--launcher.defaultAction
openFile
--launcher.XXMaxPermSize
256M
-showsplash
org.eclipse.platform
--launcher.XXMaxPermSize
256m
--launcher.defaultAction
openFile
-vm
C:\Program Files\Java\jdk1.7.0_07\bin\javaw.exe
-vmargs
-Dosgi.requiredJavaVersion=1.5
-Dhelp.lucene.tokenizer=standard
-Xms40m
-Xmx512m
Không có nhận xét nào:
Đăng nhận xét