Error while using self compiled openJDK14 in eclipse
Manavjeet Singh
manavjeet18295 at iiitd.ac.in
Sat Apr 24 14:19:14 UTC 2021
Moved this thread to build-dev at openjdk.java.net from
hotspot-gc-dev at openjdk.java.net.
On Sat, Apr 24, 2021 at 7:44 PM Guoxiong Li <lgxbslgx at gmail.com> wrote:
> Hi Manavjeet,
>
> It seems like an issue about building. Could you move this thread to
> build-dev at openjdk.java.net ?
> We can continue the discussion there.
>
> ----
> Best Regards,
> Guoxiong.
>
> On Sat, Apr 24, 2021 at 9:28 PM Manavjeet Singh <
> manavjeet18295 at 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 <lgxbslgx at 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 <
>>> manavjeet18295 at 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
>>>>
>>>
More information about the build-dev
mailing list