How to specify the JRE used during the debug?
Solution 1:
The change you made in eclipse.ini
is about the JRE that is used to run Eclipse. It is nothing to do with the JRE that is used to run/debug an application.
To configure the JRE for debugging an application , right click the .java
that you want to debug --> Debug As --> Debug Configuration. Then go to the JRE
tab to configure at there. Something like below: