Unable to run Java project [message #1822599] |
Tue, 10 March 2020 08:17  |
Eclipse User |
|
|
|
I downloaded Luna Eclipse for Java - eclipse-java-luna-R-win32-x86_64
When I run eclipse.exe I get a message
Quote:
A Java Runtime Environment (JRE) or Java Development Kit (JDK) must be available in order to run Eclipse.
But I installed JDK 13. (jdk-13.0.2).
How can I resolve the problem?
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Re: Unable to run Java project [message #1822673 is a reply to message #1822670] |
Wed, 11 March 2020 05:22  |
Eclipse User |
|
|
|
Emmanuel Chebbi wrote on Wed, 11 March 2020 08:57Evgeny Erenburg wrote on Wed, 11 March 2020 08:55Thank you. Now I can open an existing project but when I try to build I get this error -
The project cannot be built until build path errors are resolved. Do I need to configure something?
You are likely missing a dependency, the solution depends on what is missing exactly. Could you:
- Check the error displayed in the Problems view to have more details about what is missing,
- Tell us what kind of project it is (Maven, plain Java, etc.),
- Open the project's build path (right-click on the project > Properties > Java Build Path > Order and Export) and check if a resource is marked as missing (with a little red cross)
I don't know how to find the project's kind. But I found this is missing -
Unbound classpath container: 'JRE System Library [jre1.8.0_25]'
Can I download and install the library?
I see. Thank you. It's an old library. I choose the new one jre1.8.0_241 and it works.
[Updated on: Wed, 11 March 2020 05:41] by Moderator
|
|
|
Powered by
FUDForum. Page generated in 0.04639 seconds