Comments (8)
The original Arduino IDE 0022 is working ok.
https://picasaweb.google.com/lh/photo/ZO_jeN8-rUpQrfYEkB1u3viuEaCisaeQQg4wpgp9Ogc?feat=directlink
from chipkit32-max.
Please check if librxtx-java is installed.
dpkg -l | grep rxtx
If not then you'll need to do a:
sudo apt-get install librxtx-java
Just want to make sure it's not missing.
from chipkit32-max.
Wasn't installed but still not working after install.
user@pc:$ dpkg -l | grep rxtx$
ii librxtx-java 2.2pre2-1 Full Java CommAPI implementation
user@pc:
user@pc:~/mpide-0022-chipkit-linux32-20110520$ ./mpide
0 [main] DEBUG processing.app.Base - DEBUG: Logging enabled.processing.app.Base
2153 [main] DEBUG processing.app.Base - DEBUG:start: rebuilding import menu
Exception in thread "main" java.lang.NullPointerException
at processing.app.Base.rebuildImportMenu(Base.java:1006)
at processing.app.Editor.buildSketchMenu(Editor.java:640)
at processing.app.Editor.buildMenuBar(Editor.java:485)
at processing.app.Editor.(Editor.java:208)
at processing.app.Base.handleOpen(Base.java:732)
at processing.app.Base.restoreSketches(Base.java:393)
at processing.app.Base.(Base.java:310)
at processing.app.Base.main(Base.java:208)
from chipkit32-max.
I've dug into this more. Here's what I found:
It's a requirement that you have Java, and librxtx-java installed. There is a bug in Sun Java version that doesn't include it in the path even if you have it installed. It's nicely documented here:
http://colinharrington.net/blog/2010/11/arduino-ubuntu-10-10-maverick-meerkat-no-rxtxserial/
In any case here's what you'll need to do.
If you know you don't have Java installed do:
sudo apt-get install openjdk-6-jdk
Check for librxtx-java via:
dpkg -l | grep rxtx
If not found do:
sudo apt-get install librxtx-java
If you have more than one version of Java then you'll need to check which version of Java you are running. You can do this by typing:
update-java-alternatives -l
This will list which version you have installed. Like:
java-6-openjdk 1061 /usr/lib/jvm/java-6-openjdk
java-6-sun 63 /usr/lib/jvm/java-6-sun
In our case the best option is select the java-6-jdk.
The easiest solution is to select java-6-openjkd
sudo
sudo update-java-alternatives -s java-6-openjdk
Once done you can double check by typing:
java -version
Then run mpide again.
If you have to use the Sun JDK here are the options from the article.
- donβt use sun-java but default-jre instead. This bug is actually a known bug in sun-java. (bug #325506)
- add export LD_LIBRARY_PATH=/usr/lib/jni to your .bashrc, the .deskop file (in /usr/share/desktop), or on the command line before starting arduino
from chipkit32-max.
Hi,
I did everything and still does not work :( . I have to repeat that Arduino 0022 and Processing 1.5.1 are starting without problems on my Ubuntu. If those are working ok, then is something wrong with the modified version of mpide.
I am curios to see if I'm the only one with this problem on Ubuntu 10.10 but unfortunately, the "fan site" is not yet ready so no community to ask....
from chipkit32-max.
BTW, both mpide for windows archives are crashing on Windows Vista Basic (32bit version). I get a dialog which announces me that the program can not be started and java remains resident in memory because I can't delete the folder where is unpacked - I have to restart the computer to do that.
from chipkit32-max.
The forums are open. You can check them out here:
http://chipkit.cc/forum
from chipkit32-max.
Closed by the creation of issue 38, #38.
.arduino settings folder needs to be changed to .mpide or something reasonable
from chipkit32-max.
Related Issues (20)
- Initialize device-specific features such as Floating-Point Unit in application startup code HOT 1
- Fix MPIDE splash screen to fix incorrect compatibility information HOT 1
- Create simple examples for SPI and DSPI libraries, include in Examples folder
- Create simple examples for DWTI library HOT 2
- Create new Software Serial library for Arduino 1.6.x compatibility HOT 1
- Create new build target getCore and have it copy chipKIt-core files to correct place
- Matrix and Sprite library no longer supported HOT 2
- Sync changes with chipKIT-core 20150903 HOT 1
- Added INO as default extension instead of PDE HOT 1
- bump version for release to 16778024
- Examples folder no longer shows up in MPIDE HOT 2
- Pull in code changes from issue #83 in core HOT 1
- Add define to allow sketches/library to know what IDE they're compiled under HOT 1
- Add -ftoplevel-reorder to c and c++ compile options HOT 1
- Fix over-ridden compiler options in boards.txt for -G1024 HOT 3
- Remove all vestiges of plilb.h from source HOT 5
- Re-code MPIDE so it doesn't use boards.txt at top level
- typedef struct compile error in mpide-20140316
- Updated FTDI driver to 2.12.10 HOT 1
- USB client stack problems HOT 18
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
π Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. πππ
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google β€οΈ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from chipkit32-max.