Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Install New Software on Eclipse not working on Mac

Tags:

eclipse

I have downloaded eclipse classic x86_64 3.7 cocoa on my Mac Intel Core 2 Duo with snow leopard 10.6.8

I have extracted and copied the eclipse directory to Applications folder. When run, I get following errors

System property http.nonProxyHosts has been set to local|*.local|169.254/16|*.169.254/16 by an external source. This value will be overwritten using the values from the preferences
Unexpected error loading extension: org.eclipse.equinox.p2.metadata.repository.simpleRepository
java.lang.NoClassDefFoundError: Could not initialize class org.apache.commons.httpclient.HttpClient at org.eclipse.ecf.provider.filetransfer.httpclient.HttpClientBrowseFileTransferFactory$1.sendBrowseRequest(HttpClientBrowseFileTransferFactory.java:53)
Error while reading from repository: http://download.eclipse.org/releases/indigo/site.xml.

I have following java version

java -version
java version "1.6.0_26"
Java(TM) SE Runtime Environment (build 1.6.0_26-b03-384-10M3425)
Java HotSpot(TM) 64-Bit Server VM (build 20.1-b02-384, mixed mode)

I have tried with eclipse classic 32 and 64 bit versions, with both i have the same problem .

I have also tried tweaking around priority of java version (32 or 64) under Java preferences.

like image 318
Murali K Avatar asked Jul 11 '11 14:07

Murali K


1 Answers

Deleting /Library/Java/Extensions/log4j-1.2.15.jar resolved the issue.

like image 152
Murali K Avatar answered Oct 05 '22 21:10

Murali K