Menu

Main Menu
Talk Get Daily Search

Member's Online

    User Name
    Password

    JAVA on the N900 is possible!

    Reply
    Page 12 of 39 | Prev | 2   10     11   12   13     14   22 | Next | Last
    beli | # 111 | 2010-01-18, 13:19 | Report

    You have to launch one file instead of *.jar

    "./java -jar foo.jar" with foo the name of the jar file you want to launch.

    Edit | Forward | Quote | Quick Reply | Thanks

     
    new_bee | # 112 | 2010-01-18, 22:22 | Report

    yeh I just typed *.jar as an example. I am putting the complete file name there.

    Edit | Forward | Quote | Quick Reply | Thanks

     
    CormacB | # 113 | 2010-01-19, 00:08 | Report

    Many java applications are not packaged as runnable jar files. You will need to run something like java -cp x.jar:y.jar com.company.program.MainClass

    RE Runescape; the java plugin included in the embedded JRE doesn't seem to work with MicroB or Firefox, so there is no way to run applets on a webpage right now and that is how it runs. Possibly it might work out of appletviewer but I doubt it. Also I think Runescape uses OpenGL so there would be code changes required to use OpenGL ES as well as porting work for the JOGL library.

    Edit | Forward | Quote | Quick Reply | Thanks

     
    2bli2 | # 114 | 2010-01-19, 00:12 | Report

    Originally Posted by elliotshepherd View Post
    I think perhaps ill get jetty running, and write myself a web app to remote control my phone! (send/receive sms... take a picture... get the gps location... wipe the disk... etc)
    Got Jetty up and running myself yesterday (see below! ) Not tried to do anything with it really though. Absolutely love this phone!




    By the way, for the people struggling to get java executing after a sudo gainroot, you need to edit the gainroot script in /usr/sbin and add the appropriate PATH.

    Edit | Forward | Quote | Quick Reply | Thanks

    Last edited by 2bli2; 2010-01-19 at 00:37.

     
    podgeandrodge | # 115 | 2010-01-24, 09:17 | Report

    Hi guys, I just spotted this thread and thought someone might know something that could help me..


    this is a link to a Jar file (J2ME Eagle Eyes) I used when setting up remote viewing of CCTV on the Nokia N95 - I presume these Jar files won't work on the N900 being a different system altogether?

    Thanks for any help.

    http://www.lakson.com.sg/cpcam/


    But all I really want to do is get the N900 to play the streaming .mov file at my ip address - instead I just get a "mediaplayer" icon which, if i click it, tries to save the .mov file to the harddrive of the N900 instead of playing the live video...

    Edit | Forward | Quote | Quick Reply | Thanks

     
    floweih | # 116 | 2010-01-25, 15:59 | Report

    Hello,

    I installed the Sun Java Se for embedded like Dak described. I tried to run the application "Db Railnavigator" (can be downloaded here: http://persoenlicherfahrplan.bahn.de...=railnavigator ) but it did not work. The error-message was:

    java -jar /home/user/MyDocs/javaprogramme/dbmidlet.jar
    Failed to load Main-Class manifest attribute from
    /home/user/MyDocs/javaprogramme/dbmidlet.jar
    Nokia-N900-42-11:~#

    Please can anybody help?

    Greetings Bernd

    Edit | Forward | Quote | Quick Reply | Thanks

     
    wjbaird | # 117 | 2010-01-25, 16:13 | Report

    @floweih

    That's a midlet - so you need a J2ME (Java Mobile Edition) environment to run it in.

    What is being discussed here is a J2SE (Java Standard Edition) environment.

    I'm not sure what the status is on a J2ME environment for the N900.

    Edit | Forward | Quote | Quick Reply | Thanks
    The Following User Says Thank You to wjbaird For This Useful Post:
    SubCore

     
    CormacB | # 118 | 2010-01-25, 18:03 | Report

    Originally Posted by floweih View Post
    java -jar /home/user/MyDocs/javaprogramme/dbmidlet.jar
    Failed to load Main-Class manifest attribute from
    /home/user/MyDocs/javaprogramme/dbmidlet.jar
    Nokia-N900-42-11:~#
    To run a midlet:
    1. Install JRE
    2. Go to http://www.microemu.org/ and download the zip file
    3. Unzip the file
    4. Go to folder in terminal and run java -jar microemulator.jar
    5. Get out your stylus and used the menu to open dbmidlet.jar

    You can also use the devices menu to select the resizable device which uses the screen a bit better. Unfortunately the "scale" option seems to be very slow.
    I have peggle working for me, but with no sound.

    Edit | Forward | Quote | Quick Reply | Thanks
    The Following 3 Users Say Thank You to CormacB For This Useful Post:
    gryllida, JoHnY, qole

     
    fred123 | # 119 | 2010-01-26, 01:59 | Report

    Just downloaded JRE from sun licence says 90 day trial, hope there will be a better solution developed by then.

    Edit | Forward | Quote | Quick Reply | Thanks

     
    Ulrik | # 120 | 2010-01-26, 13:59 | Report

    Is it possible to install Java on the N900 without the 90-day trial period?

    Edit | Forward | Quote | Quick Reply | Thanks

     
    Page 12 of 39 | Prev | 2   10     11   12   13     14   22 | Next | Last
vBulletin® Version 3.8.8
Normal Logout