TeXLipse install on Juno not working - eclipse

I have tried to install the TeXLipse extension in Juno Eclipse, running on Ubuntu 12.04.
The installation goes off without a hitch however when I choose the project creation wizard TeXLipse is not there as an option. It is also not showing up in the Windows > Preference section of eclipse.
Has anyone else experienced this and have a suggestion on how to get this to work. I have googled around and other people have gotten it to work with Juno. I am just not sure what I am missing.
Thanks
Edit: Solution
I want to impart some details. I have the stock Eclipse install for Eclipse on Ubuntu. I then did an update where I simply replace the eclipse install located in /usr/lib/eclipse.
You can Google around for specifics.
To figure out what my system was doing I did two things.
Located in the ~/workspace/.metatdata folder is a file called .log. At the terminal I ran tail -f ~/workspace/.metatdata/.log so that I could watch the log files for any errors as I did the installation.
I ran eclipse from the terminal $> eclipse to see any errors were produced.
My first error was that eclipse could not fine ~/.eclipse file/directory when I ran eclipse. So I simply created this directory in my home folder and this error went away. I tried to install the plugin and I got a new error posted to the .log file:
!SESSION 2013-01-31 11:21:39.559 -----------------------------------------------
eclipse.buildId=M20120914-1800
java.version=1.6.0_24
java.vendor=Sun Microsystems Inc.
BootLoader constants: OS=linux, ARCH=x86_64, WS=gtk, NL=en_US
Command-line arguments: -os linux -ws gtk -arch x86_64
!ENTRY org.eclipse.equinox.p2.engine 4 4 2013-01-31 11:23:38.266
!MESSAGE An error occurred while committing the engine session for profile: epp.package.jee.
!SUBENTRY 1 org.eclipse.equinox.p2.touchpoint.eclipse 4 0 2013-01-31 11:23:38.266
!MESSAGE
!SUBENTRY 2 org.eclipse.equinox.p2.touchpoint.eclipse 4 0 2013-01-31 11:23:38.266
!MESSAGE Error saving manipulator.
!STACK 0
java.io.FileNotFoundException: **/usr/lib/eclipse/eclipse.ini** (Permission denied)
at java.io.FileOutputStream.open(Native Method)
at java.io.FileOutputStream.<init>(FileOutputStream.java:209)
at java.io.FileOutputStream.<init>(FileOutputStream.java:160)
at java.io.FileWriter.<init>(FileWriter.java:90)
at
org.eclipse.equinox.internal.frameworkadmin.equinox.EclipseLauncherParser.save(EclipseLauncherParser.java:321)
at org.eclipse.equinox.internal.frameworkadmin.equinox.EquinoxManipulatorImpl.save(EquinoxManipulatorImpl.java:378)
at org.eclipse.equinox.internal.p2.touchpoint.eclipse.LazyManipulator.save(LazyManipulator.java:97)
at org.eclipse.equinox.internal.p2.touchpoint.eclipse.EclipseTouchpoint.saveManipulator(EclipseTouchpoint.java:61)
at org.eclipse.equinox.internal.p2.touchpoint.eclipse.EclipseTouchpoint.commit(EclipseTouchpoint.java:137)
at org.eclipse.equinox.internal.p2.engine.EngineSession.commit(EngineSession.java:123)
at org.eclipse.equinox.internal.p2.engine.Engine.perform(Engine.java:93)
at org.eclipse.equinox.internal.p2.engine.Engine.perform(Engine.java:44)
at org.eclipse.equinox.p2.operations.ProvisioningSession.performProvisioningPlan(ProvisioningSession.java:174)
at org.eclipse.equinox.p2.operations.ProfileModificationJob.runModal(ProfileModificationJob.java:79)
at org.eclipse.equinox.p2.operations.ProvisioningJob.run(ProvisioningJob.java:177)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:53)
The installer wanted to update the /usr/lib/eclipse/eclipse.ini. I changed the permissions on this to write all (the alternative is to run eclipse as root which I didn't want to do).
I uninstalled the plugin and re-installed it and now it works as intended. I hope this helps someone else. Don't forget to reverse the permissions after.

Eclipse seems to need write permissions to the place where you installed it. How I see it, this leaves you with two options:
Install (i.e., extract) Eclipse to a folder you own, for example your home folder.
If you installed Eclipse to /opt/eclipse owned by root, you also have to install plugins as root.
This question describes the same problem under Windows. This (German) website suggests option 2 from the above as solution.

Related

PyDev Eclipse Installed Not Showing In Preferences Latest Java

Freshly installed Windows 10 and everything (literally today)
Eclipse Version: 2021-12 (4.22.0)
Build id: 20211202-1639
java version "17.0.2" 2022-01-18 LTS
Java(TM) SE Runtime Environment (build 17.0.2+8-LTS-86)
Java HotSpot(TM) 64-Bit Server VM (build 17.0.2+8-LTS-86, mixed mode, sharing)
PyDev 9.2.0
Ultimate goal: to have Eclipse configured to use with multiple languages.
Installed: Eclipse for C/C++
Trying to get python on it. Failing.
I understand next to nothing in how ide or toolchain works. I'm much better at writing code than configuring IDE, compilers and other stuff (yet).
My actions: installed Eclipse. Followed the guide about how to install PyDev via Eclipse itself "Help->Install New Software". Did it, no errors. In "Window->Preferences" no PyDev, no Python.
PyDev install manual on PyDev.org
I went to google, it found several stackoverflow and other forums and/or articles about it. Read everything that looked at least remotely relevant. They talked about Java version required for Python. I installed the newest version of JDK (17). I edited eclipse.ini to include path to Java v17. Restarted Eclipse. It crashed on launch. I went to CMD and tried java -version. It gave me the wrong (old) version, so I edited System Variables (created JAVA_HOME and added bin to Path). Eclipse launched OK. No PyDev.
Also, multiple sources talked about different versions of PyDev to choose from. Strangely enough, I have only 1 version available in "Help->Install New Software" even if I uncheck "show only the latest version". There is still only 9.2.0 and nothing else.
Fine, I thought, I will install you with as "dropins" (whatever that is), according to the same manual from PyDev.org. Uninstalled PyDev via "Help->About Eclipse->Installation details" (overall I installed-uninstalled several times). Downloaded PyDev zip, unzipped it (two folders - "features" and "plugins"). Dragged those two folders into "dropins". PyDev not showing up.
As I said before, I understand very little in Eclipse and how to configure it, and there is nobody to ask. With my limited knowledge, I'm out of ideas now.
EDIT Added log
I think I found the log. Deleted it to remove all the stuff from the other day, launched Eclipse:
this is from Window->Show View->Other->General->Log
Full log file is a kilometer long.
!SESSION 2022-02-06 16:12:44.226 -----------------------------------------------
eclipse.buildId=4.22.0.I20211124-1800
java.version=17.0.2
java.vendor=Oracle Corporation
BootLoader constants: OS=win32, ARCH=x86_64, WS=win32, NL=en_US
Framework arguments: -product org.eclipse.epp.package.cpp.product
Command-line arguments: -os win32 -ws win32 -arch x86_64 -product org.eclipse.epp.package.cpp.product -clean
!ENTRY org.eclipse.equinox.p2.reconciler.dropins 4 0 2022-02-06 16:12:51.076
!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.internal.framework.BundleContextImpl.startActivator(BundleContextImpl.java:828)
at org.eclipse.osgi.internal.framework.BundleContextImpl.start(BundleContextImpl.java:759)
at org.eclipse.osgi.internal.framework.EquinoxBundle.startWorker0(EquinoxBundle.java:1019)
at org.eclipse.osgi.internal.framework.EquinoxBundle$EquinoxModule.startWorker(EquinoxBundle.java:365)
at org.eclipse.osgi.container.Module.doStart(Module.java:605)
at org.eclipse.osgi.container.Module.start(Module.java:468)
at org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.lambda$1(ModuleContainer.java:1834)
at org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.incStartLevel(ModuleContainer.java:1829)
at org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.incStartLevel(ModuleContainer.java:1777)
at org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.doContainerStartLevel(ModuleContainer.java:1739)
at org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.dispatchEvent(ModuleContainer.java:1661)
at org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.dispatchEvent(ModuleContainer.java:1)
at org.eclipse.osgi.framework.eventmgr.EventManager.dispatchEvent(EventManager.java:228)
at org.eclipse.osgi.framework.eventmgr.EventManager$EventThread.run(EventManager.java:339)
Caused by: java.lang.IllegalStateException: Registry Directory not available: c:\Program Files\Eclipse IDE\eclipse\p2\org.eclipse.equinox.p2.engine\profileRegistry.
at org.eclipse.oomph.p2.internal.core.LazyProfileRegistry.getProfileMap(LazyProfileRegistry.java:236)
at org.eclipse.oomph.p2.internal.core.LazyProfileRegistry.getProfileMap(LazyProfileRegistry.java:227)
at org.eclipse.oomph.p2.internal.core.LazyProfileRegistry.containsProfile(LazyProfileRegistry.java:208)
at org.eclipse.equinox.internal.p2.engine.ProfilePreferences.containsProfile(ProfilePreferences.java:115)
at org.eclipse.equinox.internal.p2.engine.ProfilePreferences.load(ProfilePreferences.java:260)
at org.eclipse.core.internal.preferences.EclipsePreferences.create(EclipsePreferences.java:370)
at org.eclipse.core.internal.preferences.EclipsePreferences.internalNode(EclipsePreferences.java:624)
at org.eclipse.core.internal.preferences.EclipsePreferences.node(EclipsePreferences.java:767)
at org.eclipse.core.internal.preferences.EclipsePreferences.internalNode(EclipsePreferences.java:630)
at org.eclipse.core.internal.preferences.EclipsePreferences.node(EclipsePreferences.java:767)
at org.eclipse.core.internal.preferences.EclipsePreferences.internalNode(EclipsePreferences.java:630)
at org.eclipse.core.internal.preferences.EclipsePreferences.node(EclipsePreferences.java:767)
at org.eclipse.core.internal.preferences.EclipsePreferences.internalNode(EclipsePreferences.java:630)
at org.eclipse.core.internal.preferences.EclipsePreferences.node(EclipsePreferences.java:767)
at org.eclipse.core.internal.preferences.RootPreferences.getNode(RootPreferences.java:108)
at org.eclipse.core.internal.preferences.RootPreferences.node(RootPreferences.java:87)
at org.eclipse.equinox.internal.p2.repository.helpers.AbstractRepositoryManager.getSharedPreferences(AbstractRepositoryManager.java:527)
at org.eclipse.equinox.internal.p2.repository.helpers.AbstractRepositoryManager.restoreRepositories(AbstractRepositoryManager.java:1034)
at org.eclipse.equinox.internal.p2.repository.helpers.AbstractRepositoryManager.basicGetRepository(AbstractRepositoryManager.java:182)
at org.eclipse.equinox.internal.p2.repository.helpers.AbstractRepositoryManager.loadRepository(AbstractRepositoryManager.java:666)
at org.eclipse.equinox.internal.p2.metadata.repository.MetadataRepositoryManager.loadRepository(MetadataRepositoryManager.java:110)
at org.eclipse.equinox.internal.p2.metadata.repository.MetadataRepositoryManager.loadRepository(MetadataRepositoryManager.java:105)
at org.eclipse.equinox.internal.provisional.p2.directorywatcher.RepositoryListener.initializeMetadataRepository(RepositoryListener.java:108)
at org.eclipse.equinox.internal.provisional.p2.directorywatcher.RepositoryListener.<init>(RepositoryListener.java:63)
at org.eclipse.equinox.internal.p2.reconciler.dropins.DropinsRepositoryListener.<init>(DropinsRepositoryListener.java:85)
at org.eclipse.equinox.internal.p2.reconciler.dropins.Activator.watchDropins(Activator.java:515)
at org.eclipse.equinox.internal.p2.reconciler.dropins.Activator.start(Activator.java:175)
at org.eclipse.osgi.internal.framework.BundleContextImpl.lambda$2(BundleContextImpl.java:808)
at java.base/java.security.AccessController.doPrivileged(AccessController.java:569)
at org.eclipse.osgi.internal.framework.BundleContextImpl.startActivator(BundleContextImpl.java:802)
... 13 more
Root exception:
java.lang.IllegalStateException: Registry Directory not available: c:\Program Files\Eclipse IDE\eclipse\p2\org.eclipse.equinox.p2.engine\profileRegistry.
at org.eclipse.oomph.p2.internal.core.LazyProfileRegistry.getProfileMap(LazyProfileRegistry.java:236)
at org.eclipse.oomph.p2.internal.core.LazyProfileRegistry.getProfileMap(LazyProfileRegistry.java:227)
at org.eclipse.oomph.p2.internal.core.LazyProfileRegistry.containsProfile(LazyProfileRegistry.java:208)
at org.eclipse.equinox.internal.p2.engine.ProfilePreferences.containsProfile(ProfilePreferences.java:115)
at org.eclipse.equinox.internal.p2.engine.ProfilePreferences.load(ProfilePreferences.java:260)
at org.eclipse.core.internal.preferences.EclipsePreferences.create(EclipsePreferences.java:370)
at org.eclipse.core.internal.preferences.EclipsePreferences.internalNode(EclipsePreferences.java:624)
at org.eclipse.core.internal.preferences.EclipsePreferences.node(EclipsePreferences.java:767)
at org.eclipse.core.internal.preferences.EclipsePreferences.internalNode(EclipsePreferences.java:630)
at org.eclipse.core.internal.preferences.EclipsePreferences.node(EclipsePreferences.java:767)
at org.eclipse.core.internal.preferences.EclipsePreferences.internalNode(EclipsePreferences.java:630)
at org.eclipse.core.internal.preferences.EclipsePreferences.node(EclipsePreferences.java:767)
at org.eclipse.core.internal.preferences.EclipsePreferences.internalNode(EclipsePreferences.java:630)
at org.eclipse.core.internal.preferences.EclipsePreferences.node(EclipsePreferences.java:767)
at org.eclipse.core.internal.preferences.RootPreferences.getNode(RootPreferences.java:108)
at org.eclipse.core.internal.preferences.RootPreferences.node(RootPreferences.java:87)
at org.eclipse.equinox.internal.p2.repository.helpers.AbstractRepositoryManager.getSharedPreferences(AbstractRepositoryManager.java:527)
at org.eclipse.equinox.internal.p2.repository.helpers.AbstractRepositoryManager.restoreRepositories(AbstractRepositoryManager.java:1034)
at org.eclipse.equinox.internal.p2.repository.helpers.AbstractRepositoryManager.basicGetRepository(AbstractRepositoryManager.java:182)
at org.eclipse.equinox.internal.p2.repository.helpers.AbstractRepositoryManager.loadRepository(AbstractRepositoryManager.java:666)
at org.eclipse.equinox.internal.p2.metadata.repository.MetadataRepositoryManager.loadRepository(MetadataRepositoryManager.java:110)
at org.eclipse.equinox.internal.p2.metadata.repository.MetadataRepositoryManager.loadRepository(MetadataRepositoryManager.java:105)
at org.eclipse.equinox.internal.provisional.p2.directorywatcher.RepositoryListener.initializeMetadataRepository(RepositoryListener.java:108)
at org.eclipse.equinox.internal.provisional.p2.directorywatcher.RepositoryListener.<init>(RepositoryListener.java:63)
at org.eclipse.equinox.internal.p2.reconciler.dropins.DropinsRepositoryListener.<init>(DropinsRepositoryListener.java:85)
at org.eclipse.equinox.internal.p2.reconciler.dropins.Activator.watchDropins(Activator.java:515)
at org.eclipse.equinox.internal.p2.reconciler.dropins.Activator.start(Activator.java:175)
at org.eclipse.osgi.internal.framework.BundleContextImpl.lambda$2(BundleContextImpl.java:808)
at java.base/java.security.AccessController.doPrivileged(AccessController.java:569)
at org.eclipse.osgi.internal.framework.BundleContextImpl.startActivator(BundleContextImpl.java:802)
at org.eclipse.osgi.internal.framework.BundleContextImpl.start(BundleContextImpl.java:759)
at org.eclipse.osgi.internal.framework.EquinoxBundle.startWorker0(EquinoxBundle.java:1019)
at org.eclipse.osgi.internal.framework.EquinoxBundle$EquinoxModule.startWorker(EquinoxBundle.java:365)
at org.eclipse.osgi.container.Module.doStart(Module.java:605)
at org.eclipse.osgi.container.Module.start(Module.java:468)
at org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.lambda$1(ModuleContainer.java:1834)
at org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.incStartLevel(ModuleContainer.java:1829)
at org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.incStartLevel(ModuleContainer.java:1777)
at org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.doContainerStartLevel(ModuleContainer.java:1739)
at org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.dispatchEvent(ModuleContainer.java:1661)
at org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.dispatchEvent(ModuleContainer.java:1)
at org.eclipse.osgi.framework.eventmgr.EventManager.dispatchEvent(EventManager.java:228)
at org.eclipse.osgi.framework.eventmgr.EventManager$EventThread.run(EventManager.java:339)
!ENTRY org.eclipse.egit.ui 2 0 2022-02-06 16:13:06.666
!MESSAGE Warning: The environment variable HOME is not set. The following directory will be used to store the Git
user global configuration and to define the default location to store repositories: 'C:\Users\user'. If this is
not correct please set the HOME environment variable and restart Eclipse. Otherwise Git for Windows and
EGit might behave differently since they see different configuration options.
This warning can be switched off on the Team > Git > Confirmations and Warnings preference page.
!ENTRY org.eclipse.oomph.setup.ui 4 0 2022-02-06 16:13:16.623
!MESSAGE Registry Directory not available: c:\Program Files\Eclipse IDE\eclipse\p2\org.eclipse.equinox.p2.engine\profileRegistry.
!STACK 0
java.lang.IllegalStateException: Registry Directory not available: c:\Program Files\Eclipse IDE\eclipse\p2\org.eclipse.equinox.p2.engine\profileRegistry.
at org.eclipse.oomph.p2.internal.core.LazyProfileRegistry.getProfileMap(LazyProfileRegistry.java:236)
at org.eclipse.oomph.p2.internal.core.LazyProfileRegistry.getProfileMap(LazyProfileRegistry.java:227)
at org.eclipse.oomph.p2.internal.core.LazyProfileRegistry.containsProfile(LazyProfileRegistry.java:208)
at org.eclipse.equinox.internal.p2.engine.ProfilePreferences.containsProfile(ProfilePreferences.java:115)
at org.eclipse.equinox.internal.p2.engine.ProfilePreferences.load(ProfilePreferences.java:260)
at org.eclipse.core.internal.preferences.EclipsePreferences.create(EclipsePreferences.java:370)
at org.eclipse.core.internal.preferences.EclipsePreferences.internalNode(EclipsePreferences.java:624)
at org.eclipse.core.internal.preferences.EclipsePreferences.node(EclipsePreferences.java:767)
at org.eclipse.core.internal.preferences.EclipsePreferences.internalNode(EclipsePreferences.java:630)
at org.eclipse.core.internal.preferences.EclipsePreferences.node(EclipsePreferences.java:767)
at org.eclipse.core.internal.preferences.EclipsePreferences.internalNode(EclipsePreferences.java:630)
at org.eclipse.core.internal.preferences.EclipsePreferences.node(EclipsePreferences.java:767)
at org.eclipse.core.internal.preferences.EclipsePreferences.internalNode(EclipsePreferences.java:630)
at org.eclipse.core.internal.preferences.EclipsePreferences.node(EclipsePreferences.java:767)
at org.eclipse.core.internal.preferences.RootPreferences.getNode(RootPreferences.java:108)
at org.eclipse.core.internal.preferences.RootPreferences.node(RootPreferences.java:87)
at org.eclipse.equinox.internal.p2.repository.helpers.AbstractRepositoryManager.getSharedPreferences(AbstractRepositoryManager.java:527)
at org.eclipse.equinox.internal.p2.repository.helpers.AbstractRepositoryManager.restoreRepositories(AbstractRepositoryManager.java:1034)
at org.eclipse.equinox.internal.p2.repository.helpers.AbstractRepositoryManager.getKnownRepositories(AbstractRepositoryManager.java:489)
at org.eclipse.oomph.p2.internal.core.CachingRepositoryManager$Artifact.getKnownRepositories(CachingRepositoryManager.java:647)
at org.eclipse.oomph.p2.core.P2Util.getKnownRepositories(P2Util.java:95)
at org.eclipse.oomph.setup.p2.impl.P2TaskImpl.isNeeded(P2TaskImpl.java:694)
at org.eclipse.oomph.setup.internal.core.SetupTaskPerformer.initNeededSetupTasks(SetupTaskPerformer.java:2282)
at org.eclipse.oomph.setup.ui.SetupUIPlugin.performStartup(SetupUIPlugin.java:804)
at org.eclipse.oomph.setup.ui.SetupUIPlugin.access$5(SetupUIPlugin.java:539)
at org.eclipse.oomph.setup.ui.SetupUIPlugin$1$1.run(SetupUIPlugin.java:265)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:63)
EDIT 2: Problem solved!
I installed Python (duh!)
Put Eclipse into another folder.

Eclispse Install software says "Can not complete the request"

I am using Eclipse Luna Service Release 1 (4.4.1)
When I try to install new software
It gives some error message like Cannot complete the request. This installation has not been configured properly for Software Updates.
And my error log says
eclipse.buildId=4.4.1.M20140925-0400
java.version=1.7.0_75
java.vendor=Oracle Corporation
BootLoader constants: OS=linux, ARCH=x86, WS=gtk, NL=en_IN
Framework arguments: -product org.eclipse.epp.package.standard.product
Command-line arguments: -os linux -ws gtk -arch x86 -product org.eclipse.epp.package.standard.product
org.eclipse.equinox.p2.ui.sdk
Warning
Mon May 11 14:35:07 IST 2015
Could not locate the running profile instance. The eclipse.p2.data.area and eclipse.p2.profile properties may not be set correctly in this application's config.ini file.
I came across similar problems in
How to enable Software Update in an Eclipse product?
and Getting the message "Cannot start the update ui..." when trying to run the update UI in Eclipse
but it didnot solve my problem
I hit this same error (Eclipse Mars).
Shutting down all Eclipse instances and starting with eclipse.exe -clean fixed it.
Bug 378568 mentions:
Looks like the configuration of your eclipse is damaged.
Check the value of 'eclipse.p2.profile' and 'eclipse.p2.data.area' in config.ini, then check whether the specified profile can be found from path 'eclipse.p2.data.area'.
<eclipse.p2.data.area>\org.eclipse.equinox.p2.engine\profile‌​Registry
Removing those files (in the folder eclipse.p2.data.area) and relaunching Eclipse should help fix the issue.
Although FaithReaper mentions in the comments:
Removing the eclipse.p2.data.area folder prevents Eclipse from launching.
In my case it is C:\Users\<my.user.name>\.p2
The discussion mentions the error:
An internal error occurred during:
"Loading bundle:
/eclipse/configuration/org.eclipse.osgi/1304/0/.cp/bundles/php.ruble".
org.eclipse.osgi.internal.framework.EquinoxConfiguration$1
cannot be cast to java.lang.String
This is mentioned in this answer (and this one) as a patch to be applied (see bug 445122: ClassCastException received when System.getProperties().store() runs on 4.4.1)
Just add the following lines to eclipse.ini:
-Dorg.eclipse.swt.browser.IEVersion=10001
-Dosgi.configuration.area.default=null
-Dosgi.user.area.default=null
-Dosgi.user.area=#user.home
-Dosgi.instance.area.default=null
It worked when I put the full eclipse folder (containing the executable) at the root of the harddrive like :
C:\eclipse
Same for the workspace.

Eclipse Spring Tool Suite workspace broken

After forced shut down of an Eclipse STS workspace it doesn't start up, the error in .metadata/.log is:
!SESSION 2015-02-06 11:32:47.154 -----------------------------------------------
eclipse.buildId=3.6.3.201411281414-RELEASE-e43
java.version=1.7.0_60
java.vendor=Oracle Corporation
BootLoader constants: OS=linux, ARCH=x86_64, WS=gtk, NL=en_US
Framework arguments: -product org.springsource.sts.ide
Command-line arguments: -data /home/myHome/STSWorkspace -os linux -ws gtk -arch x86_64 -product org.springsource.sts.ide
!ENTRY org.eclipse.ui 4 0 2015-02-06 11:35:09.243
!MESSAGE Unhandled event loop exception
!STACK 0
org.eclipse.e4.core.di.InjectionException: java.lang.ClassCastException: org.eclipse.e4.ui.model.application.ui.menu.impl.ToolBarSeparatorImpl cannot be cast to org.eclipse.e4.ui.model.application.ui.menu.MToolBar
Startup with -clean option didn't work. Any idea on how to fix the .metadata directory?
Thanks in advance
I am not sure whether this error is related to your workspace or the STS installation. What happens if you select a different or fresh and clean workspace? Does that work?
If not, I would re-install a fresh copy of STS, since the error looks a bit like an incompatibility between different parts, maybe an incomplete update or something like that.
If starting STS with a different workspace works just fine, I woudl completely delete the .metadata directory of your workspace while STS is NOT running. Then restart STS (the workspace will be empty, but the projects are still around on dics since you deleted the .metadata directory only). Go to "Import Existing Projects into Workspace", select the workspace location in the upcoming dialog and re-import those existing projects into your workspace.

Eclipse Helios not able to install m2e

I am very new to the Maven. I am trying to install m2e plugin in my Eclipse (eclipse-jee-helios-SR1-win32) from the Eclipse Marketplace. My Eclipse folder is in c:\ (c:\eclipse). It downloads and installs it properly (at least it looks so!) and then ask to restart Eclipse. I do restart it. But as soon as it restarts, it starts downloading some stuff and I get the following error:
eclipse.buildId=M20100909-0800
java.version=1.6.0_18
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
Error
Fri May 27 11:17:41 EDT 2011
Unable to update index for central|http://repo1.maven.org/maven2
java.io.IOException: An existing connection was forcibly closed by the remote host
at org.maven.ide.eclipse.internal.index.AsyncFetcher$PipedErrorInputStream.checkError(AsyncFetcher.java:181)
at org.maven.ide.eclipse.internal.index.AsyncFetcher$PipedErrorInputStream.read(AsyncFetcher.java:188)
at java.io.PipedInputStream.read(PipedInputStream.java:361)
at java.io.InputStream.read(InputStream.java:85)
at java.util.Properties$LineReader.readLine(Properties.java:418)
at java.util.Properties.load0(Properties.java:337)
at java.util.Properties.load(Properties.java:325)
at org.sonatype.nexus.index.updater.DefaultIndexUpdater.downloadIndexProperties(DefaultIndexUpdater.java:498)
at org.sonatype.nexus.index.updater.DefaultIndexUpdater.access$100(DefaultIndexUpdater.java:74)
at org.sonatype.nexus.index.updater.DefaultIndexUpdater$IndexAdaptor.setProperties(DefaultIndexUpdater.java:780)
at org.sonatype.nexus.index.updater.DefaultIndexUpdater.fetchAndUpdateIndex(DefaultIndexUpdater.java:954)
at org.sonatype.nexus.index.updater.DefaultIndexUpdater.fetchAndUpdateIndex(DefaultIndexUpdater.java:138)
at org.maven.ide.eclipse.internal.index.NexusIndexManager.updateRemoteIndex(NexusIndexManager.java:1072)
at org.maven.ide.eclipse.internal.index.NexusIndexManager.updateIndex(NexusIndexManager.java:1025)
at org.maven.ide.eclipse.internal.index.NexusIndexManager$1.run(NexusIndexManager.java:632)
at org.maven.ide.eclipse.internal.index.IndexUpdaterJob.run(IndexUpdaterJob.java:71)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54)
Caused by: java.io.IOException: An existing connection was forcibly closed by the remote host
at sun.nio.ch.SocketDispatcher.read0(Native Method)
at sun.nio.ch.SocketDispatcher.read(SocketDispatcher.java:25)
at sun.nio.ch.IOUtil.readIntoNativeBuffer(IOUtil.java:233)
at sun.nio.ch.IOUtil.read(IOUtil.java:200)
at sun.nio.ch.SocketChannelImpl.read(SocketChannelImpl.java:236)
at org.jboss.netty.channel.socket.nio.NioWorker.read(NioWorker.java:322)
at org.jboss.netty.channel.socket.nio.NioWorker.processSelectedKeys(NioWorker.java:281)
at org.jboss.netty.channel.socket.nio.NioWorker.run(NioWorker.java:201)
at org.jboss.netty.util.internal.IoWorkerRunnable.run(IoWorkerRunnable.java:46)
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
at java.lang.Thread.run(Thread.java:619)
Does anyone has ANY idea what is this? I repeated the process thrice, repeated on fresh installation of Eclipse, same problem. My colleague is using same version of Eclipse and has done the same process. He was able to install m2e in < 1 minute! This is so frustrating!
EDIT 1:
I have configured Proxy Settings in Eclipse Network Connections and those settings are working fine for my colleagues. So I guess it is not a proxy issue.
Although the Public Maven address itself isn't browsable anymore recently, this is more likely due to a Network Connections settings in your Eclipse.
See this answer to set your proxy if you have one, and more generally, check the "Network Connections" settings of your Eclipse's colleague to ake sure you have the same.
For information/archive, regarding the browse status of http://repo1.maven.org/maven2:
The raw browsing ability was originally removed to prevent automatic web crawler/scraper activity from de-stabilizing the Central servers.
Some of that ability has been returned.
It is currently possible to browse at levels deeper than the root, /org, /com, and /net.
So, if you try to navigate to http://repo1.maven.org/maven2/org, for example, you will see a static page with a link to the appropriate Browse view on http://search/maven.org.
However, if you go even one level deeper, to http://repo1.maven.org/maven2/org/apache, the standard directory browse functionality will be in place.
Found simple solution. Just did an update for Eclipse and it worked!

Error when installing plugin in Eclipse

When I try to install a plugin in Eclipse I get these error messages
Registry event dispatcher
Error notifying registry change listener.
Error notifying registry change listener.
Invalid registry object
Error notifying registry change listener.
Invalid registry object
Error notifying registry change listener.
Invalid registry object
Error notifying registry change listener.
Invalid registry object
Error notifying registry change listener.
Invalid registry object
Has someone an idea what the cause of this problem could be? Thanks
Edit:
I see the Eclipse .log file has also a lot of new stack traces
The first one is
java.vendor=Sun Microsystems Inc.
BootLoader constants: OS=win32, ARCH=x86_64, WS=win32, NL=nl_NL
Framework arguments: -product org.eclipse.epp.package.jee.product
Command-line arguments: -os win32 -ws win32 -arch x86_64 -product org.eclipse.epp.package.jee.product
!ENTRY org.eclipse.equinox.registry 4 2 2010-05-06 21:04:31.236
!MESSAGE Problems occurred when invoking code from plug-in: "org.eclipse.equinox.registry".
!STACK 0
org.eclipse.core.runtime.InvalidRegistryObjectException: Invalid registry object
at org.eclipse.core.internal.registry.TemporaryObjectManager.getObject(TemporaryObjectManager.java:98)
at org.eclipse.core.internal.registry.BaseExtensionPointHandle.getExtensionPoint(BaseExtensionPointHandle.java:106)
at org.eclipse.core.internal.registry.BaseExtensionPointHandle.getContributor(BaseExtensionPointHandle.java:45)
at org.eclipse.core.internal.registry.BaseExtensionPointHandle.getNamespace(BaseExtensionPointHandle.java:37)
at org.eclipse.ui.internal.PopupMenuExtender.registryChanged(PopupMenuExtender.java:520)
at org.eclipse.core.internal.registry.ExtensionRegistry$2.run(ExtensionRegistry.java:921)
at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)
at org.eclipse.core.internal.registry.ExtensionRegistry.processChangeEvent(ExtensionRegistry.java:919)
at org.eclipse.core.runtime.spi.RegistryStrategy.processChangeEvent(RegistryStrategy.java:260)
at org.eclipse.core.internal.registry.osgi.ExtensionEventDispatcherJob.run(ExtensionEventDispatcherJob.java:50)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54)
Edit2:
When I restart Eclipse I get a "install connectors" window, but when I select a connector and click on "Finish" nothing happens and there appears an "Unhandled event loop exception" in the Eclipse log
Edit3:
I tried Subclipse instead of Subversive but that gives these errors
Failed to load JavaHL Library.
These are the errors that were encountered:
no libapr-1 in java.library.path
no libapriconv-1 in java.library.path
C:\Program Files (x86)\Zend\Core\bin\libeay32.dll: Can't load IA 32-bit .dll on a AMD 64-bit platform
C:\Program Files (x86)\Zend\Core\bin\ssleay32.dll: Can't load IA 32-bit .dll on a AMD 64-bit platform
no libaprutil-1 in java.library.path
no libsvn_subr-1 in java.library.path
no libsvn_delta-1 in java.library.path
no libsvn_diff-1 in java.library.path
no libsvn_wc-1 in java.library.path
no libsvn_fs-1 in java.library.path
no libsvn_repos-1 in java.library.path
no libsvn_ra-1 in java.library.path
no libsvn_client-1 in java.library.path
no libsvnjavahl-1 in java.library.path
no svnjavahl-1 in java.library.path
no svnjavahl in java.library.path
java.library.path = C:\Windows\system32;.;C:\Windows\Sun\Java\bin;C:\Windows\system32;C:\Windows;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Program Files (x86)\Zend\Core\bin;C:\Program Files (x86)\Zend\Core\oic;C:\Program Files (x86)\MySQL\MySQL Server 5.0\bin;C:\Program Files (x86)\Common Files\Acronis\SnapAPI\;C:\Program Files\TortoiseSVN\bin;C:\Program Files (x86)\QuickTime\QTSystem\;C:\Program Files\Java\jdk1.6.0_20\bin
Is there a possibility that the installed Eclipse version conflicts with another installed Eclipse version or with Zend Studio?
It's problem with x64 Java.
With x64 java you need to use JavaHL with x64 support
This is official FAQ
http://subclipse.tigris.org/wiki/JavaHL#head-0ae839721445e3f59d10a128ec9439d4f4988d5f
I have same installation and it works after steps from FAQ
Edit: You may also need to edit your PATH variable (in Windows at least) to include the bin folder from the SlikSVN install that is recommended in the subclipse FAQ listed above.
If you are installing Subclipse plugin for SVN in eclipse on windows7 64 bit. Make sure you do not install JavaHL as part of the plugin install options. You need to separately install SilkSVN install outside the eclipse. Steps are here,
First install SilkSVN, than install Subclipse plugin install withouth JavaHL plugin checked.
For Kirk Woll:
Modify your Path in Environment variables
Change C:\Program Files\SlikSvn\bin\ into C:\Program Files\SlikSvn\bin
maybe this can help you.
Install SlikSvn http://www.sliksvn.com/en/download
Change system variables path: C:\Program Files\SlikSvn\bin\ to C:\Program Files\SlikSvn\bin
Did you observe that on a fresh installation of Eclipse?
And in the case of your instance of Eclipse, did you try to relaunch iot a second time? (and still see errors?)
Because when several plugins are already there, this thread mentions (for AJDT but that can be applied to other plugins as well):
The error means that somebody holds on to the handles to the extension registry objects that no longer exists.
Most likely AJDT (or one of the bundles it depends on) maintains persistent cache of registry objects, such as extensions or extension points.
When a bundle is updated, behind the scene the "old" version of the bundle is uninstalled, removing all its registry elements, and when the new version of the bundle is installed, adding new registry element.
If a bundle cached handles for extensions/extension points and did not react to the registry events, it ends up with invalid handles.
I had the same problem, running eclipse 64 bit on windows 7 64 bit, trying to use subclipse and this is how I fixed it:
I have installed eclipse Helios 64 bit.
I have installed jdk 1.6 64 bit.
I have installed subclipse.
I have installed JavaHL (Slik subversion) 64 bit.
I had to make sure eclipse uses the 64 bit version Java when launching (this can be verified when looking at the java.library.path property in eclipse->help->about eclipse->installation details->configuration. Make sure it shows also the path to your 64 bit JDK - if not, change the relevant system environment variable from your windows control panel->system and restart eclipse with the -clean variable).