Community
Participate
Working Groups
As an impact of Bug 565417, Eclipse debug is impacted if JRE is used instead of JDK. We need to investigate if we can support it again with JRE.
Wasn't tools.jar & JDK always pre-requisite for debugging Java? There are also other reasons to require JDK for Eclipse: - On Mac's JDK is pre-requisite for Eclipse anyway, independently on the JDT debug. - ct.sym needed to compile against older releases is also inside JDK only. - no sources for JDK libraries are available for debugger in JRE. So what is the goal / target users of this proposal? Allow to debug Java programs by running on JRE (but without possibility to run on Mac and to compile with --release option and may be other side effects like missing sources etc)?
(In reply to Andrey Loskutov from comment #1) > Wasn't tools.jar & JDK always pre-requisite for debugging Java? > > There are also other reasons to require JDK for Eclipse: > - On Mac's JDK is pre-requisite for Eclipse anyway, independently on the JDT > debug. > - ct.sym needed to compile against older releases is also inside JDK only. > - no sources for JDK libraries are available for debugger in JRE. > > So what is the goal / target users of this proposal? > > Allow to debug Java programs by running on JRE (but without possibility to > run on Mac and to compile with --release option and may be other side > effects like missing sources etc)? Not for Mac, but for others Not for debug but for other purposes JDK should not be required. As we saw some people complained about getting error while navigating through Preferences->Java->Installed JREs Why these packages were added to jdt.debug plugin? As JDK via tools.jar had these packages before also.
How can one get JRE for Java 11+? It's a true question as I thought JRE is gone.
(In reply to Alexander Kurtakov from comment #3) > How can one get JRE for Java 11+? It's a true question as I thought JRE is > gone. I guess on Red Hat that would be equivalent to *not* installing java-11-openjdk-devel rpm, as seen in bug 567066 comment 9. Of course there is nothing similar on Mac/Windows, and I see no possibility to download JRE for Windows /Mac from Oracle at https://www.oracle.com/java/technologies/javase/jdk11-archive-downloads.html.
(In reply to Andrey Loskutov from comment #4) > (In reply to Alexander Kurtakov from comment #3) > > How can one get JRE for Java 11+? It's a true question as I thought JRE is > > gone. > > I guess on Red Hat that would be equivalent to *not* installing > java-11-openjdk-devel rpm, as seen in bug 567066 comment 9. Of course there > is nothing similar on Mac/Windows, and I see no possibility to download JRE > for Windows /Mac from Oracle at > https://www.oracle.com/java/technologies/javase/jdk11-archive-downloads.html. Yeah but the content of this rpm doesn't contain any *.jar or *.jmod thus jdi is installed even without the devel rpm.
I see JRE available for Java 11 for Windows at https://developers.redhat.com/products/openjdk/download
This bug hasn't had any activity in quite some time. Maybe the problem got resolved, was a duplicate of something else, or became less pressing for some reason - or maybe it's still relevant but just hasn't been looked at yet. If you have further information on the current state of the bug, please add it. The information can be, for example, that the problem still occurs, that you still want the feature, that more information is needed, or that the bug is (for whatever reason) no longer relevant. -- The automated Eclipse Genie.