Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

2024-03 fail to start #1250

Closed
jarsudsco opened this issue Mar 14, 2024 · 10 comments
Closed

2024-03 fail to start #1250

jarsudsco opened this issue Mar 14, 2024 · 10 comments
Labels
Windows Happens on Windows OS

Comments

@jarsudsco
Copy link

jarsudsco commented Mar 14, 2024

Apologies if this isn't the right place but I've been going round in circles for over an hour. My Eclipse updated to 2024-03 earlier and now won't start. I get the 2024-03 splash screen then "an error has occurred". I'll attach a consolelog. Any help would be much appreciated.
consolelog.txt

@akurtakov akurtakov added the Windows Happens on Windows OS label Mar 14, 2024
@akurtakov
Copy link
Member

I see many "Unable to resolve plug-in "io.sloeber.application"." . Would you please try with fresh download as this one seems to be update ?

@merks
Copy link
Contributor

merks commented Mar 14, 2024

The most serious problem here appears to be this where the source lines of the exception do not correspond to the latest version of SWT's Image class:

image

Definitely creating a new installation when this one is not updating properly is the path of lease resistance.

@merks
Copy link
Contributor

merks commented Mar 14, 2024

Just now I tested downloading and unzipping https://www.eclipse.org/downloads/download.php?file=/technology/epp/downloads/release/2023-12/R/eclipse-committers-2023-12-R-win32-x86_64.zip and then doing a Help -> Check for Updates to update to 2024-03. That worked and restarted without a problem. So there doesn't appear to be a general problem with updates not updating everything properly.

@jarsudsco
Copy link
Author

Thanks for the replies @akurtakov and @merks, I appreciate your time. I'm not having a dig at anyone but I've had to re-install Eclipse more than any other software I have ever used, I truly dread the quarterly updates. There goes my Thursday...

@merks
Copy link
Contributor

merks commented Mar 14, 2024

Note that it was the update of the jre version that caused the problem. I (the JustJ project) provide those as they become available from Adoptium and that update came too late in the release cycle to fix after it was first noticed. If you’d checked for updates even earlier, the problem would still have happened when the jre was updated.

@jarsudsco
Copy link
Author

@merks thanks again, that's a bit above my head, but interesting, in fact I thought Eclipse used the JRE installed on my machine, by me - in fact occasionally, Eclipse stops working when the "wrong" version of the JRE gets updated on my machine and inserts itself into the path above the right one, but I know how to fix that by simply adjusting the path. Call me old fashioned but my attitude to updates is generally, if it's not broke, don't fix it. I'd rather have software that's bullet-proof rather than have a few extra features I've previously lived without. Thanks again :-)

@merks
Copy link
Contributor

merks commented Mar 14, 2024

It really depends on how you installed. If you used the installer, yes you can choose your own JVM. If you downloaded a packaged install, it has an JRE contained in it and that one will update as updates become available. In either case, the eclipse.ini contains two lines like this:

-vm
C:/Program Files/Java/jdk-11.0.13+8/bin

And that might reference a JDK on your machine or might reference a JustJ that was installed into the product; the latter updates automatically, the former might end up broken if the reference JDK is removed/uninstalled from the system.

@jarsudsco
Copy link
Author

Again that's interesting, thanks. Those lines you quoted actually do NOT appear in my brand new eclipse.ini. But when I ran the installer it appeared to pick up the location of the Java that was in my path. If I had known this I might have preferred the bundled version to avoid exactly the situation you describe but there seems to be no Java installed with this Eclipse install. I'll try and remember for next time.

@merks
Copy link
Contributor

merks commented Mar 14, 2024

Ah, I see! Yes, the installer tries to be smart so when you choose the JRE in the installer and it the system default Java version, it avoids writing the -vm property so that you can update the system Java version and your installation will use it. One could have some type of option to "explicitly use this one and set it into my eclipse.ini," but that's awfully technical for the casual use.

The installer does give the option to use a JustJ JRE:

image

Then it would be updated whenever there is a new one. But probably most folks let the choice be the default.

@jarsudsco
Copy link
Author

I seem to be back up and running with most plugins working but only a small number of projects so far as tests. @merks thanks again for your time.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Windows Happens on Windows OS
Projects
None yet
Development

No branches or pull requests

3 participants