After building, the sub-directories under 'linux-x86_64-server-release' are shown as below.
*bootcycle-spec.gmk build.log.old configure.log hotspot Makefile supportbuildjdk-spec.gmk buildtools configure.log.old images make-supportbuild.log compare.sh configure-support jdk spec.gmk* What you are missing is the folder `images`. Could you give the brief steps on how you build the jdk? Did you use `make images` or `make all`? On Sat, Apr 24, 2021 at 10:19 PM Manavjeet Singh <manavjeet18...@iiitd.ac.in> wrote: > Moved this thread to build-dev@openjdk.java.net from > hotspot-gc-...@openjdk.java.net. > > > On Sat, Apr 24, 2021 at 7:44 PM Guoxiong Li <lgxbs...@gmail.com> wrote: > >> Hi Manavjeet, >> >> It seems like an issue about building. Could you move this thread to >> build-dev@openjdk.java.net ? >> We can continue the discussion there. >> >> ---- >> Best Regards, >> Guoxiong. >> >> On Sat, Apr 24, 2021 at 9:28 PM Manavjeet Singh < >> manavjeet18...@iiitd.ac.in> wrote: >> >>> Hi Guoxiong, >>> There isn't any images folder under 'linux-x86_64-server-release'. I >>> have only the following files(not bold ones are the folders). >>> bootcycle-spec.gmk build.log.old configure.log hotspot >>> Makefile support >>> buildjdk-spec.gmk buildtools configure.log.old jdk >>> make-support >>> build.log compare.sh configure-support jdk.code-workspace >>> spec.gmk >>> >>> And the following filed under 'linux-x86_64-server-release/jdk/' >>> bin include man _optimize_image_exec.cmdline >>> _optimize_image_exec.marker >>> conf lib modules _optimize_image_exec.log release >>> >>> >>> >>> On Sat, Apr 24, 2021 at 6:40 PM Guoxiong Li <lgxbs...@gmail.com> wrote: >>> >>>> Hi Manavjeet, >>>> >>>> I haven't used eclipse for a long time so my idea may be wrong. >>>> According to your description, I think you should use >>>> the path `jdk14/build/linux-x86_64-server-release*/images/jdk*` >>>> instead. >>>> >>>> --- >>>> Best Regards, >>>> Guoxiong. >>>> >>>> On Sat, Apr 24, 2021 at 8:59 PM Manavjeet Singh < >>>> manavjeet18...@iiitd.ac.in> wrote: >>>> >>>>> Hi! >>>>> I compiled OpenJDK-14 on my machine and it is working fine when used >>>>> from >>>>> the command line. I want to build a program using it but when trying >>>>> to add >>>>> it to Eclipse(v4.18) through Window->Preferences->Installed >>>>> JREs->Add->StandardVM and giving the path >>>>> jdk14/build/linux-x86_64-server-release/jdk/. >>>>> But it is showing the error: "Target is not a JDK root. System library >>>>> not >>>>> found". >>>>> Have I made some mistake while compiling the jdk? Any help would be >>>>> appreciated. >>>>> Thanks >>>>> >>>>