Skip to content

Instantly share code, notes, and snippets.

@Evan-R
Last active August 29, 2015 14:05
Show Gist options
  • Save Evan-R/a97de1a5f7cb0d87d037 to your computer and use it in GitHub Desktop.
Save Evan-R/a97de1a5f7cb0d87d037 to your computer and use it in GitHub Desktop.
Setting up Eclipse Luna on Ubuntu 12.04 for PHP with Git Plugin
  • download eclipse Luna from eclipse.org

  • if you need to install java 1.7, run sudo apt-get install openjdk-7-jdk openjdk-7-jre, then, edit your eclipse.ini, including the path to java 1.7, mine looked like this, you may want to tweak memory limits:

-startup
plugins/org.eclipse.equinox.launcher_1.3.0.v20140415-2008.jar
--launcher.library
plugins/org.eclipse.equinox.launcher.gtk.linux.x86_64_1.1.200.v20140603-1326
-product
org.eclipse.epp.package.standard.product
--launcher.defaultAction
openFile
-showsplash
org.eclipse.platform
--launcher.XXMaxPermSize
256m
--launcher.defaultAction
openFile
--launcher.appendVmargs
	
-vm
/usr/lib/jvm/java-1.7.0-openjdk-amd64/bin/java
	
-vmargs
-Dosgi.requiredJavaVersion=1.7
-XX:MaxPermSize=512m
-Xms120m
-Xmx1024m
  • search PDT and install the PHP Development Tools (something like this) via Help -> Install New Software, restart after install

  • search git and install Github Task Focussed Interface (something like this), restart after install

  • done.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment