This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.
GraalVM 0.20 comes with new layout - including co-bundle with JDK8: http://www.oracle.com/technetwork/oracle-labs/program-languages/downloads/index.html It is desirable to make sure we can start NetBeans on top of GraalVM+JDK8 co-bundle and use it to develop & debug node.js There were few problems with the new layout: #1 - NetBeans didn't start - fixed thanks to symlink to tool.jar in there #2 - node.js wasn't recognized - fixed by Tomáš Myšík in http://hg.netbeans.org/releases/rev/bbbb96b54bb9 #3 - invoking bin/node requires JAVA_HOME set - will be fixed in version 0.21 - meanwhile start NetBeans with JAVA_HOME pointing to root of the co-bundle #4 - debugging with Truffle connector doesn't work When I install "Truffle Debug Support" and try to debug a node.js project, I get: java.io.IOException: Invalid J2SE platform in /home/devel/bin/graalvm-0.20@ecfa9adc:a27e8f9 at org.netbeans.modules.java.j2seplatform.platformdefinition.J2SEPlatformFactory.createImpl(J2SEPlatformFactory.java:93) at org.netbeans.modules.java.j2seplatform.platformdefinition.J2SEPlatformFactory.create(J2SEPlatformFactory.java:83) at org.netbeans.modules.java.j2seplatform.api.J2SEPlatformCreator.createJ2SEPlatform(J2SEPlatformCreator.java:69) [catch] at org.netbeans.modules.debugger.jpda.truffle.node.JPDAStart.run(JPDAStart.java:162) at org.openide.util.RequestProcessor$Task.run(RequestProcessor.java:1443) at org.netbeans.modules.openide.util.GlobalLookup.execute(GlobalLookup.java:68) at org.openide.util.lookup.Lookups.executeWith(Lookups.java:303) at org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:2058) Maybe that could be fixed by few symlinks or the JPDAStart modified to point to the embedded jdk folder.
Thanks for your insight into proper fix of the J2SEPlatform for GraalVM 0.20. Btw. isn't it a time to put Truffle Debugging Support into standard dev build? We care about the feature strongly, right?
I will fix the J2SEPlatfromImpl to support GraalVM 0.20
Thanks Tomáši, do you have a bug or changeset reference with the fix?