Sure,
JNA - 4.1.0
PJC - 0.0.21

On Tuesday, September 9, 2014 7:43:13 PM UTC+3, Ytai wrote:
>
> Can you please mention which versions of JNA and PJC you used to make 
> things work?
>
> On Tue, Aug 26, 2014 at 8:04 AM, doron atuar <[email protected] 
> <javascript:>> wrote:
>
>> Thanks that seems to have solved it! :)
>>
>> I imported IOIOBridge project into eclipse
>> Downloaded the latest JNA and purejavacomm jars
>> referenced those jars from the IOIOBridge project
>>
>> Didn't find the reason for the problem though
>>
>> On Tuesday, August 26, 2014 5:33:49 AM UTC+3, Ytai wrote:
>>>
>>> Have you included the latest JNA in the project?
>>> On Aug 25, 2014 6:02 AM, "doron atuar" <[email protected]> wrote:
>>>
>>>> ok, i upgraded purejavacomm jar.
>>>> now i have an IOIOBridge project on eclipse linked to the updated jar.
>>>> i exported a runnable jar called ioiobridge.jar that contains the 
>>>> purejavacomm.jar.
>>>>
>>>> the 
>>>> adb forward tcp:4545 tcp:454
>>>> works fine but when i try to do the 
>>>> java -jar ioiobridge.jar COM3
>>>>
>>>> i get a new exception:
>>>> Exception in thread "main" java.lang.NoClassDefFoundError: 
>>>> com/sun/jna/Platform
>>>>  at jtermios.JTermios.<clinit>(JTermios.java:284)
>>>> at purejavacomm.CommPortIdentifier.getPortIdentifier(
>>>> CommPortIdentifier.java:101)
>>>>  at Main.openPort(Main.java:144)
>>>> at Main.runBridge(Main.java:78)
>>>> at Main.main(Main.java:35)
>>>> Caused by: java.lang.ClassNotFoundException: com.sun.jna.Platform
>>>> at java.net.URLClassLoader$1.run(Unknown Source)
>>>> at java.net.URLClassLoader$1.run(Unknown Source)
>>>>  at java.security.AccessController.doPrivileged(Native Method)
>>>> at java.net.URLClassLoader.findClass(Unknown Source)
>>>>  at java.lang.ClassLoader.loadClass(Unknown Source)
>>>> at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)
>>>>  at java.lang.ClassLoader.loadClass(Unknown Source)
>>>> ... 5 more
>>>>
>>>>
>>>>
>>>>
>>>> On Friday, August 22, 2014 12:42:16 AM UTC+3, Ytai wrote:
>>>>>
>>>>> Not sure if it's related, but as I suggested on a different thread, 
>>>>> can you try upgrading the purejavacomm jar that's in your ioiobridge.jar 
>>>>> to 
>>>>> the latest and see if things get better?
>>>>>
>>>>>
>>>>> On Thu, Aug 21, 2014 at 3:15 AM, doron atuar <[email protected]> 
>>>>> wrote:
>>>>>
>>>>>> ok, i tried the IOIOdude app.
>>>>>> same error...
>>>>>> i have no idea what led to this.
>>>>>>
>>>>>> can the problem be solved by reinstalling JVM?
>>>>>> if not, is there a way to install this package?
>>>>>>
>>>>>> Thanks
>>>>>>
>>>>>> On Wednesday, August 20, 2014 6:15:12 AM UTC+3, Ytai wrote:
>>>>>>
>>>>>>> Have you tried running IOIODude or one of the PC example apps?
>>>>>>> Any guesses as for what might have changed since it worked?
>>>>>>> On Aug 19, 2014 5:08 AM, "doron atuar" <[email protected]> wrote:
>>>>>>>
>>>>>>>>  i entered the input manually, that is:
>>>>>>>> adb forward tcp:4545 tcp:4545
>>>>>>>> java -jar ioiobridge.jar COM3
>>>>>>>>
>>>>>>>> the ioio is on COM3
>>>>>>>>
>>>>>>>> On Monday, August 18, 2014 7:10:33 PM UTC+3, Tim Frisch wrote:
>>>>>>>>>
>>>>>>>>> Well the only method I would think you could have affected from 
>>>>>>>>> the cmd line would be the `purejavacomm.CommPortIdentifier.
>>>>>>>>> getPortIdentifier(CommPortIdentifier.java:89)`
>>>>>>>>>
>>>>>>>>> Perhaps you had a typo when entering the port identifier?
>>>>>>>>> What was the input that lead up to this point?
>>>>>>>>>
>>>>>>>>> On Monday, August 18, 2014 7:34:54 AM UTC-5, doron atuar wrote:
>>>>>>>>>>
>>>>>>>>>> Hi,
>>>>>>>>>> i'm having a problem using ioio-bridge.
>>>>>>>>>> It worked for me before but now i get this error message:
>>>>>>>>>> Connecting to IOIO... 
>>>>>>>>>> Exception in thread "main" java.lang.UnsatisfiedLinkError:
>>>>>>>>>>  Can't obtain static newInstance method for class 
>>>>>>>>>> com.sun.jna.Structure
>>>>>>>>>>          at com.sun.jna.Native.initIDs(Native Method)
>>>>>>>>>>         at com.sun.jna.Native.<clinit>(Native.java:135)
>>>>>>>>>>         at com.sun.jna.Structure.<clinit>(Structure.java:131)
>>>>>>>>>>         at jtermios.windows.JTermiosImpl$
>>>>>>>>>> Port.<init>(JTermiosImpl.java:63)
>>>>>>>>>>         at jtermios.windows.JTermiosImpl.
>>>>>>>>>> open(JTermiosImpl.java:261)
>>>>>>>>>>         at jtermios.JTermios.open(JTermios.java:382)
>>>>>>>>>>         at purejavacomm.CommPortIdentifier.getPortIdentifier(
>>>>>>>>>> CommPortIdentifier.
>>>>>>>>>> java:89)
>>>>>>>>>>         at ioio.bridge.Main.openPort(Unknown Source)
>>>>>>>>>>         at ioio.bridge.Main.runBridge(Unknown Source)
>>>>>>>>>>         at ioio.bridge.Main.main(Unknown Source)
>>>>>>>>>>  
>>>>>>>>>> tried to search online with no success...
>>>>>>>>>> I'm on Windows 8.1
>>>>>>>>>>
>>>>>>>>>> Thanks
>>>>>>>>>>
>>>>>>>>>  -- 
>>>>>>>> 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].
>>>>>> 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].
>>>> 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.

Reply via email to