New TestNG installation - eclipse

My Eclipse version is Version: 2022-09 (4.25.0). While I tried to install TestNG, it shows following error,
Cannot complete the install because some dependencies are not satisfiable
Software being installed: a.jre.javase 14.0.0
Software currently installed: M2E - POM Editor using LemMinX language server (includes Incubating components) 2.0.0.20220729-1256 (org.eclipse.m2e.lemminx.feature.feature.group 2.0.0.20220729-1256)
Cannot satisfy dependency:
From: M2E Maven POM File Editor using Wild Web Developer, Lemminx and Maven LS extension (requires Incubating components) 2.0.0.20220729-1256 (org.eclipse.m2e.editor.lemminx 2.0.0.20220729-1256)
To: osgi.ee; (&(osgi.ee=JavaSE)(version=17))
Cannot satisfy dependency:
From: M2E - POM Editor using LemMinX language server (includes Incubating components) 2.0.0.20220729-1256 (org.eclipse.m2e.lemminx.feature.feature.group 2.0.0.20220729-1256)
To: org.eclipse.equinox.p2.iu; org.eclipse.m2e.editor.lemminx [2.0.0.20220729-1256,2.0.0.20220729-1256].
How to solve this one.

According to the message, running Eclipse with Java 14 installed on your system (so it cannot be upgraded by Eclipse) prevents a complete upgrade to Eclipse 2022-09 because parts of Eclipse 2022-09 (or to be more specific, the Maven support) require Java 17 or higher.
As solution, run Eclipse with Java 17 or higher or even better, install Java 17 as part of Eclipse (so it will also be upgraded by Eclipse in the future):
Help > Install New Software...
Work with: https://download.eclipse.org/justj/jres/17/updates/release
Select and install JustJ Adoptium OpenJDK Hotspot JRE Complete
Note: The Java version with which Eclipse is run is independent of the Java versions you use in your projects (configure the JDKs you want to use in your projects in the preferences Java > Installed JREs).

Related

Failing to install Gradle IDE Pack 3.8.x+1.0.x on Eclipse 2020-06

whenever I try to install the Gradle IDE Pack 3.8.x+1.0.x+2.2.x on my Eclipse I get following error message:
Cannot complete the install because some dependencies are not satisfiable
Software being installed: a.jre.javase 16.0.0
Software currently installed: BOSH Language Server Feature 4.9.0.202012131915 (org.springframework.tooling.bosh.ls.feature.feature.group 4.9.0.202012131915)
Cannot satisfy dependency:
From: Language Server Protocol client for Eclipse IDE (Incubation) 0.13.4.202011121435 (org.eclipse.lsp4e 0.13.4.202011121435)
To: osgi.ee; (&(osgi.ee=JavaSE)(version=11))
Cannot satisfy dependency:
From: BOSH Language Server Feature 4.9.0.202012131915 (org.springframework.tooling.bosh.ls.feature.feature.group 4.9.0.202012131915)
To: org.eclipse.equinox.p2.iu; org.eclipse.lsp4e 0.0.0
I use Eclipse 2020-06 and Java 8. From what I understand I would need minimum Java 11.
Is there a way to overgo that without using Java 11? We have to stick to Java 8 for now.
Thanks for support.
Upgrading to JDK11 didn't solve the issue (alone at least). The BOSCH Language Server from the Spring Tool Plus-In must be uninstalled as well.

Why Installing Roo Support fails on Eclipse IDE for Enterprise Java Developers 2020-09 (4.17.0) Build id: 20200910-1200 with STS 4.8.0

Tried installing Spring-Roo support from: Spring IDE - http://dist.springframework.org/release/IDE/
Fails with:
Cannot complete the install because one or more required items could not be found.
Software being installed: Spring IDE Roo Support 3.9.14.202009150957-RELEASE (org.springframework.ide.eclipse.roo.feature.feature.group 3.9.14.202009150957-RELEASE)
Missing requirement: Spring IDE Roo Support 3.9.14.202009150957-RELEASE (org.springframework.ide.eclipse.roo.feature.feature.group 3.9.14.202009150957-RELEASE) requires 'org.eclipse.equinox.p2.iu; org.eclipse.ajdt.feature.group 2.0.1' but it could not be found
Environment:
Eclipse IDE for Enterprise Java Developers (includes Incubating components)
Version: 2020-09 (4.17.0)
Build id: 20200910-1200
OS: Windows 10, v.10.0, x86_64 / win32
Java version: 14.0.2
+Installed Spring Tools 4 (aka Spring Tools Suite 4) 4.8.0 release from Eclipse Marketplace.
I am almost sure that I have seen something about the version of Eclipse that cannot be fresher than xxxx in order to use STS and Spring-Roo as workaround but cannot find that neither any more... Can anyone help?
You can install the Spring IDE Roo Support from:
https://download.springsource.com/release/TOOLS/update/3.9.14.RELEASE/e4.17
or via the STS3 Add-On Pack for Spring Tools 4 from the Eclipse Marketplace.
But please keep in mind that the IDE support for Roo is no longer maintained and will soon no longer be available to be installed into Spring Tools 4 or Eclipse.

Eclipse dependency failure on Install of Salesforce IDE

I'm trying to install the salesforce IDE (Force IDE) on eclipse, and I get a dependency error that I don't know how to read. Can someone translate it for me, and tell me which piece I need to install? I've tried reading it several times and I can't figure it out... usually I'm not bad at doing this... must be getting old!
Cannot complete the install because of a conflicting dependency.
Software being installed: Force.com IDE 38.0.0.201701101558 (com.salesforce.ide.feature.feature.group 38.0.0.201701101558)
Software currently installed: Eclipse Platform 3.7.0.debbuild (org.eclipse.platform.ide 3.7.0.debbuild)
Only one of the following can be installed at once:
Eclipse Forms 3.6.200.v20150506-2029 (org.eclipse.ui.forms 3.6.200.v20150506-2029)
Eclipse Forms 3.5.200.v20120521-2329 (org.eclipse.ui.forms 3.5.200.v20120521-2329)
Cannot satisfy dependency:
From: Force.com IDE 38.0.0.201701101558 (com.salesforce.ide.feature.feature.group 38.0.0.201701101558)
To: com.salesforce.ide.ui.editors [38.0.0.201701101558]
Cannot satisfy dependency:
From: Force.com IDE Editors 38.0.0.201701101558 (com.salesforce.ide.ui.editors 38.0.0.201701101558)
To: bundle org.eclipse.ui.forms 3.6.200
Cannot satisfy dependency:
From: Eclipse Platform 3.8.1.dist-A8F8_IVVG4WVSPmeRoJgU5j9DVVo8nAGcMPL9 (org.eclipse.platform.feature.group 3.8.1.dist-A8F8_IVVG4WVSPmeRoJgU5j9DVVo8nAGcMPL9)
To: org.eclipse.ui.forms [3.5.200.dist]
Cannot satisfy dependency:
From: Eclipse Platform 3.7.0.debbuild (org.eclipse.platform.ide 3.7.0.debbuild)
To: org.eclipse.platform.feature.group [3.8.1.dist-A8F8_IVVG4WVSPmeRoJgU5j9DVVo8nAGcMPL9]
I'm on Debian Linux, running Eclipse Version: 3.8.1, Build id: debbuild
AFAIK, Force.com IDE based on Eclipse is not supported now.
As an alternative, you can try out JetForcer, IDE for Salesforce development based on IntelliJ platform or VSCode extension.
I just saw that Eclipse is on version 4.7 on their website. I think my Eclipse version is hopelessly outdated!
I'll update it and try again.

Eclipse - Maven Installation Error

I am trying to install Maven Plugin for Eclipse , but i am geting this error .
I am using
Eclipse Java EE IDE for Web Developers.
Version: Indigo Release
Build id: 20110615-0604 Version of Eclipse .
Cannot complete the install because of a conflicting dependency.
Software being installed: m2e - Maven Integration for Eclipse 1.0.100.20110804-1717 (org.eclipse.m2e.feature.feature.group 1.0.100.20110804-1717)
Software currently installed: Maven Integration for Eclipse (Required) 0.12.1.20110112-1712 (org.maven.ide.eclipse.feature.feature.group 0.12.1.20110112-1712)
Only one of the following can be installed at once:
Maven Integration for Eclipse 0.12.1.20110112-1712 (org.maven.ide.eclipse 0.12.1.20110112-1712)
This version of m2eclipse cannot be installed on top of the already installed m2eclipse. Uninstall the previous version of m2eclipse and try the install again. 1.0.100.20110804-1717 (org.maven.ide.eclipse 1.0.100.20110804-1717)
Cannot satisfy dependency:
From: m2e - Maven Integration for Eclipse 1.0.100.20110804-1717 (org.eclipse.m2e.feature.feature.group 1.0.100.20110804-1717)
To: bundle org.maven.ide.eclipse [1.0.100.20110804-1717]
Cannot satisfy dependency:
From: Maven Integration for Eclipse (Required) 0.12.1.20110112-1712 (org.maven.ide.eclipse.feature.feature.group 0.12.1.20110112-1712)
To: org.maven.ide.eclipse [0.12.1.20110112-1712]
please refer to the screen shot of the error given below
http://imageshack.us/f/823/eclipsse.jpg/
You should simply uninstall m2eclipse version 0.12.x and retry installation. You are essentially trying to install both m2e and m2eclipse (read: older m2e) together.
My Eclipse JDT and m2e versions are:
Eclipse Java Development Tools 3.7.0.v20110520-0800
m2e - Maven Integration for Eclipse 1.0.0.20110607-2117

Uninterpretable Eclipse Error when installing m2eclipse

When trying to install the current version of m2eclipse (0.12.1.20110112-1712) I get an error which doesn't really help me:
Cannot complete the install because of a conflicting dependency.
Software being installed: Maven Integration for Eclipse (Required) 0.12.1.20110112-1712 (org.maven.ide.eclipse.feature.feature.group 0.12.1.20110112-1712)
Software currently installed: Eclipse Platform 3.5.2 (Eclipse Platform 3.5.2)
Only one of the following can be installed at once:
Eclipse Jobs Mechanism 3.4.100.v20090429-1800 (org.eclipse.core.jobs 3.4.100.v20090429-1800)
Eclipse Jobs Mechanism 3.5.0.v20100515 (org.eclipse.core.jobs 3.5.0.v20100515)
Eclipse Jobs Mechanism 3.5.1.R36x_v20100824 (org.eclipse.core.jobs 3.5.1.R36x_v20100824)
Cannot satisfy dependency:
From: Eclipse Platform 3.5.2 (Eclipse Platform 3.5.2)
To: org.eclipse.core.jobs [3.4.100.v20090429-1800]
Cannot satisfy dependency:
From: Structured Source Model 1.1.500.v201006020308 (org.eclipse.wst.sse.core 1.1.500.v201006020308)
To: bundle org.eclipse.core.jobs [3.5.0,4.0.0)
Cannot satisfy dependency:
From: Structured Source Model 1.1.502.v201008311901 (org.eclipse.wst.sse.core 1.1.502.v201008311901)
To: bundle org.eclipse.core.jobs [3.5.0,4.0.0)
Cannot satisfy dependency:
From: Maven Integration for Eclipse (Required) 0.12.1.20110112-1712 (org.maven.ide.eclipse.feature.feature.group 0.12.1.20110112-1712)
To: org.eclipse.wst.sse.core 0.0.0
My Eclipse version is 3.5.2 and I'm using it under Ubuntu. Maybe someone has an idea? Googling did only bring up error messages at the Eclipse marketplace without any discussion.
I wouldn't worry about Helios being unsupported on Ubuntu according to presumably Ubuntu. Helios is well supported on pretty much all flavors of Linux by the Eclipse community.
If you do want to try installing m2eclipse into your existing Eclipse 3.5 "Galileo" installation, try unchecking the checkbox that reads something like "consult all available update sites" on the screen where you enter m2eclipse update site URL.
The solution is to install Eclipse 3.6 (Helios), which is not officially supported by Ubuntu 10.04. Now, m2eclipse could be installed without a problem.
This is not the most optimal solution, but at least it works now.