chipKIT® Development Platform

Inspired by Arduino™

problems starting up mpide for linux

Created Mon, 23 May 2011 21:31:36 +0000 by somatt


somatt

Mon, 23 May 2011 21:31:36 +0000

Hello, I have downloaded mpide for linux. When I run mpide it brings up a dialogue box which asks where I want to save my sketches. I choose my mpide/sketches folder and hit ok and then the window dissappears and that's the end of it.
When I run in terminal I see this out put in the terminal with the same results. I'm very excited to begin development on chipkit but am running into this issue.
Please advise, thanks, Matt

1 [main] DEBUG processing.app.Base  - DEBUG: Logging enabled.processing.app.Base
111172 [main] DEBUG processing.app.Base  - DEBUG:start: rebuilding import menu
111172 [main] DEBUG processing.app.Base  - DEBUG:  target=arduino
111172 [main] DEBUG processing.app.Base  - DEBUG:  add avr libraries.
111172 [main] DEBUG processing.app.Base  - DEBUG: start: addLibraries.
111175 [main] DEBUG processing.app.Base  - Base.subfolder: /home/somatt/mpide-0022-chipkit-linux32-20110520/libraries/ArduinoTestSuite
111179 [main] DEBUG processing.app.Base  - Base.subfolder: /home/somatt/mpide-0022-chipkit-linux32-20110520/libraries/EEPROM
111179 [main] DEBUG processing.app.Base  - Base.subfolder: /home/somatt/mpide-0022-chipkit-linux32-20110520/libraries/Ethernet
111180 [main] DEBUG processing.app.Base  - Base.subfolder: /home/somatt/mpide-0022-chipkit-linux32-20110520/libraries/Firmata
111180 [main] DEBUG processing.app.Base  - Base.subfolder: /home/somatt/mpide-0022-chipkit-linux32-20110520/libraries/LiquidCrystal
111180 [main] DEBUG processing.app.Base  - Base.subfolder: /home/somatt/mpide-0022-chipkit-linux32-20110520/libraries/Matrix
111181 [main] DEBUG processing.app.Base  - Base.subfolder: /home/somatt/mpide-0022-chipkit-linux32-20110520/libraries/SD
111181 [main] DEBUG processing.app.Base  - Base.subfolder: /home/somatt/mpide-0022-chipkit-linux32-20110520/libraries/Servo
111181 [main] DEBUG processing.app.Base  - Base.subfolder: /home/somatt/mpide-0022-chipkit-linux32-20110520/libraries/SoftwareSerial
111182 [main] DEBUG processing.app.Base  - Base.subfolder: /home/somatt/mpide-0022-chipkit-linux32-20110520/libraries/SPI
111182 [main] DEBUG processing.app.Base  - Base.subfolder: /home/somatt/mpide-0022-chipkit-linux32-20110520/libraries/Sprite
111182 [main] DEBUG processing.app.Base  - Base.subfolder: /home/somatt/mpide-0022-chipkit-linux32-20110520/libraries/Stepper
111183 [main] DEBUG processing.app.Base  - Base.subfolder: /home/somatt/mpide-0022-chipkit-linux32-20110520/libraries/Wire
111183 [main] DEBUG processing.app.Base  - DEBUG: start: addLibraries.
111212 [main] DEBUG processing.app.Base  - DEBUG: start: rebuilding boards menu.
111220 [main] DEBUG processing.app.Base  - DEBUG: end: rebuilding boards menu.
111220 [main] DEBUG processing.app.Base  - DEBUG:start: rebuilding import menu
111220 [main] DEBUG processing.app.Base  - DEBUG:  target=arduino
111220 [main] DEBUG processing.app.Base  - DEBUG:  add avr libraries.
111220 [main] DEBUG processing.app.Base  - DEBUG: start: addLibraries.
111221 [main] DEBUG processing.app.Base  - Base.subfolder: /home/somatt/mpide-0022-chipkit-linux32-20110520/libraries/ArduinoTestSuite
111221 [main] DEBUG processing.app.Base  - Base.subfolder: /home/somatt/mpide-0022-chipkit-linux32-20110520/libraries/EEPROM
111222 [main] DEBUG processing.app.Base  - Base.subfolder: /home/somatt/mpide-0022-chipkit-linux32-20110520/libraries/Ethernet
111222 [main] DEBUG processing.app.Base  - Base.subfolder: /home/somatt/mpide-0022-chipkit-linux32-20110520/libraries/Firmata
111222 [main] DEBUG processing.app.Base  - Base.subfolder: /home/somatt/mpide-0022-chipkit-linux32-20110520/libraries/LiquidCrystal
111223 [main] DEBUG processing.app.Base  - Base.subfolder: /home/somatt/mpide-0022-chipkit-linux32-20110520/libraries/Matrix
111223 [main] DEBUG processing.app.Base  - Base.subfolder: /home/somatt/mpide-0022-chipkit-linux32-20110520/libraries/SD
111224 [main] DEBUG processing.app.Base  - Base.subfolder: /home/somatt/mpide-0022-chipkit-linux32-20110520/libraries/Servo
111224 [main] DEBUG processing.app.Base  - Base.subfolder: /home/somatt/mpide-0022-chipkit-linux32-20110520/libraries/SoftwareSerial
111224 [main] DEBUG processing.app.Base  - Base.subfolder: /home/somatt/mpide-0022-chipkit-linux32-20110520/libraries/SPI
111225 [main] DEBUG processing.app.Base  - Base.subfolder: /home/somatt/mpide-0022-chipkit-linux32-20110520/libraries/Sprite
111225 [main] DEBUG processing.app.Base  - Base.subfolder: /home/somatt/mpide-0022-chipkit-linux32-20110520/libraries/Stepper
111225 [main] DEBUG processing.app.Base  - Base.subfolder: /home/somatt/mpide-0022-chipkit-linux32-20110520/libraries/Wire
111226 [main] DEBUG processing.app.Base  - DEBUG: start: addLibraries.
java.lang.UnsatisfiedLinkError: no rxtxSerial in java.library.path thrown while loading gnu.io.RXTXCommDriver
Exception in thread "main" java.lang.UnsatisfiedLinkError: no rxtxSerial in java.library.path
	at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1681)
	at java.lang.Runtime.loadLibrary0(Runtime.java:840)
	at java.lang.System.loadLibrary(System.java:1047)
	at gnu.io.CommPortIdentifier.<clinit>(CommPortIdentifier.java:83)
	at processing.app.Editor.populateSerialMenu(Editor.java:967)
	at processing.app.Editor.buildToolsMenu(Editor.java:704)
	at processing.app.Editor.buildMenuBar(Editor.java:486)
	at processing.app.Editor.<init>(Editor.java:208)
	at processing.app.Base.handleOpen(Base.java:732)
	at processing.app.Base.handleOpen(Base.java:697)
	at processing.app.Base.handleNew(Base.java:594)
	at processing.app.Base.<init>(Base.java:334)
	at processing.app.Base.main(Base.java:208)

somatt

Mon, 23 May 2011 22:56:31 +0000

tried option 2 from this [url]http://colinharrington.net/blog/2010/11/arduino-ubuntu-10-10-maverick-meerkat-no-rxtxserial/[/url] in this manner

somatt@x60-laptop:~/mpide-0022-chipkit-linux32-20110520$ export LD_LIBRARY_PATH=/usr/lib/jni | ./mpide

This didn't work and threw the same errors. :(


somatt

Mon, 23 May 2011 23:01:50 +0000

also tried with && instead of | this threw same errors. also tried seperate lines and this threw the same errors.


ricklon

Tue, 24 May 2011 02:24:20 +0000

I just read through the log. Thanks for posting. You need to make sure you have the java rxtx package installed.

dpkg -l | grep rxtx

If it doesn't show librxtx-java then you'll need to install that package.

sudo apt-get install librxtx-java

somatt

Tue, 24 May 2011 02:58:21 +0000

I just read through the log. Thanks for posting. You need to make sure you have the java rxtx package installed.

dpkg -l | grep rxtx

If it doesn't show librxtx-java then you'll need to install that package.

sudo apt-get install librxtx-java

No, Thank YOU (again) for fixing my issue! Works great now! :D


Jacob Christ

Sat, 04 Jun 2011 17:25:02 +0000

I just read through the log. Thanks for posting. You need to make sure you have the java rxtx package installed.

dpkg -l | grep rxtx

If it doesn't show librxtx-java then you'll need to install that package.

sudo apt-get install librxtx-java

Worked for me too, I didn't even check, just installed.

Actually I had iced-tea installed (and decided I wanted to switch to sun-java6-jre) so I had to also add the following to my .bashrc file in my home directory:

LD_LIBRARY_PATH=/usr/lib/jni export LD_LIBRARY_PATH

Jacob