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
I am using the Language Server for Java by Netbeans in Visual Studio Code to develop Java projects alongside using the Netbeans IDE.
Currently I can only see one option for configuring, which JDK the Netbeans extension will use to compile all projects.
When developing with Netbeans IDE we have the property <netbeans.hint.jdkPlatform> within each projects nb-configuration.xml file to define which JDK should be used to compile each project.
These platforms are then of course defined within the Netbeans IDE itself.
Is there any way to add these definitions and thus support for compiling with different JDKs for different projects in the Netbeans extension for Visual Studio Code as well?
I can see that the Netbeans extension does show under problems: No such Java Platform: 17_Temurin so it seems to read the property from the nb-configuration.xml.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
-
I am using the Language Server for Java by Netbeans in Visual Studio Code to develop Java projects alongside using the Netbeans IDE.
Currently I can only see one option for configuring, which JDK the Netbeans extension will use to compile all projects.
When developing with Netbeans IDE we have the property
<netbeans.hint.jdkPlatform>
within each projectsnb-configuration.xml
file to define which JDK should be used to compile each project.These platforms are then of course defined within the Netbeans IDE itself.
Is there any way to add these definitions and thus support for compiling with different JDKs for different projects in the Netbeans extension for Visual Studio Code as well?
I can see that the Netbeans extension does show under problems: No such Java Platform: 17_Temurin so it seems to read the property from the
nb-configuration.xml
.Beta Was this translation helpful? Give feedback.
All reactions