![]() |
Re: JAVA on the N900 is possible!
Hello,
the microemulator does not work. The error message is: java -jar /home/opt/microemulator-2.0.4/microemulator.jar Exception in thread "main" java.awt.AWTError: Cannot load AWT toolkit: gnu.java.awt.peer.gtk.GtkToolkit at java.awt.Toolkit.getDefaultToolkit(Toolkit.java:60 7) at javax.swing.plaf.basic.BasicLookAndFeel.initialize (BasicLookAndFeel.java:1720) at javax.swing.UIManager.setLookAndFeel(UIManager.jav a:912) at javax.swing.UIManager.<clinit>(UIManager.java:245) at org.microemu.app.Main.main(Main.java:1024) Caused by: java.lang.UnsatisfiedLinkError: Native library `gtkpeer' not found (as file `libgtkpeer.so') in gnu.classpath.boot.library.path and java.library.path at java.lang.Runtime.loadLibrary(Runtime.java:763) at java.lang.System.loadLibrary(System.java:670) at gnu.java.awt.peer.gtk.GtkToolkit.<clinit>(GtkToolk it.java:177) at java.lang.VMClass.forName(Native Method) at java.lang.Class.forName(Class.java:233) at java.awt.Toolkit.getDefaultToolkit(Toolkit.java:58 3) ...4 more Nokia-N900-42-11:~# Which Version of the java jre is the right one? The hard floating or the soft floating? Who can please help? Greetings |
Re: JAVA on the N900 is possible!
Quote:
http://www.camswl.com/openjdk Someone else posted that link already earlier in the thread but i am kinda weak in remembering names. ;) It works quite well for me here. |
Re: JAVA on the N900 is possible!
Using
ejre-1_6_0_10-ea-b39-linux-armv6-vfp-eabi-headless-eval-30_jul_2009.tar.gz microemulator-2.0.4 Runing the command Nokia-N900-51-1:/home/opt/java/microemulator-2.0.4# java -jar microemulator.jar I get error below Exception in thread "main" java.awt.HeadlessException at java.awt.GraphicsEnvironment.checkHeadless(Graphic sEnvironment.java:159) at java.awt.Window.<init>(Window.java:414) at java.awt.Frame.<init>(Frame.java:403) at java.awt.Frame.<init>(Frame.java:368) at javax.swing.JFrame.<init>(JFrame.java:163) at org.microemu.app.Main.<init>(Main.java:772) at org.microemu.app.Main.<init>(Main.java:769) at org.microemu.app.Main.main(Main.java:1029) Any suggestions? |
Re: JAVA on the N900 is possible!
OK found problem was sing headless jre.
Now trying to get my traffic tv app to run, is there any way of changing the font size? |
Re: JAVA on the N900 is possible!
Quote:
Managed to get this running too - running OpenJDK and MIcroEmu. Created a Menu link which launches MicroEmu running Opera Mini 4.2, works as fast as I'd expect it from a J2ME comaptible phone. I'm going to make an easier guide to follow for other people to implement. Only thing left would be to create a .deb file to automate the install. |
Re: JAVA on the N900 is possible!
Quote:
|
Re: JAVA on the N900 is possible!
Given MicroEmu and Opera Mini 4.2 on OpenJDK a good test this weekend using only a 2G connection. The experience is comparable to MicroB if you leave the screen effects enabled and navigate as you usually would. Though the zooming features aren't there it does come in handy when WiFi and 3G are not available.. Only thing about it is the font used by MicroEmu, I'd like to try and change it but I don't know where to edit this.
I did try using Opera Mini 5 beta, but this ran more sluggish.. Next test is to use J2SE as the Java base and see if it makes any difference. In the main this would run better if J2ME was supported natively or through PhoneME, but this is the best work around so far. ---------- Back on topic it looks like OpenJDK is running fine. Assuming that Nokia won't provide native Java support at a later date, this should be made available as an install from the repository. |
Re: JAVA on the N900 is possible!
Hi all,
I'm a person behind the MicroEmu. I've been watching that forum from time to time. I've noticed there is significant interest in running Java ME applications on Maemo platform using MicroEmu. I'm eager to help in making MicroEmu better for Maemo. What in your opinion is the most important to do? |
Re: JAVA on the N900 is possible!
Quote:
|
Re: JAVA on the N900 is possible!
I have tried using it to run TrafficTv, I find that the font size is a little small.
if I can get that and maps working I could sell my n97! |
Re: JAVA on the N900 is possible!
i would love to be able to run Java ME applications on the n900, it would be a brilliant feature to have It's great to see so much interest and keenness on the thread, looking forward to following along and seeing what y'all come up with :)
|
Re: JAVA on the N900 is possible!
Well if someone are supposed to express their wishes then ;)
Direct support of Location API (JSR-179) or Bluetooth API (JSR-82) would be good. Or if that's not possible, describe how or if OpenLAPI/Bluecove/ integration would be possible on maemo platform? |
Re: JAVA on the N900 is possible!
Quote:
|
Re: JAVA on the N900 is possible!
Quote:
|
Re: JAVA on the N900 is possible!
Quote:
|
Re: JAVA on the N900 is possible!
Well if we are putting in requests I would really like to run the J2ME Audible Air client.
|
Re: JAVA on the N900 is possible!
Quote:
1) I understood that this is not the full OpenJDK (no JIT) but a interpreted version of it. Is this correct? 2) Is there any one thinking of packaging it or another OpenJDK-based jvm to place it into extra-testing? 3) Does anybody know if that version of the OpenJDK will be enough to run Scala (language) applications? :D |
Re: JAVA on the N900 is possible!
Quote:
Quote:
Quote:
|
Re: JAVA on the N900 is possible!
Does anyone know if there is a java version of google maps 3?
|
Re: JAVA on the N900 is possible!
can someone try Runescape java web browser based game be played with this? can anyone try to load the game up, no need to play it just load the game?
i would love to know if its possible =) |
Re: JAVA on the N900 is possible!
Quote:
So, my guess is that it really comes down to the N900 browser. Does it support plugins like Firefox? |
Re: JAVA on the N900 is possible!
I does support firefox plugins and addons, but people seem to be having problems getting them to work.
|
Re: JAVA on the N900 is possible!
Quote:
I meant the Java plugin. In Konqueror, you just specify the location of the JVM runtime (java). In Firefox, on the other hand, you must specify the location of the Java plugin. Hence, on some browsers you only need the Java runtime to be able to use Java Applets (inside browsers). In other browsers, you need the Java plugin, a separate package, for Java Applets to work. |
Re: JAVA on the N900 is possible!
can someone test runescape pls???
|
Re: JAVA on the N900 is possible!
Ok I'm using the sun embeded jre and have the java plugin enabled in microb.
If I load a page with an applet the page loads without any errors but the applet just shows as a black box, any suggestions |
Re: JAVA on the N900 is possible!
Quote:
I would also like to see fonts improved. Some way to set font size would be nice, and it would be nice if the fonts were smoothly rendered. Finally, I would love to see MicroEmu packaged for Maemo, with the OpenJDK included. |
Re: JAVA on the N900 is possible!
...and I would like to be able to run ylld.jar.
Don't you know what is it? It's a java version of shazam id (the application who listens at music and tells you title, album and author). You can find it in several forums, either as ylld.jar or as yyld.jar (someone's typo). I've tried it on an install of microemulator (the one you can download from maemo.ru, and where opera mini 4 works well) but yyld outputs some java errors from the terminal that I won't be able to understand in the next fifty years :) |
Re: JAVA on the N900 is possible!
Hi all,
Thanks for the feedback related to the MicroEmu. As you probably discovered yourself the manual at http://www.microemu.org/maemo is outdated and doesn't work at all. Now I'm trying to update that instruction and make it even simpler. When it starts working again we should have discussion on the plan what to do next. At the moment I'm struggling to compile GNU Classpath 0.98 with the ECJ compiler. Maybe someone has done it before and can help me in that. |
Re: JAVA on the N900 is possible!
Quote:
|
Re: JAVA on the N900 is possible!
For some unknown reason, the font used by MicroEmu has changed to Courier Italic! No idea why or how but I'd let you Opera Mini looks wierd with pages rendered in this font :)
|
Re: JAVA on the N900 is possible!
Hey all.
I installed my DVD of UptoDate 17.3 on my internal memory card. I'd like to run this under Garnet VM if possible. All the files, which total around 1.8 gigs in size, are in .jar format. The program is just basic text output to the screen along with non-animated images. The installation went fine but went I start it up, I get a segmentation fault most likely due to not having any type of java support. So to keep things simple, is there any possible chance of having this work? This app is probably the most important thing to me in the world. Here's a basic screen shot of what it put on my memory card. http://img707.imageshack.us/img707/1408/20046689.png My expectations on this is very low but still had to at least ask you guys. :) |
Re: JAVA on the N900 is possible!
Quote:
do as the first post of this: http://talk.maemo.org/showthread.php...ght=java+opera - the thing you have to download and uncompress in /home/user is this: http://maemos.ru/wp-content/uploads/...opera_mini.zip then after confirming that it works by running opera mini, you can try with your medical jar files by command line; as far as I can tell should be java -jar microemulator.jar yourmedicalfile.jar Good luck :) |
Re: JAVA on the N900 is possible!
Quote:
I'll give this my best try later on today. The DVD would only install this if it was connected to something that it liked, and I guess it wanted to get friendly with Garnet VM. From there, it installed some type of stamp on my memory card where I needed to remove it from my device and place the card into a memory card reader to download the 1.8 gigs of crud onto it. After that, I had an install file in Garnet that worked without complaint. So maybe there is some hope on this afterall. The only thing is that this app is quite expensive, up to $1,500 for a one year subscription, though I get a moderate discount on it. My worry is that the encoding needs to be hacked if it's not running naturally like intended. If using this by command line, I can easily make a custom desktop file to achieve such a thing. Anyway, I'll give it a whirl and see what happens from it. Many thanks again Deb! |
Re: JAVA on the N900 is possible!
Stil trying to get java working with microb.
libnpjp2.so is shown as enabled is add-ons plugins what else would be needed to enable java on a web page |
Re: JAVA on the N900 is possible!
Hey there Deb.
I've tried to download the java_nokia_n900_maemo5_opera_mini zip file you suggested on my tablet and even my home computer. All three times the file crapped out at around 12 megs and when trying to open it, there's some kind of a file corruption message. I'm not sure what is wrong with this or what to do here. |
Re: JAVA on the N900 is possible!
Quote:
|
Re: JAVA on the N900 is possible!
Try this: http://rapidshare.com/files/34785693...opera_mini.zip
33.849.953 bytes |
Re: JAVA on the N900 is possible!
Public transport in east Austria has a presumably nice tool to get all their schedules on the mobile. But they do not support N900.
:( Please - is there anybody who would help me to get the Java version of www.qando.at to run on N900? Thanks! |
Re: JAVA on the N900 is possible!
Quote:
|
Re: JAVA on the N900 is possible!
Microemulator can be made to have a large display, you have to set it in Options -> Select Device. Change the default to "Resizable Device".
EDIT: I can't get either qando.jar or qandoTouch.jar to open in MicroEmulator. It says "loading" but in the terminal, it gets an error ("java.lang.IllegalArgumentException: Malformed \uxxxx encoding")... EDIT-EDIT: You can use "qando light" but it really is awful. This is probably what fred123 was talking about. It only uses a tiny corner of the display and no graphics to speak of. |
| All times are GMT. The time now is 12:14. |
vBulletin® Version 3.8.8