Hola!
Después de adquirir un nuevo pc, decidí empezar mi proyecto con arduino, y para ello necesitava programar.
Intento abrir el arduino con la terminal (trabajo bajo Ubuntu) y me sale:
pau@DESKTOP:~$ sudo bash /home/pau/arduino/arduino.sh
OpenJDK 64-Bit Server VM warning: You have loaded library /home/pau/arduino/lib/librxtxSerial.so which might have disabled stack guard. The VM will try to fix the stack guard now.
It's highly recommended that you fix the library with 'execstack -c <libfile>', or link it with '-z noexecstack'.
java.lang.UnsatisfiedLinkError: /home/pau/arduino/lib/librxtxSerial.so: /home/pau/arduino/lib/librxtxSerial.so: la classe ELF no és vàlida: ELFCLASS32 (Possible cause: architecture word width mismatch) thrown while loading gnu.io.RXTXCommDriver
Exception in thread "main" java.lang.UnsatisfiedLinkError: /home/pau/arduino/lib/librxtxSerial.so: /home/pau/arduino/lib/librxtxSerial.so: la classe ELF no és vàlida: ELFCLASS32 (Possible cause: architecture word width mismatch)
at java.lang.ClassLoader$NativeLibrary.load(Native Method)
at java.lang.ClassLoader.loadLibrary1(ClassLoader.java:1965)
at java.lang.ClassLoader.loadLibrary0(ClassLoader.java:1890)
at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1880)
at java.lang.Runtime.loadLibrary0(Runtime.java:849)
at java.lang.System.loadLibrary(System.java:1088)
at gnu.io.CommPortIdentifier.<clinit>(CommPortIdentifier.java:83)
at processing.app.Editor.populateSerialMenu(Editor.java:964)
at processing.app.Editor.buildToolsMenu(Editor.java:693)
at processing.app.Editor.buildMenuBar(Editor.java:478)
at processing.app.Editor.<init>(Editor.java:205)
at processing.app.Base.handleOpen(Base.java:709)
at processing.app.Base.handleOpen(Base.java:674)
at processing.app.Base.handleNew(Base.java:570)
at processing.app.Base.<init>(Base.java:310)
at processing.app.Base.main(Base.java:199)
¿Qué puedo hacer?