![]() |
Re: JAVA on the N900 is possible!
At the moment, the answer is no. There is a way but it is not so easy: OpenJDK with MicroEmulator + a skin to ease use, then you have to download and start .jad or .jar files in MicroEmu.
Working, slowly because Java bytecode is interpreted and JVM+MicroEmu requires too much memory. That is why I'm working on the port of Symbian JRT http://developer.symbian.org/wiki/JRT as a proof of concept. For a real end-user deployment, I guess we will face many licensing and royalties issues... |
Re: JAVA on the N900 is possible!
There seems to be a new release Java SE for Embedded 6 Update 21 which doesn't expire (at least there is no mentioning of this).
Tried it out ... works well! |
Re: JAVA on the N900 is possible!
Which one do you use:
headless / headful ? Does it work together with OpenJDK or have I to uninstall it first? |
Re: JAVA on the N900 is possible!
I've downloaded the headful version.
Since it's just a tarball which can be unpacked to a directory of your choice, it should be possible to use it without uninstalling OpenJDK first (I didn't test it). Of course, as long as the OpenJDK "java" binary is linked to /usr/bin/java, you will always have to specify the full path to the Sun "java" binary in order to use it. |
Re: JAVA on the N900 is possible!
I have compared MicroEmulator startup with OpenJDK and Oracle JavaSE embedded (armv7, headful) and Oracle JavaSE runs a little faster.
If you want it to be used for MicroEmulator, edit /usr/bin/microemulator script and replace "java" by the full path to the location where you extract Oracle JavaSE embedded. |
Re: JAVA on the N900 is possible!
The microemulator 3.0.0 is really nice!!!
It works with google maps full screen! But there is a little thing: My keyboard. The regional settings are not respected. The up and down buttons don't work, only left and right. With an external bluetooth keyboard everything works well. Is there a chance to change that behaviour? |
Re: JAVA on the N900 is possible!
i just wanna know if we can run java on n900 is it possible to use skyfire (symbian) that way so we can view any websites including hulu?
|
Re: JAVA on the N900 is possible!
CONGRATULATION DUDES!
JAVA IS IMPRESSIVE! SO MANY APPS TO TRY NOW!! nice one dudes! |
Re: JAVA on the N900 is possible!
Quote:
latest in the repos is 2.0.4.62. |
Re: JAVA on the N900 is possible!
Quote:
|
Re: JAVA on the N900 is possible!
And also the keyboard problem is solved!
There is a nice keyboard layout application from qole! I've only two chose US-layout and all directional buttons work!! Everything works! |
Re: JAVA on the N900 is possible!
Quote:
|
Re: JAVA on the N900 is possible!
Bumping here my post #147:
there's an old edition of the shazam id program which you can find in forums (I can't swear it's legally allright). It's called ylld.jar or yyld.jar (someone's typo). It works well on my symbian phone and could be an excellent addition to our n900 which hasn't been taken in consideration by the shazam developers. Well, when I throw it at the latest microemulator (on my ubuntu box), it outputs some errors. I haven't the expertise to debug the thing, but maybe someone here could try and make us happy with a shazam app. Here's the error log: Code:
ubuntu@ubuntu:~/Desktop/microemulator-3.0.0-SNAPSHOT$ java -jar microemulator.jar |
Re: JAVA on the N900 is possible!
You should modify the command line a bit:
java -cp microemulator.jar:lib/microemu-jsr-135.jar org.microemu.app.Main |
Re: JAVA on the N900 is possible!
@LagunaCid
I took: - Java from the Sun (Oracle) Website (headful) - Microemulator from the website (3.0.x.x) - Layout applet from qole - gmaps-232-m2_ts_L1.jar from this thread On satellite view I can even see my house. On some spots there is streetview. (In fact: My standard Java installation is openJDK. But I've installed Sun Java only for the Microemulator. I've modified the startup file of microemulator to use the binaries of SUN. I gave the full path of the binaries of SUN.) |
Re: JAVA on the N900 is possible!
i have one question
i have installed the Frostwire p2p client. http://talk.maemo.org/showthread.php...233#post923233 and wrote a shell script: Code:
cd /home/user/MyDocs/frostwire-4.21.2.noarch/However i get a internel error. When i delete the line with Code:
cd /home/user/MyDocs/frostwire-4.21.2.noarch/anybode can help? |
Re: JAVA on the N900 is possible!
Code:
java -jar /home/user/MyDocs/frostwire-4.21.2.noarch/FrostWire.jar |
Re: JAVA on the N900 is possible!
|
Re: JAVA on the N900 is possible!
Quote:
Code:
#!/bin/shCode:
[Desktop Entry] |
Re: JAVA on the N900 is possible!
Quote:
i tryed this and the problem is, that the program doesnt find the nessesary files in the program folder |
Re: JAVA on the N900 is possible!
Quote:
Code:
Exec=sh /opt/frostwire-4.21.2.noarch/frostwire.sh |
Re: JAVA on the N900 is possible!
Quote:
which java version did you install from oracle? can you post alink? Thanks |
Re: JAVA on the N900 is possible!
I did it a long time ago, difficult to remember.
I think it is this link: http://www.oracle.com/technetwork/ja...ads/index.html Take EABI armv7 linux headful (Would be nice if anybody could confirm) For the start of microemulator.jar you can look in /usr/bin/microemulator Its a script that starts microemulator. I did a forbidden thing and edited the main command to: /home/user/microemu-maemo/ejre1.6.0_21/bin/java -jar /home/user/microemu-maemo/microemulator-3.0.0-SNAPSHOT/microemulator.jar Now my microemulator icon starts the new microemulator with sun java, although my standard java installation is openJDK. You have to take the fullpath of YOUR installation. |
Re: JAVA on the N900 is possible!
Hi guys, do you know any Java applications that worth the time apart from jDownloader?
I've been searching and it seems that Freecol and Runescape run too slow. And most of .jar out there are J2ME applications. |
Re: JAVA on the N900 is possible!
hi guys
I want to execute a jar application without using MicroEmulator ??? i tried to execute this line Quote:
Quote:
so any help I have icedtea6_1.8-5 |
Re: JAVA on the N900 is possible!
I enabled java in browsers but when I want to check java version here in microb is not working.
http://i52.tinypic.com/33yhqup.png Another site like http://www.pingtest.net is working. Is a timeout for running scripts that I can alter to allow longer execution time in microb? In Firefox and Chromium is working fine. http://i52.tinypic.com/2e6bj4n.png http://i55.tinypic.com/25yzsjm.png |
Re: JAVA on the N900 is possible!
May you please detail how you have enabled Java in Firefox and Chromium ?
Which Java version have you used ? |
Re: JAVA on the N900 is possible!
Download java (Java SE for Embedded 6 Update 21 (Build 9) ARMv7 Linux - Headful, EABI, Hard Float (VFP), Little-Endian) from here: https://cds.sun.com/is-bin/INTERSHOP...-CDS_Developer
Extract ejre1.6.0_21 from the archive to MyDocs in N900 Move ejre1.6.0_21 to /opt (I was using MC) Run in terminal as root: ln -s /opt/ejre1.6.0_21/bin/* /usr/bin/ chmod 777 /usr/bin/java ln –s /opt/ejre1.6.0_21/lib/arm/libnpjp2.so /usr/lib/browser/plugins/libnpjp2.so ln –s /opt/ejre1.6.0_21/lib/arm/libnpjp2.so /home/user/.mozilla/plugins/libnpjp2.so Then in microB and Firefox type about:config in address Search for java Change java.java_plugin_library_name to libnpjp2.so I don’t know if changing in about:config is needed because I did this at the beginning. After that chromium was running java without any changes. |
Re: JAVA on the N900 is possible!
shMessenger seems to be a JavaME application and it probably cannot run without Microemulator. But you can pass the jar file name as argument to the micro-emulator startup script to start the application directly.
Look for MicroEmulator skins to ease use on N900. |
Re: JAVA on the N900 is possible!
I've seen Nokia has developed some Nokia S40 FourSquare applications and I wanted to try them on the N900 with the MicroEmulator but it doesn't seem to work.
Can anyone else try and tell me their feedback. http://betalabs.nokia.com/apps/fours...d_installation Thanks, |
Re: JAVA on the N900 is possible!
Quote:
ln –s /opt/ejre1.6.0_21/lib/arm/libnpjp2.so /usr/lib/browser/plugins/libnpjp2.so ln –s /opt/ejre1.6.0_21/lib/arm/libnpjp2.so /home/user/.mozilla/plugins/libnpjp2.so I get: ln: -s: No such file or directory ln: /usr/lib/browser/plugins/libnpjp2.so: Invalid cross-device link and ln: -s: No such file or directory ln: /home/user/.mozilla/plugins/libnpjp2.so: Invalid cross-device link what's wrong? Many thanks. |
Re: JAVA on the N900 is possible!
@BBlue: The "–" you're typing is not the right one ("-"), in my opinion. So it doesn't recognize it as an option but as a path, and the ln command fails since it's not possible to make an hardlink between different partitions. Check better that character.
|
Re: JAVA on the N900 is possible!
@geojoking
Not working. Most likely uses S40 specific api(s). I only tried the one version that had a direct link to the .jar. |
Re: JAVA on the N900 is possible!
Quote:
|
Re: JAVA on the N900 is possible!
Quote:
|
Re: JAVA on the N900 is possible!
Quote:
1)Removed Microemulator and icedtea; 2)I typed ln -s and then copied the rest. Looks like there's some kind of weird character that messes things in here... 3)Put the -f after ln -s to FORCE the thing to make the link. But even after, the thing just kinda worked. Firefox tries to load but crashes more often then not while trying to load applets, AND Microb shows a black screen in the place of the applet. SOMETIMES if I zoom the applet, it appears, but then it goes black the time I move the window. I'm yet to try on chromium... |
Re: JAVA on the N900 is possible!
Quote:
|
Re: JAVA on the N900 is possible!
Well… The steps are copied here from different sources but I never paste it in N900. I start typing on N900 keyboard and use TAB for autocomplete.
Some applets do not work in microB but work in Firefox or Chromium and Firefox or Chromium never crashed on my device (when I was playing with java) and I didn’t have any problems with symlinks. |
Re: JAVA on the N900 is possible!
Quote:
|
Re: JAVA on the N900 is possible!
update - installed chromium and worked. Now I have the possibility to show java applets in a browser if needed.
My fennec 1.1 just show a black thing and Microb sometimes show something and sometimes not, but I cannot interact with the thing. Here is the site I'm using: http://www.schubart.net/rc/ |
| All times are GMT. The time now is 12:14. |
vBulletin® Version 3.8.8