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.
sorry, when i try to execute this commands:
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
@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.
@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.
Thanks, yes the character was wrong, but now, in firefox, when I try the test page, it displays me: Something is wrong. Java is not working.
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.
Here the instructions kinda worked when:
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.
Here the instructions kinda worked when:
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...
I get the same result from following this how-to, java-plugin in microb didn't work. I don't have chromium. But 3) didn't worked for me I had to copy the file to the plugins folder.
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.
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.
I use TAB too it didn't work but copy worked so I try to avoid a headache. Too bad my applet didn't work in microb. Do know you if it is possible to run a java applet from cli?