Halp!?! How do I run the GUI on linux (Xubuntu 14.04)

69 views
Skip to first unread message

Kinjuru

unread,
Apr 30, 2016, 5:07:54 AM4/30/16
to KV Team OSD
Hello there, I can't seem to get the GUI to run on my Linux machine.

I am a linux noob as you might have already guessed, a somewhat unwilling Linux noob at that, as my windows box has died on me with little hope of a fix inside of a few weeks/months.
Naturally, I would like to get my current build in the air in the next day or two if possible.

I'm currently running a new install of Xubuntu 14.04 and as far as I could tell this didn't have any versions of Java on it, so I've looked in the software centre and installed  openJDK Java 6 & 7 runtime packages because they were near the top of the list.
I am unfortunately stuck now, with no clues on how to proceed as I still cannot start the GUI. I assume I may need to change something somewhere but I'm thoroughly intimidated at this point.

I tried running the startup script in term, the result:
./KV_Team_OSD_GUI 
ControlP5 1.5.2 infos, comments, questions at http://www.sojamo.de/libraries/controlP5
OpenJDK 64-Bit Server VM warning: You have loaded library /home/tripper/RC/KV_Team_OSD_2.3/KV_Team_OSD_2.3/KV_Team_GUI/application.linux32/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/tripper/RC/KV_Team_OSD_2.3/KV_Team_OSD_2.3/KV_Team_GUI/application.linux32/librxtxSerial.so: /home/tripper/RC/KV_Team_OSD_2.3/KV_Team_OSD_2.3/KV_Team_GUI/application.linux32/librxtxSerial.so: wrong ELF class: ELFCLASS32 (Possible cause: architecture word width mismatch) thrown while loading gnu.io.RXTXCommDriver
java.lang.UnsatisfiedLinkError: /home/tripper/RC/KV_Team_OSD_2.3/KV_Team_OSD_2.3/KV_Team_GUI/application.linux32/librxtxSerial.so: /home/tripper/RC/KV_Team_OSD_2.3/KV_Team_OSD_2.3/KV_Team_GUI/application.linux32/librxtxSerial.so: wrong ELF class: ELFCLASS32 (Possible cause: architecture word width mismatch)
at java.lang.ClassLoader$NativeLibrary.load(Native Method)
at java.lang.ClassLoader.loadLibrary1(ClassLoader.java:1968)
at java.lang.ClassLoader.loadLibrary0(ClassLoader.java:1893)
at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1883)
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.serial.Serial.list(Serial.java:557)
at KV_Team_OSD_GUI.setup(KV_Team_OSD_GUI.java:607)
at processing.core.PApplet.handleDraw(PApplet.java:1608)
at processing.core.PApplet.run(PApplet.java:1530)
at java.lang.Thread.run(Thread.java:745)
Exception in thread "Animation Thread" java.lang.RuntimeException: Error inside Serial.ports()
at processing.serial.Serial.errorMessage(Serial.java:591)
at processing.serial.Serial.list(Serial.java:572)
at KV_Team_OSD_GUI.setup(KV_Team_OSD_GUI.java:607)
at processing.core.PApplet.handleDraw(PApplet.java:1608)
at processing.core.PApplet.run(PApplet.java:1530)
at java.lang.Thread.run(Thread.java:745)



Any help at this point would be really appreciated.

Juan Carlos Ricardo

unread,
Apr 30, 2016, 9:54:06 PM4/30/16
to KV Team OSD
I'm running it on Lubuntu 32bit without problems both java updated 6 and 7 .
Maybe is ur arch,

To run a 32-bit executable file on a 64-bit multi-architecture Ubuntu system, you have to add the i386 architecture and install the three library packages libc6:i386, libncurses5:i386, and libstdc++6:i386:

sudo dpkg --add-architecture i386

Kinjuru

unread,
May 1, 2016, 1:06:55 AM5/1/16
to KV Team OSD
Thanks Juan, 

I ran the dpkg command and confirmed that the packages you listed were present but still no joy making this work as of yet but I am running the  x64 version of Xubuntu so I can see now why it might not be working. It's right there in the error messages, duh.

Still have no good ideas on how to fix that from where I'm sitting though, thanks for the help, I'll probably have to come back to this in a few weeks, I'm almost out of time.  Unless there's some more userspace linux-fu I can use for a quick and dirty result?

I'll check in later before I finish my build without the osd, thanks again Juan.

Juan Carlos Ricardo

unread,
May 1, 2016, 11:53:48 PM5/1/16
to KV Team OSD
You are welcome, well its also running on my Quad PPC with Ubuntu 12.04 64bit.

check this link it may help:


I dont remember but Im sure I was having the same problem running it on my PPC but I did it.
I think you main problem is Java.

regards 
jc

Trav McKeown

unread,
Nov 28, 2017, 1:09:54 AM11/28/17
to KV Team OSD
 apt-get install openjdk-8-jre:i386

sudo update-alternatives --config java

then choose whichever # is the openjdk followed by enter

Reply all
Reply to author
Forward
0 new messages