You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We need to make it possible to use a JDK for project compilation/debugging, that is different from the JDK version used to actually run jdt.ls. So you could compile a Java 12 project but running jdt.ls with JDK 8, or debugging a project with JDK 8, when jdt.ls has been started with JDK 12. You'd receive the proper sources matching the execution environment of the project.
One possible approach would be to define JDT execution environments in the server preferences as:
fbricon
changed the title
Adda ability to compile with a different JDK than the one used to run jdt.ls
Add ability to compile with a different JDK than the one used to run jdt.ls
May 14, 2019
We need to make it possible to use a JDK for project compilation/debugging, that is different from the JDK version used to actually run jdt.ls. So you could compile a Java 12 project but running jdt.ls with JDK 8, or debugging a project with JDK 8, when jdt.ls has been started with JDK 12. You'd receive the proper sources matching the execution environment of the project.
One possible approach would be to define JDT execution environments in the server preferences as:
The text was updated successfully, but these errors were encountered: