maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Maemo 5 / Fremantle (https://talk.maemo.org/forumdisplay.php?f=40)
-   -   Bringing full java midp to n900? (https://talk.maemo.org/showthread.php?t=67986)

dwaradzyn 2011-01-09 15:06

Re: Bringing full java midp to n900?
 
It was ported to various devices. Check:
phoneME on openmoko
phoneME on Windows Mobile 6.5

N900 has far more processing power than those two on videos. Not to mention OpenGL ES.

Boemien 2011-01-09 18:10

Re: Bringing full java midp to n900?
 
So Guys, what are you going to do???

dwaradzyn 2011-01-09 18:27

Re: Bringing full java midp to n900?
 
Quote:

Originally Posted by Radicalz38 (Post 915703)
I'm also interested in trying it but I lost the patience a month ago just by trying to install the SDK for maemo. I tried locating the downloads and lead me to lots of broken/outdated links and went to the point that I gave up. So now I'm just asking to those who know how to port it.

You can find latest SDK here: http://www.forum.nokia.com/info/sw.n...emo_5_SDK.html

This is virtual machine image (I use one of these with VMware) with SDK preinstalled:
http://tablets-dev.nokia.com/maemo-d...Image_Final.7z

strange1712 2011-01-10 07:44

Re: Bringing full java midp to n900?
 
I have tried to build it using the scripts but seems like It would require JDK in Maemo SDK or some way to use Scratchbox as cross compiler from native environment. (Seems like IcedTea fails on Scratchbox).

ymartin59 2011-01-10 08:04

Re: Bringing full java midp to n900?
 
Right, Scratchbox ARMEL target is really limited because of bugs/lacking features in qemu ARM. Only gcc cross-compilation really works. No hope to get Java (either OpenJDK or Oracle latests preview) working there.

My opinion: either use Easy Chroot / Debian ARM or install full compile chain directly on the N900 !

When Symbian was open-source(d) [it is closed again since December 17th], I have retreived JRT (JavaME RunTime) sources to get it compiled on a standard Linux but it was not obvious at all and I got no support from Nokia guys...

[DarkGUNMAN] 2011-01-11 01:22

Re: Bringing full java midp to n900?
 
Spent some time building an sdk image using this thread to comoile on device
http://talk.maemo.org/showthread.php?t=32772&page=1

and I've downloaded the latest PhoneME Feature source. I've never built or compiled anything before, so any quick guides or pointers on compiling source would be appreciated.

[DarkGUNMAN] 2011-01-11 01:26

Re: Bringing full java midp to n900?
 
Quote:

Originally Posted by ymartin59 (Post 916609)
Right, Scratchbox ARMEL target is really limited because of bugs/lacking features in qemu ARM. Only gcc cross-compilation really works. No hope to get Java (either OpenJDK or Oracle latests preview) working there.

My opinion: either use Easy Chroot / Debian ARM or install full compile chain directly on the N900 !

When Symbian was open-source(d) [it is closed again since December 17th], I have retreived JRT (JavaME RunTime) sources to get it compiled on a standard Linux but it was not obvious at all and I got no support from Nokia guys...

It may well be worth compiling JRT on device and give it a test drive.

Dotblank 2011-01-11 09:48

Re: Bringing full java midp to n900?
 
[DarkGUNMAN] came into the irc channel and was looking for some help with building phoneME.

I was able to build (cdc) cvm but I haven't built midp yet

For those interested

http://encodable.com/cgi-bin/filechu...le=phoneme.tar

Radicalz38 2011-01-11 10:25

Re: Bringing full java midp to n900?
 
Hmm good to see some improvements here lol! Well just hope midp would get compiled thoroughly as midp environment is the one managing all those thousands of applications from old phone up to the latest(maybe the later).

Quote:

Quote:

Originally Posted by dwaradzyn (Post 916030)
You can find latest SDK here: http://www.forum.nokia.com/info/sw.n...emo_5_SDK.html

This is virtual machine image (I use one of these with VMware) with SDK preinstalled:
http://tablets-dev.nokia.com/maemo-d...Image_Final.7z


on the virtual image I tried looking for the one with GUI but no luck. I'm not really comfortable developing on command line actually. Also MADDE is not there :(
Dont want my n900 to be a guinea pig by all the guinea pigs :p

[DarkGUNMAN] 2011-01-11 12:01

Re: Bringing full java midp to n900?
 
Quote:

Originally Posted by Dotblank (Post 917640)
[DarkGUNMAN] came into the irc channel and was looking for some help with building phoneME.

I was able to build (cdc) cvm but I haven't built midp yet

For those interested

http://encodable.com/cgi-bin/filechu...le=phoneme.tar

Thank you very much for answering the call for help in the channel and having a go!

It would help me immensly if you could take me through the procedure you used to compile PhoneME Advanced mr2, as I would like to try and replicate the results with PhoneME Feature mr4 as this contains a more recent version of MIDP, which I am hoping will launch opera mini 4.
Bear in mind I am a novice at this and have only just learned how to chroot into the sdk image on my N900 :)

I had a go at running with the following command:
cd /opt/phoneme
./bin/cvm -jar /home/opt/opera-mini-4.2.18887-advanced-en.jar

Got error message
jar: Could not find Main-Class manifest attribute

Does this mean it is looking for variables pointing to the main j2se installation?

if it is of any help I found a thread used by devs earleir in 2010 regarding building for N800 and N900.
http://www.gossamer-threads.com/list...velopers/60613


All times are GMT. The time now is 00:33.

vBulletin® Version 3.8.8