![]() |
Re: JAVA on the N900 is possible!
Quote:
|
Re: JAVA on the N900 is possible!
Update: Yes, Opera Mini runs fast enough, but it seems to have some interaction bugs under this system... Can't seem to enter text into a text field properly. The OK button doesn't do anything...
|
Re: JAVA on the N900 is possible!
Quote:
|
Re: JAVA on the N900 is possible!
Nope. Not going to either ;)
I played OpenArena on my N900 on the bus last night. Mobile phone games just don't do it for me. |
Re: JAVA on the N900 is possible!
Quote:
I had typed: Code:
tar cvfz filename.tar.gz filename.ext I will delete my post. |
Re: JAVA on the N900 is possible!
This is indeed great stuff...made a quick Swing app that fetches some train timetables from a certain WWW-page. Works like a charm! :)
Dak, have you had any luck registering the jar files so that one could start a Java app more easily? |
Re: JAVA on the N900 is possible!
Quote:
One thing I noticed is that the java application (using Swing) takes a really long time to start (almost 10 seconds). There probably is nothing that can be done to speed this up.... |
Re: JAVA on the N900 is possible!
Quote:
It would be really interesting to see a java application using the phones native API's via JNI. :) |
Re: JAVA on the N900 is possible!
Quote:
|
Re: JAVA on the N900 is possible!
with auto-aim ofc =)
|
Re: JAVA on the N900 is possible!
|
Re: JAVA on the N900 is possible!
Quote:
Any Idea how to give the full screen to the java app? Needs some communication with the window-manager? |
Re: JAVA on the N900 is possible!
http://rapidshare.com/files/32352022...armel.deb.html
MD5: CF9852C9725FAEAD3035E4F13AFA0380 Java se for armv6 + microemulator + icon ( .desktop file ) only need a .jar/.jad.... and go! |
Re: JAVA on the N900 is possible!
Quote:
|
Re: JAVA on the N900 is possible!
Quote:
http://netload.in/dateilZgA2SUinb/ja..._armel.deb.htm this is the same as above |
Re: JAVA on the N900 is possible!
Quote:
|
Re: JAVA on the N900 is possible!
ahhh...
the java is a trial of 90 days... but, you can reset... uninstalling, and installing again :) ( at the first run of java, it change a file... ) |
Re: JAVA on the N900 is possible!
I rebooted during the installation ((
|
Re: JAVA on the N900 is possible!
I folowed the instructions of Dak but when I try to run a jar i get:
An unexpected error has been detected by Java Runtime Environment: SIGBUS (0x7) at pc=0x4007ae44, pid=2016, tid=1088148624 Java VM: Java Hotspot(TM) Client VM (11.0-b15 mixed mode linux-arm) Problematic frame: V [libjvm.so+0x5ee44] the .tar I installed is : ejre-1_6_0_10-ea-b39-linux-armv6-vfp-eabi-min-eval-30_jul_2009.tar.gz (from Dak's link) Anyone had the same error or has any clue of the cause? Tnx |
Re: JAVA on the N900 is possible!
That seems like a problem with the jar, not the JVM....
Do you have a simple java app jarfile to run to test the JVM? REALLY simple....like just creating an application window. |
Re: JAVA on the N900 is possible!
Quote:
|
Re: JAVA on the N900 is possible!
Quote:
Code:
hostname Your scp command on your host computer then becomes: Code:
scp -r ejre1.6.0_10 root@Nokia-N900-42-11/home/opt/java At any rate, pretty interesting that you got the jre running. |
Re: JAVA on the N900 is possible!
Quote:
Your PC will not know WTF "Nokia-N900-42-11" means, otherwise. Please don't post misleading information. Think it through and double-check your work. There are many new linux enthusiasts here that could be unnecessarily confused by such things. |
Re: JAVA on the N900 is possible!
Quote:
Code:
127.0.0.1 localhost.localdomain localhost my_host_name |
Re: JAVA on the N900 is possible!
I knew your method wouldn't work, but I tested it anyway (Fedora12 box)....and sure enough, it didn't work.
It is clear that you didn't check your work because you don't understand WHY it worked for you. If youi're going to suggest things like this, you should explain them fully. How is the name ""Nokia-N900-42-11" being correctly resolved to an IP address on your machine/network? |
Re: JAVA on the N900 is possible!
Quote:
http://www.screencast-o-matic.com/watch/cQl3f6hus Quote:
Quote:
I tend not to explain things that aren't going to damage a person's computer. And don't mind answering questions that arise because of some element that I introduced into a conversation. At any rate, for the sake of not confusing things further and attempting to make this thread at least some-what OP related, two things that I believe make it work on my box and not yours are: 1) I have DHCP enabled 2) both my laptop and N900 are connected on the same wifi network. That being said for the sake of clarity, my original post should have been something like this: "If both your N900 is connected to your home wifi connection, you should be able to replace the IP address with the host name without modifying any files on your system." |
Re: JAVA on the N900 is possible!
Ok, guys, you're BOTH doing good work here. ;)
|
Re: JAVA on the N900 is possible!
I too have DHCP and wifi....yet it doesn't work. I understand why it doesn't work and don't expect it to work. This is why I raised the warning flag about your suggestion - on most stock systems it likely won't work either.
There is more to your config....you really should explain what. DNS server? NIS? Funky WINS router etc? |
Re: JAVA on the N900 is possible!
Dak, aspidites, seriously. Break it up.
This is way off topic anyway, since using scp to transfer the files from a desktop is not the best way to do this. Go to the Embedded Java web page with your N900's browser and download the file directly to your N900, then follow Rob1n's instructions for extracting the files to your /opt directory. But if you really insist on using scp, try to ping your N900's host name. If that doesn't work, use the IP address (as shown by a couple of widgets you can get for your n900's desktop). It just isn't a big deal. |
Re: JAVA on the N900 is possible!
I tend to download everything to my repository server - huge storage - hence my initial use of scp.
But you're right....downloading directly to the N900 and using "tar -xzvf" is far more direct. Anyway, I'm still fubar with the jarfile mime registration....and I'm working on some crude java benchmarking app to see how hard we can push this baby. Still no word from Sun regarding licene/royalties. |
Re: JAVA on the N900 is possible!
Quote:
*edit* I also tested it with the Java2Ddemo from the sun site ... same error. Detailed output: # # An unexpected error has been detected by Java Runtime Environment: # # SIGBUS (0x7) at pc=0x4007ae44, pid=1784, tid=1088148624 # # Java VM: Java HotSpot(TM) Client VM (11.0-b15 mixed mode linux-arm) # Problematic frame: # V [libjvm.so+0x5ee44] # # If you would like to submit a bug report, please visit: # http://java.sun.com/webapps/bugreport/crash.jsp # The crash happened outside the Java Virtual Machine in native code. # See problematic frame for where to report the bug. # *edit* |
Re: JAVA on the N900 is possible!
Sorry beli, I cannot debug your java app via this forum. All I can tell you is that I have never seen such an error....yet.
Can you make the jarfile & source available for download in a zipfile or something? I'll happily test it on my N900 for you. |
Re: JAVA on the N900 is possible!
I can say that the Java 2D demo works fine on my N900. In fact it works surprisingly well!
|
Re: JAVA on the N900 is possible!
Ok, I reflashed my OS and now Java2D demo works as well. Guess something was wrong with my system ...
|
Re: JAVA on the N900 is possible!
Quote:
but no jad files work!! It gives me a lot of errors... why? |
Re: JAVA on the N900 is possible!
|
Re: JAVA on the N900 is possible!
rlinfati: can you enter text into a text field on a web page with Opera Mini? The "OK" button just doesn't work for me...
|
Re: JAVA on the N900 is possible!
will it be in a repo?
|
Re: JAVA on the N900 is possible!
I just installed this from the .deb file, and tried to run google maps from a JAD file. It is running in a tiny area (144wide?) and I can't click the 'accept' button, but it runs.
Any chance of it really working? Can ME access the GPS? It would be nice to have, even without touchscreen. Anything is better than Ovi Maps. |
Re: JAVA on the N900 is possible!
@qole: on n900 yes, on n800... untested..
@tousisd no, sorry @myk no gps |
All times are GMT. The time now is 15:26. |
vBulletin® Version 3.8.8