![]() |
Java question
Would someone that has managed to get some java running please try to run cgoban on it (that's a client for a Go-Server).
The jar can be found at files.gokgs.com/javaBin/cgoban.jar. The application is started via "java -jar cgoban.jar". If that runs I'll buy a N900 immediately... Many thanks! |
Re: Java question
3 Attachment(s)
Using sun embeded java i can get it to run dont really know what to do with it
|
Re: Java question
Holy sh...
That is awesome - thanks a lot!!! That settles it for me - I am not going to wait for Maemo 6... |
Re: Java question
Hi Fred123
i'm a little late, but can you explain me how to do it? or maybe now there's an even simpler way? thanks |
Re: Java question
https://cds.sun.com/is-bin/INTERSHOP...-CDS_Developer
Select Linux (arm) Then download "Java SE for Embedded 6 Update 21 (Build 9) ARMv7 Linux - Headful, EABI, Hard Float (VFP), Little-Endian" Extract it to /opt/ Then make symlinks: In X Terminal, as root: ln -s /opt/ejre1.6.0_21/bin/* /usr/bin/ You can start jar files from your N900, as user (unless if the java application require root rights, which is rare): java -jar jarfile.jar |
Re: Java question
Thanks
i did what you say but terminal is saying : "unable to access jarfile cgoban.jar" where do i have to put the .jar? thank you |
Re: Java question
As user, the default working directory is /home/user. The usb internal storage is at /home/user/MyDocs/, the memory card is at /media/mmc1/
For example, if you install it in the usb mass storage, tou will need to type java -jar "MyDocs/The path where you installed it/cgoban.jar" |
Re: Java question
works perfectly
thanks so much |
Re: Java question
Hi, I am trying to run a java application. It starts but it cant find a library libpthread. Does anyone know which package contains it?
Thanks in advance, Ezmendriz |
Re: Java question
hello anyone, I try to search but cant find the informatiion.
|
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? |
Re: Java question
Hello.
Is it possible with that file that got extension .jad ? |
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? |
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?
|
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.
|
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.
|
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 |
Re: Java question
As root, in terminal:
chmod +x /opt/ejre1.6.0_21/bin/* |
Re: Java question
Quote:
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? |
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? |
Re: Java question
-For acceding in the menu you must select preferences then go to "user interface" and untick "activate window personalisation", restart jdownloader for seeing the change.
-For quitting normally the program (by clicking in the top right cross), you must go to extension manager in preferences menu and disable "JD notification zone" since hildon doesn't handle minimizing applications in the status bar, disable also JD unrar because it is x86 version of unrar. You have now (almost) fully working JDownloader on your N900 :) I can confirm after days of use that it is a bit heavy for the N900 but definitively working great and usable :) |
Re: Java question
thanks man that helped alot now i can show off even more :D
|
Re: Java question
this is really good, but if i want to have j downloader on my n900 wich files do i need? i am really noob at this.
thks in advanced |
Re: Java question
The jd.sh script for linux from the JDownloader website works great on the N900.
You will need java, see my post on the first page for getting it, and wget (use application manager to install it) |
Re: Java question
if you look in the java tar archive under the plugin folder there is desktop icon...what is that for?
|
Re: Java question
is it possible to use this with libswt-hildon package?
|
Re: Java question
Quote:
Just playing around with this,dont really know what I'm doing.. Any tips? |
Re: Java question
@datjomp & toxaris:
the files you are playing around with are based on J2ME. Even if you open your files on a pc, you would get an almost similar error, unless you have some form of J2ME emulator installed. Check out these links for a Java ME solution for N900: http://talk.maemo.org/showthread.php?t=52898 http://talk.maemo.org/showthread.php?t=37799 I have tested these fine on my N900 |
Re: Java question
Quote:
Just have one inconvenience where the application puts an icon in the tool tray in windows and hides itself. I can't seem to get access to it in Maemo to click it and open the app. I'm guessing the only way to access it would be in easy Debian's LXE gui? |
Re: Java question
Quote:
I find Java as a big jungle of diffrent standards, formats and file types...hard to understand. |
Re: Java question
Quote:
xterminal shows "failed to load main-class manifest attribute from opera-mini.jar" pls tell what am i doing wrong |
Re: Java question
@richard.lawry: Check out post #28 in this thread :)
|
Re: Java question
1 Attachment(s)
Quote:
I've got Java environment working and have downloaded JDownloader successfully, it appears to be quite responsive once it's initially loaded!! However I have two issues main issues: 1) I am unable to find "activate window personalisation", I've attached a screen print, please could you help? 2) How do I right click? Thanks for your help |
Re: Java question
Any problems with jDownloader please refer to my thread:
http://talk.maemo.org/showthread.php...285#post936285 |
All times are GMT. The time now is 08:12. |
vBulletin® Version 3.8.8