matthiasblaesing commented on issue #6692:
URL: https://github.com/apache/netbeans/issues/6692#issuecomment-1859061601

   I saw issues starting jshell because the module path was not properyly 
setup. Please try to run the invocation standalone:
   
   ```
   C:\Program Files\Java\jdk-17.0.1\bin\java -classpath C:\Program 
Files\NetBeans-19\netbeans\java\modules\ext\nb-mod-jshell-probe.jar;D:\javaj\mavenproject1\target\classes
 --add-modules jdk.jshell,mavenproject1 --add-reads jdk.jshell=ALL-UNNAMED 
--add-exports mavenproject1/com.mycompany.mavenproject1=ALL-UNNAMED -Xdebug 
-Xrunjdwp:transport=dt_shmem,address=javadebug14027,suspend=y
   ```
   
   The command was extracted from the output you provided, so you can adjust it 
if the project changed in between. I expect, that this will fail and that the 
error message will be more helpful.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists

Reply via email to