# Strange problem with an eclipse project and the Serial library

**URL:** <https://discourse.processing.org/t/strange-problem-with-an-eclipse-project-and-the-serial-library/6982>\
**Category:** Electronics (Arduino, etc.)\
**Created:** [December 29, 2018, 2:12pm UTC](https://discourse.processing.org/t/strange-problem-with-an-eclipse-project-and-the-serial-library/6982 "2018-12-29T14:12:28Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![jaeger](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.processing.org/jaeger/32/2980_2.png) [@jaeger](https://discourse.processing.org/u/jaeger)\
**Post date:** [December 29, 2018, 2:12pm UTC](https://discourse.processing.org/t/strange-problem-with-an-eclipse-project-and-the-serial-library/6982/1 "2018-12-29T14:12:28Z")

</div>

Hi guys, as the title said i have a problem!

I made an eclipse project with processing and the Serial library, on my windows 10 laptop everything works well and i have no problem. i tried to run the same project on my windows 10 PC (another machine) i have this exception when i call the static method Serial.list():

java.lang.UnsatisfiedLinkError: jssc.SerialNativeInterface.getSerialPortNames()[Ljava/lang/String;  
at jssc.SerialNativeInterface.getSerialPortNames(Native Method)  
at jssc.SerialPortList.getWindowsPortNames(SerialPortList.java:309)  
at jssc.SerialPortList.getPortNames(SerialPortList.java:298)  
at jssc.SerialPortList.getPortNames(SerialPortList.java:182)  
at processing.serial.Serial.list(Unknown Source)  
at processing.MariellaSaysMain.setup(MariellaSaysMain.java:39)  
at processing.core.PApplet.handleDraw(PApplet.java:2404)  
at processing.awt.PSurfaceAWT$12.callDraw(PSurfaceAWT.java:1557)  
at processing.core.PSurfaceNone$AnimationThread.run(PSurfaceNone.java:313)

The strange thing is if i run the Serial write example from processing IDE everything works fine and works too if i export the application. The windows are both 64 bit version and i checked if eclipse run the code in 64 bit mode with this line of code: System.out.println(System.getProperty(“sun.arch.data.model”) );

I post here the structure of the libs from eclipse view.

 ![immagine](https://canada1.discourse-cdn.com/flex036/uploads/processingfoundation1/original/2X/b/b080f192d435503c8f1bb91cb7879441f9354a25.png)

For now i discovered this, for any question i’m here.

---

<div class="post-metadata">

**Author:** ![Kevin](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.processing.org/kevin/32/2297_2.png) [@Kevin](https://discourse.processing.org/u/Kevin)\
**Post date:** [December 30, 2018, 12:03am UTC](https://discourse.processing.org/t/strange-problem-with-an-eclipse-project-and-the-serial-library/6982/2 "2018-12-30T00:03:43Z")

</div>

How are you transferring the project from one computer to another?

---

<div class="post-metadata">

**Author:** ![jaeger](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.processing.org/jaeger/32/2980_2.png) [@jaeger](https://discourse.processing.org/u/jaeger)\
**Post date:** [December 31, 2018, 7:59am UTC](https://discourse.processing.org/t/strange-problem-with-an-eclipse-project-and-the-serial-library/6982/3 "2018-12-31T07:59:08Z")

</div>

By a github repository.
