1、启动报错:Failed to create the Java Virtual Machine

解决方法:删除eclipse.ini


2、help-Install New Software...-work with:中填入

http://download.eclipse.org/tools/pdt/updates/4.3

http://downloads.zend.com/pdt


参考:手把手教你搭建eclipse中的php环境 

php.ini 去掉
[XDebug]
;zend_extension = "D:\xampp\5.5.27\php\ext\php_xdebug.dll"
;xdebug.profiler_append = 0
;xdebug.profiler_enable = 1
;xdebug.profiler_enable_trigger = 0
;xdebug.profiler_output_dir = "D:\xampp\5.5.27\tmp"
;xdebug.profiler_output_name = "cachegrind.out.%t-%s"
;xdebug.remote_enable = 0
;xdebug.remote_handler = "dbgp"
;xdebug.remote_host = "127.0.0.1"
;xdebug.trace_output_dir = "D:\xampp\5.5.27\tmp"
中每行前面的分号
xdebug.remote_enable = 0改为xdebug.remote_enable = 1


httpd-xampp.conf 中添加

Alias /workspace/ "D:/workspace/"  

<Directory "D:/workspace/">  

   Options Indexes MultiViews  

   AllowOverride None  

   Order allow,deny  

   Allow from all  

</Directory> 


3、删除"\eclipse\configuration\.settings\org.eclipse.ui.ide.prefs,可重新配置workspace路径