Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Serial library can not be used on a Windows 64bit with Python #227

tikonen opened this issue May 1, 2018 · 1 comment


Copy link

@tikonen tikonen commented May 1, 2018

It looks like processing is using incorrect dll search path on a 64bit architecture.

Following code fails.


from java.lang import System
System.loadLibrary("jSSC-2.8") #the native library we need

def setup():
    print Serial.list()

with an error java.lang.UnsatisfiedLinkError: C:\Program Files (x86)\processing-3.3.7\modes\java\libraries\serial\library\windows32\jSSC-2.8.dll: Can't load IA 32-bit .dll on a AMD 64-bit platform
	at java.lang.ClassLoader$NativeLibrary.load(Native Method)
	at java.lang.ClassLoader.loadLibrary0(
	at java.lang.ClassLoader.loadLibrary(

However if I delete the 32-bit DLL the code works.
C:\Program Files (x86)\processing-3.3.7\modes\java\libraries\serial\library\windows32\jSSC-2.8.dll

Output is as expected
array(java.lang.String, [u'COM1', u'COM8'])


This comment has been minimized.

Copy link

@kschoenborn kschoenborn commented Aug 7, 2018

Hi tikonen,
Confirmed. I had the same issue on a Win10 64bit Laptop. Deleting windows32\jSSC-2.8.dll works perfectly. Thanks.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
None yet
2 participants
You can’t perform that action at this time.