Launching from Eclipse with the run button...console output: 12/9/14 2:41:32.000 PM kernel[0]: AppleUSBCDCACMData: Version number - 4.2.2b5, Input buffers 8, Output buffers 16
12/9/14 2:41:32.000 PM kernel[0]: AppleUSBCDC: Version number - 4.2.2b5 12/9/14 2:42:00.000 PM kernel[0]: Sandbox: java(5873) System Policy: deny file-write-unlink /Users/VicMini/Library/Saved Application State/net.java.openjdk.cmd.savedState/restorecount.plist The swing button shows and clicks off an on, so the main thread seems to be running. I quit with the red x button. Where can I find the source code for IOIOSwingApp? On Tuesday, December 9, 2014 2:17:16 PM UTC-8, Ytai wrote: > > It seems to me like the process is still running. How are you launching > from Eclipse? What is the console output you're seeing? How are you > quitting the program? > > On Mon, Dec 8, 2014 at 10:50 AM, Vic Wintriss <[email protected] > <javascript:>> wrote: > >> Based on your comment, I find that…after restarting the Mac…launching >> HelloIOIOSwing.jar works fine. After running HelloIOIOSwing from Eclipse >> which has no compile errors but does not work…launching HelloIOIOSwing.jar >> does not work anymore until I reboot the Mac. Does the HelloIOIOSwing >> source code shut things down properly upon completion? >> >> On Sunday, December 7, 2014 8:10:10 PM UTC-8, Ytai wrote: >>> >>> Seems like you still have something running that's using the port. >>> >>> On Sun, Dec 7, 2014 at 3:15 PM, Vic Wintriss <[email protected]> wrote: >>> >>>> Worked great the first time I tried, but now I get these errors when >>>> running HelloIOIOswing...no compile errors: >>>> >>>> [E/IOIOConnectionRegistry] Exception caught while attempting to >>>> initialize connection factory >>>> >>>> java.lang.NoClassDefFoundError: purejavacomm/PortInUseException >>>> >>>> at java.lang.Class.forName0(Native Method) >>>> >>>> at java.lang.Class.forName(Class.java:260) >>>> >>>> at ioio.lib.util.IOIOConnectionRegistry.addBootstrap(IOIOConnectionReg >>>> istry.java:111) >>>> >>>> at ioio.lib.util.IOIOConnectionRegistry.addBootstraps(IOIOConnectionRe >>>> gistry.java:97) >>>> >>>> at ioio.lib.util.pc.IOIOPcApplicationHelper.<clinit>( >>>> IOIOPcApplicationHelper.java:59) >>>> >>>> at ioio.lib.util.pc.IOIOSwingApp.<init>(IOIOSwingApp.java:72) >>>> >>>> at HelloIOIOSwing.<init>(HelloIOIOSwing.java:20) >>>> >>>> at HelloIOIOSwing.main(HelloIOIOSwing.java:26) >>>> >>>> Caused by: java.lang.ClassNotFoundException: purejavacomm. >>>> PortInUseException >>>> >>>> at java.net.URLClassLoader$1.run(URLClassLoader.java:372) >>>> >>>> at java.net.URLClassLoader$1.run(URLClassLoader.java:361) >>>> >>>> at java.security.AccessController.doPrivileged(Native Method) >>>> >>>> at java.net.URLClassLoader.findClass(URLClassLoader.java:360) >>>> >>>> at java.lang.ClassLoader.loadClass(ClassLoader.java:424) >>>> >>>> at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:308) >>>> >>>> at java.lang.ClassLoader.loadClass(ClassLoader.java:357) >>>> >>>> ... 8 more >>>> >>>> The ioio board seems to be there; >>>> >>>> VicMacMini-2:~ VicMini$ ls /dev/tty.usb* >>>> >>>> /dev/tty.usbmodem1d13131 >>>> >>>> Ideas? >>>> >>>> On Thursday, December 4, 2014 10:50:15 AM UTC-8, Vic Wintriss wrote: >>>>> >>>>> I would like to set up a simple demo at our school where we teach kids >>>>> Java starting in the 5th grade...like blinking a led. Since we already >>>>> use >>>>> the ioio board in our robots for the International Autonomous Robot >>>>> Competition (iARoC), it would be nice to continue using the ioio boards >>>>> instead of having to go to an Arduino, etc. Can I just write the >>>>> programs >>>>> in Java in a Mac and run them in the Mac, using the ioio board to connect >>>>> to the outside world...no Androids? >>>>> >>>> -- >>>> You received this message because you are subscribed to the Google >>>> Groups "ioio-users" group. >>>> To unsubscribe from this group and stop receiving emails from it, send >>>> an email to [email protected]. >>>> To post to this group, send email to [email protected]. >>>> Visit this group at http://groups.google.com/group/ioio-users. >>>> For more options, visit https://groups.google.com/d/optout. >>>> >>> >>> -- >> You received this message because you are subscribed to the Google Groups >> "ioio-users" group. >> To unsubscribe from this group and stop receiving emails from it, send an >> email to [email protected] <javascript:>. >> To post to this group, send email to [email protected] >> <javascript:>. >> Visit this group at http://groups.google.com/group/ioio-users. >> For more options, visit https://groups.google.com/d/optout. >> > > -- You received this message because you are subscribed to the Google Groups "ioio-users" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/ioio-users. For more options, visit https://groups.google.com/d/optout.
