oracle / javavscode

Java platform support for Visual Studio Code for full featured Java development (edit-compile-debug & test cycle)
Apache License 2.0
231 stars 31 forks source link

java.lang.ClassNotFoundException: com.sun.source.tree.StringTemplateTree #193

Closed anthonyvdotbe closed 2 months ago

anthonyvdotbe commented 4 months ago

The extension is unusable due to exceptions caused by

java.lang.ClassNotFoundException: com.sun.source.tree.StringTemplateTree

with jdk.advanced.disable.nbjavac set to true and jdk.jdkhome pointing to a JDK 24 build. Probably because NetBeans hasn't removed its String Templates support yet, but the JDK has.

lahodaj commented 3 months ago

I believe this will be resolved when we upgrade to NetBeans 23 as the backend.

Achal1607 commented 2 months ago

Merged in 23.0.0