Eclipse Open Error

Source: Internet
Author: User
Tags ini win32


The first download Eclipse-jee-juno-sr2-win32 decompression open to report this error, I changed a few jdk, really depressed. The first reaction is to open the log (1), and then put the corresponding keywords in google to search. The result is nothing of value. Instead of changing the keyword, it turned out to eclipse, but it gave me some ideas.

One way to do this is to start and run----> break into cmd to enter the command prompt line, then enter the installation directory of Eclipse and enter Eclipse-clean.

But this method did not give me a great hope, and then I put the E:\eclipse-java-juno-SR2-win32\eclipse\configuration under the except Config.ini files are deleted. Although the error display is the same as the screenshot, but the contents of the log changed. such as logs (2).

So the search continued, in one of the articles I saw to replace E:\eclipse-java-juno-SR2-win32\eclipse\configuration\ Org.eclipse.equinox.simpleconfigurator\bundles.info the contents of this file, but I opened it dumbfounded, so much to replace the actual installation path. Then this eclipse is too smart. So I keep this directory and Config.ini file in this configuration directory.

Then add the red font to the Eclipse.ini.

-startup
Plugins/org.eclipse.equinox.launcher_1.3.0.v20120522-1813.jar
--launcher.library
plugins/org.eclipse.equinox.launcher.win32.win32.x86_1.1.200.v20120913-144807
-product
Org.eclipse.epp.package.java.product
--launcher.defaultaction
OpenFile
--launcher. Xxmaxpermsize
256M
-showsplash
Org.eclipse.platform
--launcher. Xxmaxpermsize
256m
--launcher.defaultaction
OpenFile
-vm
C:\Program Files\java\jdk1.6.0_21\bin\java (This is my JDK installation path)



-vmargs
-dosgi.requiredjavaversion=1.5
-dhelp.lucene.tokenizer=standard
-xms40m
-xmx512m



======1=======================

Org.eclipse.equinox.p2.core.ProvisionException:Unknown Repository type at file:/d:/eclipse-jee-juno-sr2-win32/ eclipse/configuration/org.eclipse.osgi/bundles/312/data/listener_1925729951/.
At Org.eclipse.equinox.internal.p2.repository.helpers.AbstractRepositoryManager.fail ( abstractrepositorymanager.java:393)
At Org.eclipse.equinox.internal.p2.repository.helpers.AbstractRepositoryManager.doCreateRepository ( abstractrepositorymanager.java:282)
At Org.eclipse.equinox.internal.p2.metadata.repository.MetadataRepositoryManager.createRepository ( METADATAREPOSITORYMANAGER.JAVA:41)
At Org.eclipse.equinox.internal.provisional.p2.directorywatcher.RepositoryListener.initializeMetadataRepository (repositorylistener.java:109)
At Org.eclipse.equinox.internal.provisional.p2.directorywatcher.repositorylistener.<init> ( REPOSITORYLISTENER.JAVA:59)
At Org.eclipse.equinox.internal.p2.reconciler.dropins.dropinsrepositorylistener.<init> ( dropinsrepositorylistener.java:82)
At Org.eclipse.equinox.internal.p2.reconciler.dropins.Activator.watchDropins (activator.java:532)
At Org.eclipse.equinox.internal.p2.reconciler.dropins.Activator.start (activator.java:172)
At Org.eclipse.osgi.framework.internal.core.bundlecontextimpl$1.run (bundlecontextimpl.java:711)
At java.security.AccessController.doPrivileged (Native Method)
At Org.eclipse.osgi.framework.internal.core.BundleContextImpl.startActivator (bundlecontextimpl.java:702)
At Org.eclipse.osgi.framework.internal.core.BundleContextImpl.start (bundlecontextimpl.java:683)
At Org.eclipse.osgi.framework.internal.core.BundleHost.startWorker (bundlehost.java:381)
At Org.eclipse.osgi.framework.internal.core.AbstractBundle.resume (abstractbundle.java:390)
At Org.eclipse.osgi.framework.internal.core.Framework.resumeBundle (framework.java:1176)
At Org.eclipse.osgi.framework.internal.core.StartLevelManager.resumeBundles (startlevelmanager.java:559)
At Org.eclipse.osgi.framework.internal.core.StartLevelManager.resumeBundles (startlevelmanager.java:544)
At Org.eclipse.osgi.framework.internal.core.StartLevelManager.incFWSL (startlevelmanager.java:457)
At Org.eclipse.osgi.framework.internal.core.StartLevelManager.doSetStartLevel (startlevelmanager.java:243)
At Org.eclipse.osgi.framework.internal.core.StartLevelManager.dispatchEvent (startlevelmanager.java:438)
At Org.eclipse.osgi.framework.internal.core.StartLevelManager.dispatchEvent (startlevelmanager.java:1)
At Org.eclipse.osgi.framework.eventmgr.EventManager.dispatchEvent (eventmanager.java:230)
At Org.eclipse.osgi.framework.eventmgr.eventmanager$eventthread.run (eventmanager.java:340)
! Subentry 1 org.eclipse.equinox.p2.metadata.repository 4 1005 2013-04-26 16:52:22.109
! MESSAGE Unknown repository type at file:/d:/eclipse-jee-juno-sr2-win32/eclipse/configuration/org.eclipse.osgi/ bundles/312/data/listener_1925729951/.

! ENTRY org.eclipse.equinox.p2.reconciler.dropins 4 0 2013-04-26 16:52:22.109
! MESSAGE frameworkevent ERROR
! STACK 0
Org.osgi.framework.BundleException:Exception in Org.eclipse.equinox.internal.p2.reconciler.dropins.Activator.start () of bundle Org.eclipse.equinox.p2.reconciler.dropins.
At Org.eclipse.osgi.framework.internal.core.BundleContextImpl.startActivator (bundlecontextimpl.java:734)
At Org.eclipse.osgi.framework.internal.core.BundleContextImpl.start (bundlecontextimpl.java:683)
At Org.eclipse.osgi.framework.internal.core.BundleHost.startWorker (bundlehost.java:381)
At Org.eclipse.osgi.framework.internal.core.AbstractBundle.resume (abstractbundle.java:390)
At Org.eclipse.osgi.framework.internal.core.Framework.resumeBundle (framework.java:1176)
At Org.eclipse.osgi.framework.internal.core.StartLevelManager.resumeBundles (startlevelmanager.java:559)
At Org.eclipse.osgi.framework.internal.core.StartLevelManager.resumeBundles (startlevelmanager.java:544)
At Org.eclipse.osgi.framework.internal.core.StartLevelManager.incFWSL (startlevelmanager.java:457)
At Org.eclipse.osgi.framework.internal.core.StartLevelManager.doSetStartLevel (startlevelmanager.java:243)
At Org.eclipse.osgi.framework.internal.core.StartLevelManager.dispatchEvent (startlevelmanager.java:438)
At Org.eclipse.osgi.framework.internal.core.StartLevelManager.dispatchEvent (startlevelmanager.java:1)
At Org.eclipse.osgi.framework.eventmgr.EventManager.dispatchEvent (eventmanager.java:230)
At Org.eclipse.osgi.framework.eventmgr.eventmanager$eventthread.run (eventmanager.java:340)
caused by:java.lang.IllegalStateException:Could not create metadata repository for:file:/d:/ eclipse-jee-juno-sr2-win32/eclipse/configuration/org.eclipse.osgi/bundles/312/data/listener_1925729951/
At Org.eclipse.equinox.internal.provisional.p2.directorywatcher.RepositoryListener.initializeMetadataRepository (repositorylistener.java:112)
At Org.eclipse.equinox.internal.provisional.p2.directorywatcher.repositorylistener.<init> ( REPOSITORYLISTENER.JAVA:59)
At Org.eclipse.equinox.internal.p2.reconciler.dropins.dropinsrepositorylistener.<init> ( dropinsrepositorylistener.java:82)
At Org.eclipse.equinox.internal.p2.reconciler.dropins.Activator.watchDropins (activator.java:532)
At Org.eclipse.equinox.internal.p2.reconciler.dropins.Activator.start (activator.java:172)
At Org.eclipse.osgi.framework.internal.core.bundlecontextimpl$1.run (bundlecontextimpl.java:711)
At java.security.AccessController.doPrivileged (Native Method)
At Org.eclipse.osgi.framework.internal.core.BundleContextImpl.startActivator (bundlecontextimpl.java:702)
... More
Root Exception:
Java.lang.IllegalStateException:Could not create metadata repository for:file:/d:/eclipse-jee-juno-sr2-win32/ eclipse/configuration/org.eclipse.osgi/bundles/312/data/listener_1925729951/
At Org.eclipse.equinox.internal.provisional.p2.directorywatcher.RepositoryListener.initializeMetadataRepository (repositorylistener.java:112)
At Org.eclipse.equinox.internal.provisional.p2.directorywatcher.repositorylistener.<init> ( REPOSITORYLISTENER.JAVA:59)
At Org.eclipse.equinox.internal.p2.reconciler.dropins.dropinsrepositorylistener.<init> ( dropinsrepositorylistener.java:82)
At Org.eclipse.equinox.internal.p2.reconciler.dropins.Activator.watchDropins (activator.java:532)
At Org.eclipse.equinox.internal.p2.reconciler.dropins.Activator.start (activator.java:172)
At Org.eclipse.osgi.framework.internal.core.bundlecontextimpl$1.run (bundlecontextimpl.java:711)
At java.security.AccessController.doPrivileged (Native Method)
At Org.eclipse.osgi.framework.internal.core.BundleContextImpl.startActivator (bundlecontextimpl.java:702)
At Org.eclipse.osgi.framework.internal.core.BundleContextImpl.start (bundlecontextimpl.java:683)
At Org.eclipse.osgi.framework.internal.core.BundleHost.startWorker (bundlehost.java:381)
At Org.eclipse.osgi.framework.internal.core.AbstractBundle.resume (abstractbundle.java:390)
At Org.eclipse.osgi.framework.internal.core.Framework.resumeBundle (framework.java:1176)
At Org.eclipse.osgi.framework.internal.core.StartLevelManager.resumeBundles (startlevelmanager.java:559)
At Org.eclipse.osgi.framework.internal.core.StartLevelManager.resumeBundles (startlevelmanager.java:544)
At Org.eclipse.osgi.framework.internal.core.StartLevelManager.incFWSL (startlevelmanager.java:457)
At Org.eclipse.osgi.framework.internal.core.StartLevelManager.doSetStartLevel (startlevelmanager.java:243)
At Org.eclipse.osgi.framework.internal.core.StartLevelManager.dispatchEvent (startlevelmanager.java:438)
At Org.eclipse.osgi.framework.internal.core.StartLevelManager.dispatchEvent (startlevelmanager.java:1)
At Org.eclipse.osgi.framework.eventmgr.EventManager.dispatchEvent (eventmanager.java:230)
At Org.eclipse.osgi.framework.eventmgr.eventmanager$eventthread.run (eventmanager.java:340)

! ENTRY Org.eclipse.osgi 4 0 2013-04-26 16:52:22.687
! MESSAGE Application Error
! STACK 1
Org.osgi.service.application.ApplicationException:No Application ID has been found.
At ORG.ECLIPSE.EQUINOX.INTERNAL.APP.ECLIPSEAPPCONTAINER.STARTDEFAULTAPP (eclipseappcontainer.java:262)
At Org.eclipse.equinox.internal.app.MainApplicationLauncher.run (mainapplicationlauncher.java:29)
At Org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication (eclipseapplauncher.java:110)
At Org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start (eclipseapplauncher.java:79)
At Org.eclipse.core.runtime.adaptor.EclipseStarter.run (eclipsestarter.java:353)
At Org.eclipse.core.runtime.adaptor.EclipseStarter.run (eclipsestarter.java:180)
At Sun.reflect.NativeMethodAccessorImpl.invoke0 (Native Method)
At Sun.reflect.NativeMethodAccessorImpl.invoke (Unknown Source)
At Sun.reflect.DelegatingMethodAccessorImpl.invoke (Unknown Source)
At Java.lang.reflect.Method.invoke (Unknown Source)
At Org.eclipse.equinox.launcher.Main.invokeFramework (main.java:629)
At Org.eclipse.equinox.launcher.Main.basicRun (main.java:584)
At Org.eclipse.equinox.launcher.Main.run (main.java:1438)

=========================1========================================================


=============2========

! SESSION 2013-04-26 16:26:52.406-----------------------------------------------
eclipse.buildid=m20130204-1200
Java.version=1.6.0_45
Java.vendor=sun Microsystems INC.
BootLoader Constants:os=win32, Arch=x86, Ws=win32, NL=ZH_CN
Framework arguments:-product org.eclipse.epp.package.java.product
Command-Line arguments:-os win32-ws win32-arch x86-product Org.eclipse.epp.package.java.product-clean


! ENTRY Org.eclipse.osgi 4 0 2013-04-26 16:26:53.562
! MESSAGE Application Error
! STACK 1
Java.lang.IllegalStateException:Unable to acquire application service. Ensure that the org.eclipse.core.runtime bundle was resolved and started (see Config.ini).
At Org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start (eclipseapplauncher.java:74)
At Org.eclipse.core.runtime.adaptor.EclipseStarter.run (eclipsestarter.java:353)
At Org.eclipse.core.runtime.adaptor.EclipseStarter.run (eclipsestarter.java:180)
At Sun.reflect.NativeMethodAccessorImpl.invoke0 (Native Method)
At Sun.reflect.NativeMethodAccessorImpl.invoke (Unknown Source)
At Sun.reflect.DelegatingMethodAccessorImpl.invoke (Unknown Source)
At Java.lang.reflect.Method.invoke (Unknown Source)
At Org.eclipse.equinox.launcher.Main.invokeFramework (main.java:629)
At Org.eclipse.equinox.launcher.Main.basicRun (main.java:584)
At Org.eclipse.equinox.launcher.Main.run (main.java:1438)


================2======================================




Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.