This message was deleted.
# general
s
This message was deleted.
v
It's not an error, it's a warning. Before you update to Gradle 8+ you have to fix them or use plugins versions where the problems are fixed. The warning also tells you what is deprecated or how to get more informatino about what is deprecated.
w
Its not telling me who to fix it, nor is it telling me what is deprecated, not that I can see
v
As I said, it tells you in exactly the next line how to display the deprecation findings.
Besides that those are not the reason your build is failing
The error is the reason your build is failing
w
ok. care to elaborate?
v
About what?
w
'facepalm' I know the error is the reason the build is failing...
what Im asking is, how do I fix it?
v
No, you asked how to fix the deprecation warnings, which are not the reason the build is failing
Why that error is happening you probably have to ask the maintainers of ForgeGradle
It tries to resolve a dependency that is searched in a bundled maven repo in the ForgeGradle plugin and it is not found
w
Ok... So again... why is the build failing?
e
the error is there's no tools.jar, and it's not an easy fix since it doesn't exist since Java 9. your plugins need to be updated
w
and how do I fix it so the build doesnt fail?
e
the error literally says there's no tools.jar
w
ty, ephemient.
what plugins do I need to update?
and how do I update them?
e
I have no idea what Minecraft plugins are and you have shared nothing of use
v
No, that's not the reason for the failure, I guess that's just a warning
w
Sorry, I am very new to this
v
I don't know how the message can be more clear and I even explained it already and told you who to ask
e
and Björn read further than me, that error is the fatal one
v
Also he is using Java 8, not Java 9+, just a JRE instead of a JDK
e
yeah I saw that after too
w
But I downloaded and installed the JDK...
v
But you don't use it
w
please keep in mind I am very new, and this is literally the first time trying to run Eclipse
v
And even if you do, it will probably not solve your problem as it is not the cause of the build failure. Maybe it causes other problems, or not we do not know. I know what Minecraft plugins are, but I don't develop them.
please keep in mind I am very new, and this is literally the first time trying to run Eclipse
Then I strongly recommend to stop that experiment and use IntelliJ
Not that that will change any of your problems with the Gradle build
w
I was actually considering looking into Intellij if I couldnt get this to work
v
But it will save you a lot of time and headaches
w
ok. So now I know that the JDK isnt installing properly, or being used properly...
So, what is causing the build failure?
you keep repeating "thats not the build failure" but Im not understanding what is?
v
I already explained twice, textual and with annotated screenshot. And even told you where to ask for help. What else should I do? o_O
w
yes, but then you said that even if I fixed that issue, it still wouldnt work because that wasnt the reason for the build failure?
v
No, I said that even if you fixed the JRE vs. JDK issues it wouldn't help as ephemient suggested that this is your problem
What I said your problem is, still stands
w
I ran with all the --stacktrace, --scan, --debug... it just kept saying the same thing
v
Yes, so?
w
Im sorry if I am making you angry... Im just trying to wrap my head around this
v
I'm not angry, just maybe getting a little annoyed that you don't read the help you are given
w
ok, so let me try to ask a different question.
yes, I see that part.
v
So what is unclear still?
w
basically what my next step would be to get this to work
v
I already told you
Multiple times
Ask the maintainers of ForgeGradle what the problem is. It is their plugin that is misbehaving or that you are not using properly.
We simply don't know, as noone (at least in this discussion) is using that plugin or has any significant experience with that plugin.
w
so I get the Java 9 JDK?
and ok, I will try to find out how to do that
v
so I get the Java 9 JDK?
I have no idea whether that makes it any better. If that plugin is needing
tools.jar
, and 9+ Java will not help, as
tools.jar
is not existing there anymore. Whether that plugin supports newer Java or not you have to ask the maintainers of ForgeGradle.
w
ah, ok. Thank you. That was the part I was missing from the conversation
v
You are using Java 8 JRE, not JDK to run Gradle so you get the big fat stacktrace that could lead to problems later, but it is not the reason why right now the build is failing
w
Sorry, I was missing the part about the tools.jar
v
And all the
tools.jar
and JRE / JDK topic is irrelevant as stated multpile times for your current reason the build is failing, as it is not the reason for the failing build
e
yeah trying to build Java with JRE 8 is definitely going to be a problem, which you'll run into after you fix the dependency
but that's something specific to whatever you're using and not something that can be answered in general
w
I wasnt understanding what "dependency in a bundled maven repo" meant
I wasnt intending to purposely make you guys annoyed
v
is definitely going to be a problem
Not necessarily in general. Heavily depends on what the build is doing
I wasnt understanding what "dependency in a bundled maven repo" meant
You don't need to undertand that part. You just need to understand that you are asking the wrong people. And finally take the advice given 5 times or so, to ask the maintainers of ForgeGradle.
w
I said I will, thank you...
👌 1