Uploaded image for project: 'NetBeans'
  1. NetBeans
  2. NETBEANS-2531

Could not initialize JShell

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • 11.0, 12.0
    • None
    • java - JShell
    • None
    • macOS 10.14.4
      openjdk version "12" 2019-03-19
      OpenJDK Runtime Environment (build 12+33)
      OpenJDK 64-Bit Server VM (build 12+33, mixed mode, sharing)

    Description

      When I start JShell the following is written inside its window:

      |  Could not initialize JShell: Launching JShell execution engine threw: Failed remote launch: java.util.concurrent.ExecutionException: com.sun.jdi.connect.VMStartException: VM initialization failed for: /Library/Java/JavaVirtualMachines/jdk-12.jdk/Contents/Home/bin/java -classpath /Applications/NetBeans/NetBeans 11.app/Contents/Resources/NetBeans/java/modules/ext/nb-mod-jshell-probe.jar: -Xdebug -Xrunjdwp:transport=dt_socket,address=CI0011766:58368,suspend=y org.netbeans.lib.jshell.agent.AgentWorker 58367 @ com.sun.jdi.CommandLineLaunch (defaults: home=/Library/Java/JavaVirtualMachines/jdk-12.jdk/Contents/Home, options=, main=, suspend=true, quote=", vmexec=java) -- {home=home=/Library/Java/JavaVirtualMachines/jdk-12.jdk/Contents/Home, options=options=-classpath "/Applications/NetBeans/NetBeans 11.app/Contents/Resources/NetBeans/java/modules/ext/nb-mod-jshell-probe.jar:", main=main=org.netbeans.lib.jshell.agent.AgentWorker 58367, suspend=suspend=true, quote=quote=", vmexec=vmexec=java}
      |  	caused by: Failed remote launch: java.util.concurrent.ExecutionException: com.sun.jdi.connect.VMStartException: VM initialization failed for: /Library/Java/JavaVirtualMachines/jdk-12.jdk/Contents/Home/bin/java -classpath /Applications/NetBeans/NetBeans 11.app/Contents/Resources/NetBeans/java/modules/ext/nb-mod-jshell-probe.jar: -Xdebug -Xrunjdwp:transport=dt_socket,address=CI0011766:58368,suspend=y org.netbeans.lib.jshell.agent.AgentWorker 58367 @ com.sun.jdi.CommandLineLaunch (defaults: home=/Library/Java/JavaVirtualMachines/jdk-12.jdk/Contents/Home, options=, main=, suspend=true, quote=", vmexec=java) -- {home=home=/Library/Java/JavaVirtualMachines/jdk-12.jdk/Contents/Home, options=options=-classpath "/Applications/NetBeans/NetBeans 11.app/Contents/Resources/NetBeans/java/modules/ext/nb-mod-jshell-probe.jar:", main=main=org.netbeans.lib.jshell.agent.AgentWorker 58367, suspend=suspend=true, quote=quote=", vmexec=vmexec=java}
      |  	caused by: com.sun.jdi.connect.VMStartException: VM initialization failed for: /Library/Java/JavaVirtualMachines/jdk-12.jdk/Contents/Home/bin/java -classpath /Applications/NetBeans/NetBeans 11.app/Contents/Resources/NetBeans/java/modules/ext/nb-mod-jshell-probe.jar: -Xdebug -Xrunjdwp:transport=dt_socket,address=CI0011766:58368,suspend=y org.netbeans.lib.jshell.agent.AgentWorker 58367
      |  	caused by: VM initialization failed for: /Library/Java/JavaVirtualMachines/jdk-12.jdk/Contents/Home/bin/java -classpath /Applications/NetBeans/NetBeans 11.app/Contents/Resources/NetBeans/java/modules/ext/nb-mod-jshell-probe.jar: -Xdebug -Xrunjdwp:transport=dt_socket,address=CI0011766:58368,suspend=y org.netbeans.lib.jshell.agent.AgentWorker 58367
      
      
      -> 
      

      Attachments

        Activity

          People

            Unassigned Unassigned
            claudio.rosati Claudio Rosati
            Votes:
            2 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated: