PyDev and Eclipse Juno - eclipse

I am running Eclipse 4.2, PyDev worked fine with it until recently it stopped working (there is no longer a PyDev View), if I try to update pydev, I get this error:
Cannot complete the install because one or more required items could not be found.
Software currently installed: Eclipse SDK 4.2.0.I20120608-1400 (org.eclipse.sdk.ide 4.2.0.I20120608-1400)
Missing requirement for filter properties ~= $0: Eclipse Product Configuration 1.0.0.I20120608-1400 (org.eclipse.rcp.configuration.feature.group 1.0.0.I20120608-1400) requires 'org.eclipse.rcp.configuration_root.gtk.linux.x86 [1.0.0.I20120608-1400]' but it could not be found
Cannot satisfy dependency:
From: Eclipse SDK 4.2.0.I20120608-1400 (org.eclipse.sdk.ide 4.2.0.I20120608-1400)
To: org.eclipse.rcp.configuration.feature.group [1.0.0.I20120608-1400]
I just realised it says: org.eclipse.rcp.configuration_root.gtk.linux.x86. I recently upgraded my system from 32bit to 64bit, might that be the reason and if it is the reason how can I fix it?

Removing ~/.eclipse and reinstalling all plugins solved the problem.

Related

Why do I get IllegalStateException: Missing hosting module org.netbeans.libs.javacimpl when upgrade to Netbeans 13?

After I upgraded Netbeans from 12.6 to 13, Netbeans doesn't start. When I start it from the command line, I got the following message:
java.lang.IllegalStateException: Missing hosting module org.netbeans.libs.javacimpl for fragment org.netbeans.modules.nbjavac.impl
at org.netbeans.ModuleManager.refineClassLoader(ModuleManager.java:909)
at org.netbeans.StandardModule.classLoaderUp(StandardModule.java:527)
at org.netbeans.ModuleManager.enable(ModuleManager.java:1330)
at org.netbeans.ModuleManager.enable(ModuleManager.java:1254)
at org.netbeans.core.startup.ModuleList.installNew(ModuleList.java:315)
at org.netbeans.core.startup.ModuleList.trigger(ModuleList.java:251)
at org.netbeans.core.startup.ModuleSystem.restore(ModuleSystem.java:298)
at org.netbeans.core.startup.Main.getModuleSystem(Main.java:156)
at org.netbeans.core.startup.Main.getModuleSystem(Main.java:125)
at org.netbeans.core.startup.Main.start(Main.java:282)
at org.netbeans.core.startup.TopThreadGroup.run(TopThreadGroup.java:98)
at java.base/java.lang.Thread.run(Thread.java:829)
What's the reason? How can I fix it?
This is caused by old nb-javac (Netbeans Java Compiler) modules installed in an older Netbeans version, which are incompatible with nb-javac, which is now bundled in Netbeans.
It's necessary to remove those old modules. You can find them in the Netbeans user directory. On Linux this is for example in ~/.netbeans or in ~/snap/netbeans/current, if installed as a Snap package. Those nb-javac files are in the modules directory in that directory (e.g. ~/.netbeans/modules) and include nbjavac in the name, e.g. org-netbeans-modules-nbjavac-api.jar. Delete all such files that include nbjavac. Then start Netbeans again, all should work now.
This problem was reported for a development version of Netbeans 13 on the developers' mailing list: https://www.mail-archive.com/dev#netbeans.apache.org/msg09777.html. There are original instructions that helped me to fix this issue. I wasn't using any development build of Netbeans, I just upgraded from the regular version 12.6 to the version 13 of Netbeans. In Netbeans 12.6, I installed the nb-javac plugin, which probably brought these incompatible modules that needed to be removed.
People who are struggling on macOS, same answer as OndroMih but these directories
/Users/<your_user>/Library/Caches/NetBeans
/Users/<your_user>/Library/Application Support/NetBeans

Will rascal supports MAC M1 - Monterey OS?

I have java 8.
I have installed the eclipse latest version as this supports ARM64 chip - https://www.eclipse.org/downloads/packages/release/2021-12/r/eclipse-ide-cc-developers
And when i try to add rascal - https://update.rascal-mpl.org/stable/
Eclipse throws an error -
Cannot complete the install because one or more required items could not be found.
Software being installed: The Rascal MetaProgramming Language 0.18.3 (rascal-feature.feature.group 0.18.3)
Missing requirement: rascal_eclipse 0.18.3 (rascal_eclipse 0.18.3) requires 'osgi.bundle; org.eclipse.core.runtime [0.0.0,3.19.0)' but it could not be found
Cannot satisfy dependency:
From: The Rascal MetaProgramming Language 0.18.3 (rascal-feature.feature.group 0.18.3)
To: org.eclipse.equinox.p2.iu; rascal_eclipse [0.18.3,0.18.3]
Can someone guide me to resolve this error?
Is this due to the installation of latest version of Eclipse?
The key part of the error is
requires 'osgi.bundle; org.eclipse.core.runtime [0.0.0,3.19.0)'
This is saying the org.eclipse.core.runtime plug-in is required with a version less than 3.19.0.
The last version of Eclipse with that plug-in at a suitable version was Eclipse 4.16 (2020-06). So it isn't go to install on the ARM64 release. The Rascal plug-ins would have to be updated to run on anything newer.
Eclipse 2020-06 was the last Eclipse that only required Java 8 to run, possibly that is something to do with this.

Installing AntlrDT on Eclipse Oxygen.3a Release (4.7.3a): "The installation cannot be completed as requested"

I've just tried to install AntrlDT, StringTemplateDT and XVisitorDT on Eclipse from the update site http://www.certiv.net/updates/.
However, Eclipse tells me "The installation cannot be completed as requested" (screenshot below). When I uncheck the proposed solutions, I can see the reasons for the failure:
Cannot complete the install because one or more required items could not be found.
Software being installed: StringTemplateDT 4.9.0.20190203-0050 (net.certiv.stdt.feature.feature.group 4.9.0.20190203-0050)
Missing requirement: Dsl Editor Core 0.9.0.20190203-0048 (net.certiv.dsl.core 0.9.0.20190203-0048) requires 'bundle org.eclipse.core.runtime 3.15.100' but it could not be found
Cannot satisfy dependency:
From: Dsl Editor UI 0.9.0.20190203-0048 (net.certiv.dsl.ui 0.9.0.20190203-0048)
To: bundle net.certiv.dsl.core 0.9.0
Cannot satisfy dependency:
From: ST Core 4.9.0.20190203-0050 (net.certiv.stdt.core 4.9.0.20190203-0050)
To: bundle net.certiv.dsl.ui 0.9.0
Cannot satisfy dependency:
From: StringTemplateDT 4.9.0.20190203-0050 (net.certiv.stdt.feature.feature.group 4.9.0.20190203-0050)
To: net.certiv.stdt.core [4.9.0.20190203-0050]
so it seems some components are missing from the update site and this is a matter for them to fix, but I find the messages hard to understand. Is this the correct interpretation?
I am running Eclipse Oxygen.3a Release (4.7.3a).
I found the same problem with eclipse photon.
The components specified in your question are not installed because they require the plugin org.eclipse.core.runtime 3.15.100
The fact is that Eclipse Oxygen/Photon install plugin version 3.14
I ask Eclipse Community Forums about how to upgrade org.eclipse.core.runtime to 3.15 in my Eclipse version (see question).
They suggest instead to install last versions of eclipse (i.e. 2019-03) which come with plugin version 3.15.200
I installed new Eclipse and finally I could install AntlrDT successfully

Getting dependency error while installing JetBrains TeamCity in Mars.2 Release (4.5.2)

I am trying to install Team City Eclipse Plugin in Eclipse Mars latest release and getting the following error.
Cannot complete the install because one or more required items could not be found.
Software being installed: JetBrains TeamCity Java Code Coverage 6.5.0.18130 (jetbrains.teamcity.feature.codequality.feature.group 6.5.0.18130)
Missing requirement: JetBrains TeamCity Core (Required) 6.5.0.18130 (jetbrains.teamcity.feature.feature.group 6.5.0.18130) requires 'org.eclipse.core.runtime.compatibility.auth 0.0.0' but it could not be found
Cannot satisfy dependency:
From: JetBrains TeamCity Java Code Coverage 6.5.0.18130 (jetbrains.teamcity.feature.codequality.feature.group 6.5.0.18130)
To: jetbrains.teamcity.feature.feature.group 0.0.0
As it says that required dependency - 'org.eclipse.core.runtime.compatibility.auth 0.0.0' could not be found. Is this a bug in Mars release or any plugin/library needs to be added?
I have tried updating the Eclipse - it says already updated. No updates available.
Please throw some pointers.
Thanks.
The org.eclipse.core.runtime.compatibility.auth plug-in was removed from Eclipse in release 4.2.
So you need to find a newer release of the code your are trying to install.

How to get Scala plugin and AJDT to be installed in same Eclipse

I get an error when trying to install both AJDT and Scala 2.7.5 plugin into Eclipse 3.5.
I remember seeing a message at one point that there was a known problem with the two being installed, and the solution was to install a pre-release version of Scala plugin, from May I believe, then install AJDT.
But, I don't remember which version and I can't find a link to download the older pre-release version.
So, I am wondering if someone knows how I can get both installed.
Thank you.
Edit:
I tried it just now and got this error, so AJDT 1.7.0 won't work. :(
Cannot complete the install because of a conflicting dependency.
Software being installed: Scala Eclipse Plugin 2.7.5.final (ch.epfl.lamp.sdt.feature.group 2.7.5.final)
Software being installed: AspectJ Development Tools 2.0.0.e35x-20090624-1600 (org.eclipse.ajdt.feature.group 2.0.0.e35x-20090624-1600)
Only one of the following can be installed at once:
JDT Weaving 2.0.0.e35x-20090624-1600 (org.eclipse.contribution.weaving.jdt 2.0.0.e35x-20090624-1600)
JDT Weaving 1.6.4.20090313172428 (org.eclipse.contribution.weaving.jdt 1.6.4.20090313172428)
Cannot satisfy dependency:
From: Scala Eclipse Plugin 2.7.5.final (ch.epfl.lamp.sdt.feature.group 2.7.5.final)
To: org.eclipse.contribution.weaving.jdt [1.6.4.20090313172428]
Cannot satisfy dependency:
From: AspectJ Development Tools 2.0.0.e35x-20090624-1600 (org.eclipse.ajdt.feature.group 2.0.0.e35x-20090624-1600)
To: org.eclipse.contribution.weaving.jdt [2.0.0.e35x-20090624-1600]
According to this thread,
2.7.5.final is compatible with AJDT 1.7.0 on Eclipse 3.5.
If you have AJDT (AspectJ Development Tools) 2.0.x, could you try to downgrade to 1.7.0 as suggested in this thread?
As the OP (James Black) himself details in the comments, both AJDT versions are actually 2.0!
From "AJDT 2.0.0 - New and Noteworthy":
Release for AJDT targeting Eclipse 3.5: 2.0.0_e35x2009XXXXXX
Release for AJDT targeting Eclipse 3.4: 2.0.0_e34x2009XXXXXX
So this means that AJDT 1.6.5 has been renamed AJDT 2.0.0_e34x and AJDT 1.7.0 has been renamed AJDT 2.0.0_e35x.
Although this is potentially confusing in the short term, we believe in the long term, this will be more informative and users will be able to read the version and immediately know which Eclipse version it targets and also what feature level it contains.
To complete this answer with the OP's feedback:
AJDT update site
"Eclipse Galileo, AJDT, Scala Eclipse plugin 2.7.5"
Hmm ... if you can live with one of the 1.7.0 AJDT builds you should be OK.
Cheers, Miles
Thanks for the tip - it works!
I used ajdt_1.7.0.20090513085548_archive.zip from the AJDT downloads.
cheers Porter
Here is the message I couldn't find, looking for AJDT 1.7 was the help I needed:
http://www.nabble.com/Eclipse-Galileo,-AJDT,-Scala-Eclipse-plugin-2.7.5-td24357850.html
You can get the file from:
http://eclipse.ialto.org/tools/ajdt/35/dev/update/
I unzipped this zip file into the Eclipse directory, then installed Scala 1.7.5.
I have AJDT 2.0.0 installed, and when trying to install Scala 2.7.5.final get this message:
Only one of the following can be installed at once:
JDT Weaving 2.0.0.e35x-20090624-1600 (org.eclipse.contribution.weaving.jdt 2.0.0.e35x-20090624-1600)
JDT Weaving 1.6.4.20090313172428 (org.eclipse.contribution.weaving.jdt 1.6.4.20090313172428)
This is because the Scala plugin requires 1.6.4. If you downgrade to that version of AJDT you may be ok.