Geekzone: technology news, blogs, forums
Guest
Welcome Guest.
You haven't logged in yet. If you don't have an account you can register now.


amidan

1 post

Wannabe Geek
Inactive user


#27944 12-Nov-2008 04:32
Send private message

Hi,
    I'm curious if Neo FreeRunner supports Java applications. Does anybody know if Neo FreeRunner has support for Java? Googling this subject I understood that several projects aim to get Java working on Openmoko and I'm wondering if you have any idea if any of them succeeded?
    Adrian

Create new topic
NZIdol
17 posts

Geek


#178140 15-Nov-2008 14:27
Send private message

Of course it works, Sun's CTO is showing it off at their web-site http://blogs.sun.com/jonathan/entry/when_not_where Sealed

ok more serious then...

Jalimo have a working version of Cacao JVM (a full Java SE) for OpenMoko. Works on my QT 442 and SHR distributions. They also have MidPath for CDLC/MIDP style apps and PhoneMe for the latest CDC style apps (have not really tried this yet).

usefull info at:
http://wiki.openembedded.net/index.php/Java
https://phoneme.dev.java.net/
https://wiki.evolvis.org/jalimo/index.php/Main_Page
 
In summary add Jalimo feeds to opkg:
>echo "src/gz jalimo http://jalimo.evolvis.org/repository/openmoko/all" > /etc/opkg/jalimo-feed-all.conf
>echo "src/gz jalimo-armv4t http://jalimo.evolvis.org/repository/openmoko/armv4t" > /etc/opkg/jalimo-feed-armv4t.conf
>opkg update

and install (note the dependency problem on https://wiki.evolvis.org/jalimo/index.php/Packages#OpenMoko):

For Java SE:

>opkg install cacao classpath -force-depends

use something like "cacao HelloWorld" to run an app

and to use the SWT widgets:

>opkg install libswt3.4-gtk-java
(in testing the sample be warry of a Sample1$1.class file that is also generated from my javac that also needs to be copied to the Neo,
but scp and command line utilities don't like the $1 so use quotes and some hacking to get the right files with the right names or build a jar....)

For MIDP
> opkg install midpath -force-depends
run something like "midpath-launcher-j2se midlet-name"

For PhoneMe Advanced
>opkg install phoneme-advanced-foundation -force-depends
use something like "cvm phonemeApp"

Create new topic








Geekzone Live »

Try automatic live updates from Geekzone directly in your browser, without refreshing the page, with Geekzone Live now.



Are you subscribed to our RSS feed? You can download the latest headlines and summaries from our stories directly to your computer or smartphone by using a feed reader.