Welcome, Guest. Please Login or Register
Arduino: Forum
06.09.2010 at 04:14:34


Pages: 1
Arduino and 64Bit Ubuntu? (Read 5299 times)
Derek
YaBB Newbies
*
Offline

Arduino rocks

Posts: 40

Arduino and 64Bit Ubuntu?
07.04.2009 at 11:20:36
 
Hi all,

as the title suggests, I am using 64bit Ubuntu on two of my machines, including my main PC (8.10 on one and 8.04 (RT) on the other).

Is it possible for the Arduino IDE to run on 64 bit Ubuntu?

I have a few other machines all running x86 Xubuntu, and I have a spare that I suppose I could put windows on if I had to to get an IDE that works, although I would prefer to work in Linux if this is at all possible.
Back to top
 
 
View Profile   IP Logged
seth556
Junior Member
**
Offline

Arduino rocks

Posts: 53

Re: Arduino and 64Bit Ubuntu?
Reply #1 - 08.04.2009 at 01:24:15
 
Well there's linux packages so I don't see why not, the only hook might be the 64-bit but that should be ok. Only thing is you will have to uninstall bryltty (I think thats how you spell it) although the linux page on here will say redo the kernel without it which you don't need to do.

Check out the linux page on this site, I can't post links till I enough posts.
Back to top
 
 
View Profile   IP Logged
Derek
YaBB Newbies
*
Offline

Arduino rocks

Posts: 40

Re: Arduino and 64Bit Ubuntu?
Reply #2 - 08.04.2009 at 09:12:54
 
Thanks for that, I'll have a search around.
Back to top
 
 
View Profile   IP Logged
gatonero
Full Member
***
Offline

Just For Fun

Posts: 130
Aachen
Gender: male
Re: Arduino and 64Bit Ubuntu?
Reply #3 - 08.04.2009 at 10:19:05
 
Back to top
 
 
View Profile | Skype/VoIP   IP Logged
Derek
YaBB Newbies
*
Offline

Arduino rocks

Posts: 40

Re: Arduino and 64Bit Ubuntu?
Reply #4 - 08.04.2009 at 10:43:03
 
Thank you - I'll have to brush up on my German, but that looks really useful!
Back to top
 
 
View Profile   IP Logged
seth556
Junior Member
**
Offline

Arduino rocks

Posts: 53

Re: Arduino and 64Bit Ubuntu?
Reply #5 - 08.04.2009 at 14:02:22
 
English install guide listing what programs you'll need to install. http://www.arduino.cc/playground/Learning/Linux
Back to top
 
 
View Profile   IP Logged
Derek
YaBB Newbies
*
Offline

Arduino rocks

Posts: 40

Re: Arduino and 64Bit Ubuntu?
Reply #6 - 08.04.2009 at 14:12:07
 
Hi, thanks very much for the link, but I think I have it!

I can't tell yet as I have installed it remotelly (SSH), and I have no x-session running so am getting a Java Swing error (Exception in thread "main" java.lang.ExceptionInInitializerError)
....
(Caused by: java.awt.HeadlessException:
No X11 DISPLAY variable was set, but this program performed an operation which requires it.)

So I think once I am at the machine it should work!

Doesn't work just get in the way sometimes? Wink
Back to top
 
 
View Profile   IP Logged
Derek
YaBB Newbies
*
Offline

Arduino rocks

Posts: 40

Re: Arduino and 64Bit Ubuntu?
Reply #7 - 10.04.2009 at 18:24:29
 
Hmmmm....it still isn't working for some reason, I'm getting the following error:

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

I have the RXTXcomm.jar file in the /jre folder and the librxtxSerial.so in the /usr/lib folder, so not sure why it can't find it.

Any ideas?
Back to top
 
 
View Profile   IP Logged
Veronica
Junior Member
**
Offline

Arduino rocks

Posts: 64

Re: Arduino and 64Bit Ubuntu?
Reply #8 - 11.04.2009 at 13:27:33
 
In my install, librxtxSerial.so is in my /arduinofolder/lib folder.
Maybe you could try putting a symlink in there to your  /usr/lib/librxtxSerial.so ?

HTH

Ver
Back to top
 
 
View Profile   IP Logged
Derek
YaBB Newbies
*
Offline

Arduino rocks

Posts: 40

Re: Arduino and 64Bit Ubuntu?
Reply #9 - 11.04.2009 at 16:10:26
 
Hi, thanks for that - I'll give that a try in a little while.

In the meantime I cheated and blew the dust off of my old XP laptop! Wink
Back to top
 
 
View Profile   IP Logged
Derek
YaBB Newbies
*
Offline

Arduino rocks

Posts: 40

Re: Arduino and 64Bit Ubuntu?
Reply #10 - 13.04.2009 at 07:40:03
 
Hhhmmm...tried putting a symlink in my ~/arduino/lib folder but I still get the same error.

I'm completely lost now Sad  

Whilst I can use Windows, I'd rather use an OS that won't die on me at crucial moments as it did last night  Undecided
Back to top
 
 
View Profile   IP Logged
Veronica
Junior Member
**
Offline

Arduino rocks

Posts: 64

Re: Arduino and 64Bit Ubuntu?
Reply #11 - 13.04.2009 at 11:31:22
 
Just had a closer look at my install.

In /usr/lib/jvm/java-6-sun-1.6.0.10/jre/lib/amd64

I have the following:

Code:
-rwxr-xr-x 1 root  76K 2009-02-20 01:35 librxtxI2C-2.1-7.so
-rwxr-xr-x 1 root  851 2009-02-20 01:35 librxtxI2C.la
lrwxrwxrwx 1 root   19 2009-02-20 01:35 librxtxI2C.so -> librxtxI2C-2.1-7.so
-rwxr-xr-x 1 root  56K 2009-02-20 01:35 librxtxParallel-2.1-7.so
-rwxr-xr-x 1 root  881 2009-02-20 01:35 librxtxParallel.la
lrwxrwxrwx 1 root   24 2009-02-20 01:35 librxtxParallel.so -> librxtxParallel-2.1-7.so
-rwxr-xr-x 1 root  77K 2009-02-20 01:35 librxtxRaw-2.1-7.so
-rwxr-xr-x 1 root  851 2009-02-20 01:35 librxtxRaw.la
lrwxrwxrwx 1 root   19 2009-02-20 01:35 librxtxRaw.so -> librxtxRaw-2.1-7.so
-rwxr-xr-x 1 root  76K 2009-02-20 01:35 librxtxRS485-2.1-7.so
-rwxr-xr-x 1 root  863 2009-02-20 01:35 librxtxRS485.la
lrwxrwxrwx 1 root   21 2009-02-20 01:35 librxtxRS485.so -> librxtxRS485-2.1-7.so
-rwxr-xr-x 1 root 184K 2009-02-20 01:35 librxtxSerial-2.1-7.so
-rwxr-xr-x 1 root  869 2009-02-20 01:35 librxtxSerial.la
lrwxrwxrwx 1 root   22 2009-02-20 01:35 librxtxSerial.so -> librxtxSerial-2.1-7.so

 



Do you have any librxtx files in your java jre folder ?

Ver
Back to top
 
 
View Profile   IP Logged
bajsejohannes
YaBB Newbies
*
Offline

Arduino rocks

Posts: 1

Re: Arduino and 64Bit Ubuntu?
Reply #12 - 21.05.2009 at 22:31:23
 
I had the same problem. Mine was solved by the hint from Veronica (thanks!).

What I did was (from the arduino install path):

Code:
sudo apt-get install librxtx-java
ln -sf /usr/lib/librxtxSerial.so lib/librxtxSerial.so 



I'm on Ubuntu 9.04 x64 using arduino 0015.
Back to top
 
 
View Profile   IP Logged
Rp3
YaBB Newbies
*
Offline

Arduino rocks

Posts: 2

Re: Arduino and 64Bit Ubuntu?
Reply #13 - 08.07.2009 at 00:52:48
 
I wonder if I can get some help as well, as I have a similar error.  When I hit the "monitor serial port" button the IDE crashes and I get a error log from java.

I installed the file mentioned and did the link to no avail...

thanks,

Rp


UPDATE,

GOT IT TO WORK WITH THIS http://www.arduino.cc/cgi-bin/yabb2/YaBB.pl?num=1233939776/15

UPdated Serial thingy and now it works kewl, now to play with my new Accelometer!
Back to top
 
 
View Profile   IP Logged
Pages: 1