maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Maemo 5 / Fremantle (https://talk.maemo.org/forumdisplay.php?f=40)
-   -   JAVA on the N900 is possible! (https://talk.maemo.org/showthread.php?t=37405)

soeiro 2010-02-25 18:53

Re: JAVA on the N900 is possible!
 
Quote:

Originally Posted by grube300 (Post 538289)
scala (www.scala-lang.org) out of the box running with sun embedded java 1.6.0_10
after installing embedded java from sun (headfull or use the link posted earlier), scala 2.7.7 final, just untar the scala in /home/opt and make a .profile int /home/user that sets the PATH variable to java and scala, and also sets JAVA_HOME and SCALA_HOME.
The good news is:allthough Sun embedded java does not include a javac compiler, the scalac compiler works, as it runs in the JVM itself!
N900 is really a nice Phone and linux machine!

This is very good news.

qole 2010-02-25 22:54

Re: JAVA on the N900 is possible!
 
Cambridge Labs version discussed earlier in the thread. Not as good as the Sun Embedded Java, but acceptable.


soeiro 2010-02-28 16:06

Re: JAVA on the N900 is possible!
 
Quote:

Originally Posted by qole (Post 546702)
Cambridge Labs version discussed earlier in the thread. Not as good as the Sun Embedded Java, but acceptable.

Do you have an estimate of how bad/good is it comparing to SUN's version?

Hext 2010-03-01 00:08

Re: JAVA on the N900 is possible!
 
Is there any possibility to get it linked with browser? or only addon?

Hext 2010-03-01 01:36

Re: JAVA on the N900 is possible!
 
You will also need to alter your /etc/profile file slightly. Open it up (with vi)

vi /etc/profile

...and look at the line beginning with "export PATH="

You need to add ":/usr/local/bin" to the end of the path (inside the quotes).

Now you will be able to download Java SE jarfiles and run them by typing "java -jar somejarfile.jar"

I'm working on registering the ".jar" extension so that you can just dbl-click them to run them....I thought I had it figured out, but it's not working yet.
Seems I ****ed up this step when i open it now in vi it shows only blank lanes >.<, any help?

SubCore 2010-03-01 16:43

Re: JAVA on the N900 is possible!
 
Quote:

Originally Posted by qole (Post 546702)
Cambridge Labs version discussed earlier in the thread. Not as good as the Sun Embedded Java, but acceptable.

btw, did anyone manage to pull the sources from the CamSWL site?

when i first tried a couple weeks ago they were down, i assumed (hoped) that would be temporary, but the link to sources.tar still points to oblivion...

derdas 2010-03-02 10:51

Re: JAVA on the N900 is possible!
 
SubCore can we please get in touch to discuss how to get qando to work? I would greatly appreciate your help!

fred123 2010-03-02 14:01

Re: JAVA on the N900 is possible!
 
2 Attachment(s)
I have finally got google maps running on my n900!

Using Barteo's microemulator
microemulator

and

Google maps 2.3.2 touch screen

Its a bit fiddly to get working, and we still need JSR-179 api for location.

SubCore 2010-03-02 14:17

Re: JAVA on the N900 is possible!
 
Quote:

Originally Posted by derdas (Post 552282)
SubCore can we please get in touch to discuss how to get qando to work? I would greatly appreciate your help!

from the FAQ:
Quote:

#
Welche Voraussetzungen muss mein Mobiltelefon erfüllen?

Sie benötigen das MIDP-2 (Mobile Information Device Profile) und mindestens eine Bildschirmauflösung von: 176 x 220
MIDP-2 means Java ME. so your best bet would be Sun's Embedded Java and Microemulator on top of it.

qole 2010-03-02 19:25

Re: JAVA on the N900 is possible!
 
Oh boy! The new microemulator 3.0 snapshot (dated today) lets me enter data into Opera Mini text fields! I logged into Facebook!

EDIT: qandoTouch.jar also seems to work a lot better. I can't read German so I'm not sure what to do once I get into the app...


All times are GMT. The time now is 17:01.

vBulletin® Version 3.8.8