Bug 568643 - 'To use the “java” command-line tool you need to install a JDK.' popup when opening plugin.xml
Summary: 'To use the “java” command-line tool you need to install a JDK.' popup when o...
Status: NEW
Alias: None
Product: Platform
Classification: Eclipse Project
Component: IDE (show other bugs)
Version: 2.1.2   Edit
Hardware: PC Mac OS X
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Platform-UI-Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-11-09 08:25 EST by Fred Bricon CLA
Modified: 2020-11-10 03:44 EST (History)
1 user (show)

See Also:


Attachments
'To use the “java” command-line tool you need to install a JDK.' popup on macOS (170.96 KB, image/png)
2020-11-09 08:25 EST, Fred Bricon CLA
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Fred Bricon CLA 2020-11-09 08:25:26 EST
Created attachment 284711 [details]
'To use the “java” command-line tool you need to install a JDK.' popup on macOS

I installed java-2020-12-M2 on a brand new Mac (macOS 10.15.7). Only JDKs installed so far were done via sdkman, that Eclipse happily ignores.

So Eclipse is started with the embedded JRE: 
-vm
/Users/fbricon/Dev/eclipses/java-2020-12-M2.app/Contents/Eclipse/plugins/org.eclipse.justj.openjdk.hotspot.jre.full.macosx.x86_64_14.0.2.v20200815-0932/jre/lib/libjli.dylib 

When opening https://github.com/eclipse-m2e/m2e-core/blob/master/org.eclipse.m2e.core/plugin.xml this popped up: 'To use the “java” command-line tool you need to install a JDK.' 

This is eerily similar to Bug #568634