Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Newcomers » Newcomers » Install OK, launch fails(Application won't run at all.)
Install OK, launch fails [message #1000399] Mon, 14 January 2013 12:04 Go to next message
Generic Person is currently offline Generic Person
Messages: 2
Registered: January 2013
Junior Member
So I've installed Eclipse JUNO (SR1) 64-bit for Mac OSX.
I'm running on on 10.6.8 system.
I have Java 1.6.0_37-b06-434-10M3909 installed.
Eclipse won't successfully launch. I get this:

!SESSION 2013-01-14 11:57:31.282 -----------------------------------------------
eclipse.buildId=M20120914-1800
java.version=1.6.0_37
java.vendor=Apple Inc.
BootLoader constants: OS=macosx, ARCH=x86_64, WS=cocoa, NL=en_US
Framework arguments:  -product org.eclipse.epp.package.java.product -keyring /Users/wtf3/.eclipse_keyring -showlocation
Command-line arguments:  -os macosx -ws cocoa -arch x86_64 -product org.eclipse.epp.package.java.product -keyring /Users/gp3/.eclipse_keyring -showlocation

!ENTRY org.eclipse.osgi 4 0 2013-01-14 11:57:35.496
!MESSAGE An unexpected runtime error has occurred.
!STACK 0
javax.xml.parsers.FactoryConfigurationError: Provider org.apache.xerces.jaxp.SAXParserFactoryImpl not found


Only after extensive poking on the web did I come across someone else mentioning something similar. The suggestion was to find "aberrant" installs of Xerces and remove them. I tried that in a gentle way, meaning I didn't remove them, I renamed them. Still, no joy with Eclipse.

These are all the instances of Xerces I have installed:

/Applications/oxygen/lib/xercesImpl.jar
/Applications/Squiggle.app/Contents/Resources/lib/xerces_2_5_0.jar
/Developer/Applications/Utilities/Application Loader.app/Contents/MacOS/itms/share/iTMSTransporter.woa/Contents/Extensions/com.springsource.org.apache.xerces-2.9.1.jar
/Library/Java/Extensions/xercesImpl.jar
/Users/gp3/Library/jEdit/jars/xercesImpl.jar
/Users/gp3/Library/jEdit/jars/XercesPlugin.jar
/usr/local/java/lib/batik-1.7/lib/xerces_2_5_0.jar
/usr/local/java/lib/jdom-1.0/lib/xerces.jar
/usr/local/java/lib/xerces-2_7_1/tools/bin/xerces2taglets.jar
/usr/local/java/lib/xerces-2_7_1/tools/xercesImpl.jar
/usr/local/java/lib/xerces-2_7_1/xercesImpl.jar
/usr/local/java/lib/xerces-2_7_1/xercesSamples.jar
/usr/local/java/lib/xerces-2_9_1/xercesImpl.jar
/usr/local/java/lib/xerces-2_9_1/xercesSamples.jar
/usr/local/java/lib/xstream-1.3/lib/jdk1.3/xercesImpl-2.8.1.jar
/usr/share/java/ant-1.7.1/lib/xercesImpl.jar
/usr/share/java/maven-3.0.2/lib/xercesMinimal-1.9.6.2.jar


Someone suggested checking java.ext.dirs I did; mine is as follows:
/Library/Java/Extensions:/System/Library/Java/Extensions:/System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Home/lib/ext


In all those locations (and every one above), I "hid" the Xerces (or Xerces-like) jar with no success in Eclipse launching.

Does anyone have a clue?
Re: Install OK, launch fails [message #1000486 is a reply to message #1000399] Mon, 14 January 2013 16:45 Go to previous messageGo to next message
Nitin Dahyabhai is currently offline Nitin Dahyabhai
Messages: 2250
Registered: July 2009
Senior Member
"Hid" them how?

---
Nitin Dahyabhai
Eclipse WTP, IBM
Re: Install OK, launch fails [message #1000755 is a reply to message #1000486] Tue, 15 January 2013 06:39 Go to previous message
Generic Person is currently offline Generic Person
Messages: 2
Registered: January 2013
Junior Member
mv /usr/local/java /usr/local/java-HOLD
... for example. This breaks any search paths and thus hides, say, /usr/local/java/lib/jdom-1.0/lib/xerces.jar
Previous Topic:Running applets in Eclipse browser
Next Topic:Birt Time Tracking Report
Goto Forum:
  


Current Time: Thu Aug 21 08:21:25 EDT 2014

Powered by FUDForum. Page generated in 0.02074 seconds