Comments (5)
After more trial and horror, this seems to be related to "toolchain" issues (not finding the installed JDKs), but with really confusing error messages, I'm closing this issue
from buildship.
I don't know if this is relevant to this problem but I had similar one.
In Problems View I had error regarding some library that could not be found. Gradle refresh did not help. But when you go to Project -> Properties -> Gradle there are set some program arguments like in picture here:
When I delete program arguments and refresh gradle project error disappears.
I hope this helps.
from buildship.
@gundoghusse I can reproduce your error when running Gradle 7.3 with Java 21. This is not supported, see Compatibility Matrix.
I think there are three possible solutions:
- Switch the project to Gradle 8.5, e.g. Project > Properties: Override workspace settings > Specific Gradle version
- Edit your
eclipse.ini
and start Eclipse with Java 17 (instead of Java 21) - Add this property to the
gradle.properties
in your project root:org.gradle.java.home=<path to Java 17>
(see Gradle Properties)
from buildship.
I don't know if this is relevant to this problem but I had similar one.
In Problems View I had error regarding some library that could not be found. Gradle refresh did not help. But when you go to Project -> Properties -> Gradle there are set some program arguments like in picture here:
When I delete program arguments and refresh gradle project error disappears.
I hope this helps.
Hi, unfortunately I didn't have any arguments so that did not help
from buildship.
@gundoghusse I can reproduce your error when running Gradle 7.3 with Java 21. This is not supported, see Compatibility Matrix.
I think there are three possible solutions:
- Switch the project to Gradle 8.5, e.g. Project > Properties: Override workspace settings > Specific Gradle version
- Edit your
eclipse.ini
and start Eclipse with Java 17 (instead of Java 21)- Add this property to the
gradle.properties
in your project root:org.gradle.java.home=<path to Java 17>
(see Gradle Properties)
Thanks for the reply, but I'm not sure that it helps.
Regarding step 1 above: We're unable to upgrade existing user/customer branches to gradle 8.5, and our developers need to be able to work on both the main branch (j21, gradle 8.5) and old branches (j21, gradle 7.3) in parallel . Does this mean that our users will have to have two separate eclipse installs as we are unable to upgrade the gradle version for old branches? We've never had to resort to that for any previous versions. Maybe I'm doing something wrong, but I run into a wall no matter what I do as soon as I want to build both branches with the same eclipse.
For step 2, I already have java 17 in eclipse.ini, which works for the j21-branches since they specify the JVM in the project settings.
For step 3, I suppose that's the same problem as for step 1, we cannot do a blanket upgrade of all branches.
from buildship.
Related Issues (20)
- Compilation errors when importing a Gradle project that uses Java modules HOT 2
- JUnit test fails because wrong platform is used HOT 3
- NoSuchMethodError when running a JUnit 5.9.3 test in Eclipse 2023-09 (4.29) HOT 2
- Project Module Dependencies Are not Correctly Used HOT 6
- CI builds testing old Eclipse versions fail silently
- UI Freeze for several minutes on Eclipse Startup
- Test classes and resources of dependency are in classpath even with without_test_code=true HOT 7
- Support JDK21/gradle 8.4
- Launch Group that runs gradle task with the post launch action set to wait for termination waits infinitely
- Update site pages incorrect in the user documentation HOT 4
- deadlock during startup HOT 8
- Use preferences to decide if tabs or spaces are used in build script editor
- [Mac] After update on Eclipse version 09.2023 Splash Screen upside down HOT 2
- Kotlin Language server does not work on Windows
- The 3.1.8 release does not exist but a new release is needed for SimRel HOT 1
- Please ship org.gradle.toolingapi source jar in p2 repo
- An internal error occurred during: "Install semantic highlighting". HOT 1
- Importing java-library builds via "Projects from Folder or Archive" does not work correctly
- Marker Property value is too long
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from buildship.