#Eclipse IDE cannot resolve to a type. All values.
37 messages · Page 1 of 1 (latest)
⌛ This post has been reserved for your question.
Hey @scarlet fjord! Please use
/closeor theClose Postbutton above when your problem is solved. Please remember to follow the help guidelines. This post will be automatically closed after 300 minutes of inactivity.
TIP: Narrow down your issue to simple and precise questions to maximize the chance that others will reply in here.
Oh, and all the code was imported from a gitlab repository, and I cannot run any of it because of this error.
Can you check the build path?
Right click on the project and select Build Path>Configure Build path
specifically the Libraries tab - what's in there?
@limber brook This is what's in there.
Did you install a JDK on your computer?
If so, Eclipse doesn't know about it (or it only finds JDKs <17)
I have JDK 21.0.1 installed.
A previous version of Eclipse works without issues, but this is the 2022-12 version and I just started working on it.
Then?
what's shown?
select Installed JREs
ok you have it there
then you can apply and close that
and select that JDK under Alternate JRE
Like this?
All of the errors are gone now.
Thanks for that, now I have the other problem mentioned at the top.
If you are finished with your post, please close it.
If you are not, please ignore this message.
Note that you will not be able to send further messages here after this post have been closed but you will be able to create new posts.
ok so do you have a main class?
Yes I do. Do I launch it from there?