JRE Oracle Corporation/13 is not supported, advanced source lookup disabled on Eclipse 06-2019 and Java 13

10,851

Solution 1

It seems to me that Eclipse has not yet been updated to include Advanced Source Lookup for JRE 13.

My solution is to uncheck "Use advanced source lookup" (Last item in the Preferences>Java>Debug menu). The red warning message then no longer appears.

Solution 2

The Eclipse 2019.12/4.14 M1 does have Java 13 (and 14) support

Java 13 is available and Eclipse JDT supports Java 13 for 4.14.
The release notably includes the following Java 13 features:

Please note that these are preview language feature and hence enable preview option should be on.
For an informal introduction of the support, please refer to Java 13 Examples wiki.

So try and upgrade, to check if "advanced source lookup" is available during a debug session.

Share:
10,851

Related videos on Youtube

Coder88
Author by

Coder88

My name is Abdullah. I'm not a programmer (or very new to programming). I have only studied "CODE: The Hidden Language of Hardware and Software" so far. Still studying computer science and programming.

Updated on August 14, 2022

Comments

  • Coder88
    Coder88 over 1 year

    I have Windows 10, 64-bit. I have Java version 13, version date: 2019-09-17.

    I have Eclipse Version: 2019-06 (4.12.0).

    I can compile and run codes. But when I try to debug a code I get this error message:

    "JRE Oracle Corporation/13 is not supported, advanced source lookup disabled."

    In this link someone asked a similar question in SO, one of the answers say that you need a plugin, but on Eclipse versions 06-2019 and higher you don't need a plugin.

    My Eclipse version is 06-2019 (4.12.0). Why it doesn't work?

  • Coder88
    Coder88 over 4 years
    I just re-installed my Eclipse to Eclpise Version: 2019-09 R (4.13.0). Installed as described here: download.eclipse.org/eclipse/updates/4.13-P-builds but I get error I can't install. I get this error message: "Eclipse PDE Source Patch with Java 13 support for 2019-09 development stream" is not applicable to the current configuration and will not be installed. "Eclipse PDE Patch with Java 13 support for 2019-09 development stream" is not applicable to the current configuration and will not be installed. How can I solve this?
  • VonC
    VonC over 4 years
  • Coder88
    Coder88 over 4 years
    I have installed Version: 2019-12 (4.14) from the link you gave (eclipse-SDK-4.14M1-win32-x86_64.zip). But I get the same error when trying to debug ("JRE Oracle Corporation/13 is not supported, advanced source lookup disabled"). I tried again after installing the builds in download.eclipse.org/eclipse/updates/4.14milestones as described, restarted Eclipse. But when debugging still get the same error. ("JRE Oracle Corporation/13 is not supported, advanced source lookup disabled"). I still don't get why it won't debug?
  • VonC
    VonC over 4 years
    @Coder88 Strange. just for testing, would that work better with an AdoptJDK 13? (adoptopenjdk.net)