Skip to main content

Posts

Showing posts from December, 2011

Portable Eclipse With Java JDK, Tomcat, and PostgreSQL.

How to setup: Eclipse with Java JDK, Tomcat, and PostrgreSQL as a portable development environment in Windows. Download Eclipse IDE for Java EE Developers (eclipse-jee-indigo-SR1-win32.zip) at: http://www.eclipse.org/downloads/ Unzip in C:\eclipse. Download Java Platform (JDK) 7u1 (jdk-7u1-windows-i586.exe) at: http://www.oracle.com/technetwork/java/javase/downloads/index.html. Unfortunately, it's an exe file so you have to install it, then move the JDK, then uninstall java. Open explorer to C:\Program Files\Java, then drag the jdk1.7.0_01 folder into C:\eclipse folder. Edit C:\eclipse\eclipse.ini. Insert and save this two lines at the VERY TOP: -vm .\jdk1.7.0_01\bin\javaw Download Tomcat 7.0 (under Binary Distributions, Core, as apache-tomcat-7.0.22.zip) at: http://tomcat.apache.org/download-70.cgi Unzip in C:\eclipse\apache-tomcat-7.0.22. Now run eclipse. It will ask you where to save the workspace; save to C:\eclipse\workspace, and check never to ask ag