linux Processing / jssc.jar / kernel FTDI driver
Hi guys, any help would be appreciated. I've already followed Omphalosskeptic's tutorial and I'm running into this when trying to launch the GUI in Ubuntu 14.04 terminal...
dan@dan-HP-Pavilion-g6-Notebook-PC:~$ cd ~/application.linux64 && sudo bash OpenBCI_GUI
[sudo] password for dan:
Exception in thread "main" java.lang.NoClassDefFoundError: jssc/SerialPortEventListener
at ...
Caused by: java.lang.ClassNotFoundException: jssc.SerialPortEventListener
at ...
... 18 more
dan@dan-HP-Pavilion-g6-Notebook-PC:~/application.linux64$ cd /documents
I'm sure it's probably something stupid...
Comments
Thanks for trying out my tutorial, and I’m sorry you ran into this issue. It looks to me like that annoying jSSC dependency is acting up again. I noticed that OpenBCI has removed the prebuilt applications from the downloads page (possibly because of the issues, like the out of date jSSC library, that were turning up). What version of the processing application do you have, and where did you get it from? I’m assuming you replaced jssc.jar in the lib folder with the updated version I linked to?
Also, it’s probably not something stupid you’re doing, but something unclear in my tutorial (or a change with the application) that’s causing the issue. In any case, I’ll do my best to help troubleshoot the problem.
Cheers,
Omphalosskeptic
I've uploaded a zipped version of the prebuilt app I've been running on my machine, with the updated jSSC library. I've tested it on another Ubuntu machine, too, and it ran and talked to my OpenBCI without any trouble. This seems like it should be the quickest route to a working version (since I only got the prepacked app running, which is no longer available for download on OpenBCI's site, not the processing sketch that's still up there).
It should work if you download the .zip I uploaded of my working version (link expires in two days), then unzip, enter the directory, and run the OpenBCI app with this command: Let me know if this works!
Now it won’t self destruct when people still need it
I merged your question into this previous Linux thread. See some of the previous suggestions. Also checkout this related Linux thread,
http://openbci.com/forum/index.php?p=/discussion/224/openbci-gui-linux64-needs-jssc-jar-update
William
First of all, I can't install the drivers needed to connect with the USB according those guides:
https://github.com/OpenBCI/OpenBCI_Processing
http://www.autodidacts.io/getting-started-with-openbci-a-tutorial-on-testing-troubleshooting-and-recording-ekg/#gettingtheopenbcisoftwareworkingonlinux
The error is related with some files that are created after compile the kernel, that can be obtained from a gzip file in the linux source root, but I am working in a University computer and, although I have administrator privilegies, I don't want to risk to touch anything related with the kernel. Without the drivers, the software recognize the USB (ttyUSB0) but it crash after execute the live mode.
I am running the Processing aplication from the source code of the git.
I merged your question into this existing thread, so linux users can share expertise. Did you try using the zip that @brain created? My impression is that the correct FTDI driver is already installed in Ubuntu. So if you have installed a driver file from the FTDI site, you may need to roll that back. The dates shown on the FTDI site are from 2009 for Linux, so that looks ancient.
You also mention compiling the kernel, can you just use the stock Ubuntu? I think @brain may have some comments as well.
Thanks, William
I mentioned compiling the kernel because of this thread:
But I think the linux64.zip will be enough to run it
Thanks