maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Nokia N900 (https://talk.maemo.org/forumdisplay.php?f=44)
-   -   Java question (https://talk.maemo.org/showthread.php?t=44325)

ezmendriz 2011-01-04 13:22

Re: Java question
 
actually the error is with the version of the file:

java.lang.UnsatisfiedLinkError: /lib/librxtxSerial.so: /lib/libpthread.so.0: version `GLIBC_2.0' not found (required by /lib/librxtxSerial.so) thrown while loading gnu.io.RXTXCommDriver

anyone got an idea from where to look?

toxaris 2011-01-04 23:33

Re: Java question
 
Hello.
Is it possible with that file that got extension .jad
?

ezmendriz 2011-01-05 01:52

Re: Java question
 
No, it is a .jar. I did some digging. The thing it uses the java rxtxSerial library. I found the complied librxtxSerial.so for arm in the Toybox of rxtxcom site http://rxtx.qbang.org/ToyBox/2.1-7-build1/Linux/ but the classloader failed loading the libpthread.so.0. I suppose I need a librxtxSerial.so compiled with correct version of libpthread.so.

Does anyone could give some pointers?

Joseph9560 2011-01-05 03:27

Re: Java question
 
how is the performance? I am sure cpu usage will reach cent percent even for small simple jar files. Or am I wrong?

ezmendriz 2011-01-05 12:44

Re: Java question
 
yep 100% OC@1150 but the application runs well. I am trying to run the logger part of the Romraider program (www.romraider.com) to monitor my subaru via obdII. the only part missing is the rxtxSerial library.

ezmendriz 2011-01-05 13:38

Re: Java question
 
BTW I get this far thanks to H-E-N and PowerKernel projects. H-E-N provides the connection and PowerKernel provides the compiled modules that contains the drivers for OpenPort 1.3 that is the OBDII interfase.

amritpal2489 2011-01-05 18:59

Re: Java question
 
@Megaltariak: I tried ur method.. but whenever i try run my jar app using the java -jar command i get an error sh: java: Permission Denied

Lemme know what to do plz

Megaltariak 2011-01-05 19:07

Re: Java question
 
As root, in terminal:
chmod +x /opt/ejre1.6.0_21/bin/*

toxaris 2011-01-07 10:32

Re: Java question
 
Quote:

Originally Posted by toxaris (Post 911821)
Hello.
Is it possible with that file that got extension .jad
?

hmm, after some research I now know that Jad is only an configuration file.
Well I have found the jar file I want to run after all.
Here it is:
http://download.mobil.skanetrafiken....iljett10hd.jar

But I get an error when I try to run it.
~/apps $ java -jar STBiljett10hd.jar
Failed to load Main-Class manifest attribute from
STBiljett10hd.jar

What to do?

CrckMc 2011-01-07 11:42

Re: Java question
 
hello

i managed to install and start jdownloader (dl manager) but my problem is that the maemo statusbar won't hide. I can see the menu with "Files" "Links" etc. but i can't use it because the statusbar is in the foreground.

anyone knows a way of hiding it temporarly?


All times are GMT. The time now is 08:12.

vBulletin® Version 3.8.8