Closed kevinmilner closed 4 months ago
@merks : something for you?
A full stack trace would help.
It might well be the case that Java 22 breaks something that equinox needs to address. Java introducing breaking changes would not be a new thing.
@merks do you know how to enable full stack traces when launching eclipse? All I get when launching is the exception message as pasted without the trace.
It works for me on Windows:
It also works on my old Ubuntu virtual box:
Maybe running with -consoleLog will produce more output that includes a full stack trace. I can't find anything in Equinox or the Platform with a method name "getMainType", so that kind of odd.
If you create a new installation, does that also fail to start?
Adding -consoleLog didn't give any extra information, but doing a clean install did seem to fix things. No clue what happened, but I'll close as I have it working now. Thanks for doing some digging on your end!
I did find that getMainType
is in the JDT project. Maybe that package was corrupted during the update?
First of all, apologies if this is the wrong place to report this issue; I'm happy to resubmit elsewhere. As it's a launching issue, I'm thinking it might be due to equinox, but I really don't understand the eclipse project structure well at all.
I'm running eclipse 2024-03 (4.31.0) on Ubuntu 24.04. I just updated via Oomph, which downloaded a new JRE: 22.0.1. Upon restarting (and all subsequent attempts), I can no longer launch eclipse. I get this error message in a GUI text window:
And I see this if I launch it on a command line:
I can manually launch eclipse by reverting to JRE 22.0.0 (rather than 22.0.1). There are no available updates when I do so.