maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Development (https://talk.maemo.org/forumdisplay.php?f=13)
-   -   Java setup (https://talk.maemo.org/showthread.php?t=25030)

shanti 2008-11-18 23:43

Re: Java setup
 
Quote:

Originally Posted by dunff2k (Post 242958)
Doesn't seem to much info on what this means, any ideas?

Can you run Sample SWT Example from Jalimo site? You need to install that .deb from site (http://jalimo.evolvis.org/repository...le-install.php).

dunff2k 2008-11-19 08:25

Re: Java setup
 
yeah works fine

shanti 2008-11-20 11:28

Re: Java setup
 
Never saw that error. Can you type command line that you used and full stack trace?

dunff2k 2008-11-24 12:17

Re: Java setup
 
@shanti - The command I used was:

Code:

cacao -cp /usr/share/java/swt-gtk.jar:. SimpleSwtSample
I've explored this more and it seems the code does begin to execute, I know this by inserting print statements at strategic positions. However the segmentation error occurs after this line in the SimpleSwtSample:

Code:

final Shell shell = new Shell(display);
I should add the example compiles and runs fine on my windows PC. Also when I go Control Panel -> About product it says the os is: maemo based os2008 version 2.2007.51-3. Shouldn't this be 4.0 for chinook?

Anymore insight? I'm going to try on a different device...

dunff2k 2008-11-24 15:25

Re: Java setup
 
guys problem solved...

Once I updated my version of maemo through the nokia software updater all was resolved.

Thanks to all, special thanks @ shanti!

niv 2008-12-24 17:28

Re: Java setup
 
how may I compile my .java to .class on maemo?
is it jikes?
installing jalimo-console-example doesnt add the compiler to my device
Niv


All times are GMT. The time now is 22:04.

vBulletin® Version 3.8.8