Rabu, 18 Agustus 2010

How To Install And Configure Eclipse

MenuHome
Install and Configure WAMP
Install and Configure Java
Install and Configure Hibernate
Install and Configure Eclipse
Eclipse is a free open source full featured IDE for developing software, mostly for Java and PHP. It's incredibly powerful and is comparable to many other costly IDEs that do similar things. If you are developing Java applications I sincerely recommend that you use Eclipse! Follow the following steps to install and configure Eclipse correctly:

Download the latest version of 32-bit Eclipse IDE for Java Developers from Eclipse's download website at http://www.eclipse.org/downloads/. Unzip eclipse-java-helios-win32.zip and save contents to C:\eclipse-java-helios-win32\.

Warning: Even if you are using a 64-bit machine you still should download 32-bit version of both Eclipse and Java JDK otherwise you'll get the following error:

Failed to load the JNI shared library "C:\Program Files(x86)\Java\jdk1.6.0_20\bin\..\jre\bin\client\jvm.dll"


Open Eclipse by clicking C:\eclipse-java-helios-win32\eclipse.exe. Its interface looks like the following:

Eclipse Helios Windows 32 Bit Java IDE

Create a new Java project and specifies the code root as the project Location. One thing you should do is use the JRE you installed earlier instead of the JRE that comes with Eclipse. Follow the following steps:

Project -> Properties -> Libraries -> Click JRE System Library [jdk1.6.0_20] -> Edit... -> Alternate JRE -> Installed JREs -> Add... -> standard vm -> C:\Program Files (x86)\Java\jdk1.6.0_20\jre -> finish -> pick jdk1.6.0_20 in Alternate JRE drop down menu.

The actual window looks like:

Eclipse Java IDE JDK Selection

This provides JRE for the code you run in eclipse. If something's not resolved you need to drop the corresponding jar in C:\Program Files (x86)\Java\jdk1.6.0_20\jre\lib\ext


Congratulations! You've successfully installed Apache, MySQL, PHP, Java, Hibernate, and Eclipse. You are ready to crank out some serious killer app! Questions? Let me know!

◀ Install and Configure Hibernate

0 komentar:

 
support by: infomediaku.com