![]() |
2011-03-26
, 20:34
|
Posts: 435 |
Thanked: 769 times |
Joined on Apr 2010
|
#312
|
![]() |
2011-03-26
, 20:57
|
|
Posts: 566 |
Thanked: 282 times |
Joined on Sep 2010
@ Lower Saxony
|
#313
|
![]() |
2011-03-26
, 23:33
|
Posts: 12 |
Thanked: 5 times |
Joined on Mar 2010
|
#314
|
![]() |
2011-03-27
, 00:12
|
|
Posts: 159 |
Thanked: 53 times |
Joined on Jan 2011
@ Romania, Cluj-Napoca
|
#315
|
![]() |
2011-03-27
, 17:44
|
|
Posts: 323 |
Thanked: 189 times |
Joined on Oct 2010
@ Brazil
|
#316
|
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.
![]() |
2011-03-27
, 18:07
|
Banned |
Posts: 358 |
Thanked: 160 times |
Joined on Dec 2010
|
#317
|
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...
![]() |
2011-03-27
, 18:51
|
Posts: 18 |
Thanked: 46 times |
Joined on Mar 2011
|
#318
|
The Following User Says Thank You to 654321 For This Useful Post: | ||
![]() |
2011-03-27
, 19:11
|
Banned |
Posts: 358 |
Thanked: 160 times |
Joined on Dec 2010
|
#319
|
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.
![]() |
2011-03-28
, 02:50
|
|
Posts: 323 |
Thanked: 189 times |
Joined on Oct 2010
@ Brazil
|
#320
|
The Following User Says Thank You to Temporal For This Useful Post: | ||
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.