Hi Svata: After NB failed I did try the command line. You're going to get a kick out of this! I store all my dates as a long in the database and I wanted to know what one was so I copied it and pasted into JShell:
chuck@localhost:~> jshell | Welcome to JShell -- Version 9.0.1 | For an introduction type: /help intro jshell> import java.sql.*; jshell> System.out.println(new java.sql.Date(1415980523459).toString()); | Error: | integer number too large: 1415980523459 | System.out.println(new java.sql.Date(1415980523459).toString()); | ^ jshell> I think it's been a LONG time since we could create a date with an integer!! Will try your nbm soon. Thanks. On Fri, Jan 19, 2018 at 6:19 AM, Svata Dedic <[email protected]> wrote: > Hi, > > thanks a lot for the reminder. I've updated https://issues.apache.org/jira > /browse/NETBEANS-133 with a convenience NBM for testing. Make sure that > jshell JDK tool works on your setup; just launch jshell from commandline > and execute e.g. System.err.println("Hello"); which should launch the user > code VM. > > -Svata > > Dne 18.1.2018 v 05:38 Chuck Davis napsal(a): > > Using binary build as referenced.. >> >> I wanted to use JShell so tried to open it and received the following: >> >> >> Could not initialize JShell: Launching JShell execution engine threw: >> Failed remote launch: java.util.concurrent.TimeoutException @ >> com.sun.jdi.CommandLineLaunch (defaults: home=/usr/java/jdk-9.0.1, >> options=, main=, suspend=true, quote=", vmexec=java) -- >> {home=home=/usr/java/latest, options=options=-classpath >> /sata2/Downloads/NetbeansRC2/netbeans/java/modules/ext/nb-mo >> d-jshell-probe.jar:, >> main=main=org.netbeans.lib.jshell.agent.AgentWorker 44793, >> suspend=suspend=true, quote=quote=", vmexec=vmexec=java} >> | caused by: Failed remote launch: java.util.concurrent.TimeoutEx >> ception >> @ com.sun.jdi.CommandLineLaunch (defaults: home=/usr/java/jdk-9.0.1, >> options=, main=, suspend=true, quote=", vmexec=java) -- >> {home=home=/usr/java/latest, options=options=-classpath >> /sata2/Downloads/NetbeansRC2/netbeans/java/modules/ext/nb-mo >> d-jshell-probe.jar:, >> main=main=org.netbeans.lib.jshell.agent.AgentWorker 44793, >> suspend=suspend=true, quote=quote=", vmexec=vmexec=java} >> | caused by: null >> >> Running on Linux with Oracle jdk9. I see similar reported previously >> related to Mac @ NETBEANS-133. My host is defined as follows: >> >> 127.0.0.1 localhost >> >> # special IPv6 addresses >> ::1 localhost ipv6-localhost ipv6-loopback >> >> Does anybody recognize what I've screwed up? Does this need to be >> reported >> again? >> >> Thanks for any pointers. >> >> > > --------------------------------------------------------------------- > 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 > > > >
