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."


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.


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

  • Attachment: jdk10.png
    (Size: 16.59KB, Downloaded 661 times)
  • Attachment: jre10.png
    (Size: 18.90KB, Downloaded 658 times)
  • Attachment: jdk9.png
    (Size: 18.69KB, Downloaded 658 times)
  • Attachment: jdk8.png
    (Size: 22.03KB, Downloaded 658 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: 75
Registered: February 2010
Location: Bangalore, India
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 message
Stephan Herrmann is currently offline Stephan HerrmannFriend
Messages: 1627
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?
Previous Topic:Eclipse Color Theme Groovy Editor not working
Next Topic:Groovy / Modules / Transactions Question
Goto Forum:

Current Time: Thu Sep 20 00:35:57 GMT 2018

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

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

Back to the top