Home » Newcomers » Newcomers » New version 3.7 won't launch(My v3.4.2 works fine but new version won't launch)
New version 3.7 won't launch [message #811011] |
Thu, 01 March 2012 15:26  |
Eclipse User |
|
|
|
I have used an older version of Eclipse - v3.4.2 - for some time without problems.
However I have need of a newer version and so I downloaded v3.7.2:
"Eclipse IDE for Java EE Developers"
... and:
"Eclipse Classic 3.7.2"
First I tried the one for EE Developers, checked the md5 and that was fine, so I unzipped it into c:\Program Files\eclipse.
But when I try to start it, it won't start. Instead I get this in the configuration log files:
...
eclipse.buildId=M20120208-0800
java.version=1.6.0_12
java.vendor=Sun Microsystems Inc.
BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=en_US
Framework arguments: -product org.eclipse.epp.package.jee.product
Command-line arguments: -os win32 -ws win32 -arch x86 -product org.eclipse.epp.package.jee.product
!ENTRY org.eclipse.equinox.p2.core 4 0 2012-03-01 14:45:43.700
!MESSAGE Provisioning exception
!STACK 1
java.vendor=Sun Microsystems Inc.
BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=en_US
Framework arguments: -product org.eclipse.epp.package.jee.product
Command-line arguments: -os win32 -ws win32 -arch x86 -product org.eclipse.epp.package.jee.product
!ENTRY org.eclipse.equinox.p2.core 4 0 2012-03-01 14:45:43.700
!MESSAGE Provisioning exception
!STACK 1
org.eclipse.equinox.p2.core.ProvisionException: Unknown repository type at file:/C:/Program%20Files/eclipse/configuration/org.eclipse.osgi/bundles/290/data/listener_1925729951/.
...
down a bit
...
Caused by: java.lang.IllegalStateException: Could not create metadata repository for: file:/C:/Program%20Files/eclipse/configuration/org.eclipse.osgi/bundles/290/data/listener_1925729951/
...
finally
...
!MESSAGE Application error
!STACK 1
org.osgi.service.application.ApplicationException: No application id has been found.
I checked out the Readme_eclipse.html
and found nothing that seemed to help. Yes the folder mentioned above is read only, but I could not change that - the file system would not let me.
- - - -
Wondering if the problem might be that I installed it in "Program Files", with the space in the middle I figured I'd try and install it somewhere else. While I was at it I figured I'd try a different build, so I chose the classic version.
I downloaded that and check the md5 and then unzipped it.
When I tried to start it, it fails too, but now with an entirely different error in the configuration log file:
!MESSAGE An unexpected runtime error has occurred.
!STACK 0
javax.xml.parsers.FactoryConfigurationError: Provider org.apache.xerces.jaxp.SAXParserFactoryImpl not found
...
!MESSAGE Could not parse XML contribution for "org.eclipse.ant.core//plugin.xml". Any contributed extensions and extension points will be ignored.
!STACK 0
org.xml.sax.SAXException: Could not acquire XML parsing service.
...
!MESSAGE Could not parse XML contribution for "org.eclipse.ant.launching//plugin.xml". Any contributed extensions and extension points will be ignored.
!STACK 0
org.xml.sax.SAXException: Could not acquire XML parsing service.
...
!MESSAGE Could not parse XML contribution for "org.eclipse.ant.ui//plugin.xml". Any contributed extensions and extension points will be ignored.
!STACK 0
org.xml.sax.SAXException: Could not acquire XML parsing service.
...
finally ...
java.lang.IllegalStateException: Could not create metadata repository for: file:/C:/MySubDir/eclipse/configuration/org.eclipse.osgi/bundles/84/data/listener_1925729951/
...
!MESSAGE Application error
!STACK 1
org.osgi.service.application.ApplicationException: No application id has been found.
I searched through online help for eclipse and see nothing like this. I have no idea what the problem could be - any ideas?
NOTE: v3.4.2 still works fine. Did I forget to add some plugin or something? Thank you.
~Bill
|
|
| | | | |
Re: New version 3.7 won't launch [message #811641 is a reply to message #811608] |
Fri, 02 March 2012 11:26   |
Eclipse User |
|
|
|
On 3/2/2012 8:42 AM, B J wrote:
> Thank you again Russel,
>
> I went through the set up and problem solving part of your link. Trouble
> is, I had already tried it all.
>
> I looked in my setup programs and saw that I had an old copy of the
> Helios zip file. I "installed" that and get the same problem.
>
> The problem goes like this:
> 1. The first time I start Eclipse (or any subsequent time running as
> "eclipse -clean") I get the error that starts with (in
> 9876543210987.bak_0.log):
>
> javax.xml.parsers.FactoryConfigurationError: Provider
> org.apache.xerces.jaxp.SAXParserFactoryImpl not found
>
> ... and ends with ( in 9876543210987log:
>
> org.osgi.service.application.ApplicationException: No application id has
> been found.
>
> 2. Any other time I try to start it I get this error instead:
>
> org.eclipse.equinox.p2.core.ProvisionException: Unknown repository type
> at
> file:/C:/Program%20Files/eclipse/configuration/org.eclipse.osgi/bundles/290/data/listener_0987654321/.
>
>
> ... And it does not matter where I install Eclipse - "Program Files" or
> some other place - always the same thing.
>
> ~Bill
First, I wonder if you're getting a good unzip. You might try using
7zip; there have been problems sometimes using Winzip. Just to eliminate
potential problems, don't try this under Program Files. Do it under
C:\Users\bill\eclipse (or C:\Users\bill\eclipse\indigo if you want to
try all of this for different versions).
If you want to develop web applications, use the Eclipse IDE for Java EE
Developers download, otherwise, use the Eclipse IDE for Java Developers.
(If it's the first, don't worry about Tomcat right now.)
Second, please download the latest JDK from http://java.sun.com. Hover
over button Download, Popular Downloads, Java for Developers. Download
either 6.0_31 or 7u3 to a path under your subdirectory, say
C:\Users\bill\jdk1.6.0_31. Then, blow it open under there somewhere,
but, as noted in the part of my summary on getting a private JDK, don't
install it for the rest of your Windows host. Change the install path to
C:\Users\bill\jdk1.6.0_31 (you may need to re-specify your path twice
during the extraction). By doing that, we won't disturb anything else
that's going on, unless you wish to update the Java your host is running.
Next, wire up this JDK by adding
-vm
C:\Users\bill\jdk1.6.0_31\bin\javaw.exe
to C:\Users\bill\eclipse\eclipse.ini. This goes on the line just before
the one with -vmargs on it.
Because I'm not sitting next to you and seeing what you're seeing, what
I'm suggesting here accomplishes a) getting a good unzip of Eclipse and
b) ensuring you've got a good, clean JDK, and c) wiring that JDK up to
Eclipse for launch. This eliminates three potential variables. (Maybe
all of this run-around is unnecessary--let me know.)
Next, launch eclipse.exe and tell us what it says.
Decidedly, I'm clueless so far, but I'll stick to this until someone
else with a clue jumps in or I've simply run out of ideas.
Russ
|
|
| | | |
Goto Forum:
Current Time: Tue Jul 22 14:23:34 EDT 2025
Powered by FUDForum. Page generated in 0.10133 seconds
|