Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » Java Development Tools (JDT) » JDK 10.0.1, Unable to add JRE
JDK 10.0.1, Unable to add JRE [message #1785877] Sat, 21 April 2018 23:39 Go to next message
Azman Kudus is currently offline Azman KudusFriend
Messages: 1
Registered: April 2018
Junior Member
Hi, I was unable to add JRE point to JDK 10.0.1 path. Error " Target is not a JDK root. System library was not found."

index.php/fa/32664/0/

But I managed to add using JRE 10.0.1. But the diff only no source and javadoc attachment which I require to use and study JDK provided objects and functions. Then I need to manually point to the sources and javadoc which available in JDK path.

index.php/fa/32665/0/

I just want the same working behaviour as JDK6-JDK9 which support both JRE and JDK (with auto resolve on sources and javadocs)

index.php/fa/32666/0/
index.php/fa/32667/0/
  • Attachment: jdk10.png
    (Size: 16.59KB, Downloaded 6023 times)
  • Attachment: jre10.png
    (Size: 18.90KB, Downloaded 5741 times)
  • Attachment: jdk9.png
    (Size: 18.69KB, Downloaded 5735 times)
  • Attachment: jdk8.png
    (Size: 22.03KB, Downloaded 5802 times)
Re: JDK 10.0.1, Unable to add JRE [message #1785908 is a reply to message #1785877] Mon, 23 April 2018 04:28 Go to previous messageGo to next message
Sarika Sinha is currently offline Sarika SinhaFriend
Messages: 131
Registered: February 2010
Location: Bangalore, India
Senior Member
Java 9 and beyond, JRE/JDK does not contain jars like rt.jar so you can see only jrt-fs.jar.
If you are pointing to jdk you should be able to see java doc and source attachments.


Sarika Sinha
JDT Programmer
Re: JDK 10.0.1, Unable to add JRE [message #1786048 is a reply to message #1785908] Tue, 24 April 2018 18:23 Go to previous messageGo to next message
Stephan Herrmann is currently offline Stephan HerrmannFriend
Messages: 1853
Registered: July 2009
Senior Member
To me this sounds like a broken JDK 10. @Azman, what exactly did you download / install in app\jdk10? In particular: does it contain lib\jrt-fs.jar? Perhaps some destributor repackaged it with an unexpected directory layout?
Re: JDK 10.0.1, Unable to add JRE [message #1843737 is a reply to message #1785908] Mon, 16 August 2021 10:59 Go to previous message
Rami Daoud is currently offline Rami DaoudFriend
Messages: 1
Registered: August 2021
Junior Member
I have only shortcut to src.zip and the actual zip is missing. how to get it?
Previous Topic:How to disable inline warnings/errors?
Next Topic:Error in .metadata\.log
Goto Forum:
  


Current Time: Fri Apr 26 14:48:49 GMT 2024

Powered by FUDForum. Page generated in 0.03820 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top