| Prev |   8     9   10 |
maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Maemo 5 / Fremantle (https://talk.maemo.org/forumdisplay.php?f=40)
-   -   JAVA on the N900 is possible! (https://talk.maemo.org/showthread.php?t=37405)

Fabry 2012-07-21 10:18

Re: JAVA on the N900 is possible!
 
New links:

Download page EJRE 6.0 Update32: http://www.oracle.com/technetwork/ja...s-1595958.html

Download page EJRE 7.0 Update4: http://www.oracle.com/technetwork/ja...d-1595957.html

Fabry 2012-08-17 10:01

Re: JAVA on the N900 is possible!
 
New versions released!

EJRE 6.0 Update34, EJRE 7.0 update 6 and for the first time JDK 7.0 update 6 Arm Version (only ARMv7 headful).

JDK is downloadable directly like windows' JDK versions, EJRE as usually needs to compile "Java SE Embedded Download Survey" or someone should find out direct links to download pages

Fabry 2012-08-18 11:59

Re: JAVA on the N900 is possible!
 
Quote:

Originally Posted by Fabry (Post 1252887)
JDK is downloadable directly like windows' JDK versions, EJRE as usually needs to compile "Java SE Embedded Download Survey" or someone should find out direct links to download pages

Direct links found out!

EJRE 7.0 update 6 : http://www.oracle.com/technetwork/ja...d-1730800.html
JDK 7.0 update 6: http://www.oracle.com/technetwork/ja...s-1637583.html
EJRE 6.0 update 34: http://www.oracle.com/technetwork/ja...s-1730801.html

GizmoSmith 2012-08-21 01:01

Re: JAVA on the N900 is possible!
 
Is that so that now JRE runs out of the box in N900!
No need for emulation and twisted workarounds & such???!!!!
Does browser integration also happen automatially during installation??

Fabry 2012-08-21 01:21

Re: JAVA on the N900 is possible!
 
Quote:

Originally Posted by GizmoSmith (Post 1253978)
Is that so that now JRE runs out of the box in N900!

Since years, Java SE runs on N900
But Oracle's EJRE must be manually installed (no deb available)
Quote:

No need for emulation and twisted workarounds & such???!!!!
I do not know what you mean
Quote:

Does browser integration also happen automatially during installation??
No automatic installation, only manual.
Java plugin for browser is present, but unfortunately MicroB (Maemo's browser) doesn't support the correct interface.
So no Java applets on MicroB.

But on Firefox and probably other browsers they work if you install the plugin in the correct folder on browser installation path.

optimaxxx 2012-11-05 14:10

Re: JAVA on the N900 is possible!
 
JDK working link

Working on arduino and N900!

wooo, wish me luck

excitement = dead.

Haha, i have to install ant, but it depends on icetea6, if my understanding is correct, the official jdk is better than icedtea, so how could i work around this requirement?

also, apache site appears to be down (at least it is for me) so I'm not having any luck there

Fabry 2012-12-15 02:51

Re: JAVA on the N900 is possible!
 
New versions released

EJRE 7.0 update 10 and EJRE update 38 here: http://www.oracle.com/technetwork/ja...ase/index.html
JDK 7.0 update 10 here: http://www.oracle.com/technetwork/ja...s-1880260.html

They are SoftFP only (Maemo is SoftFP), the promised HardFP versions (i.e. for MeeGo) aren't available yet.

sandymahrok 2013-01-09 04:27

Re: JAVA on the N900 is possible!
 
Quote:

Originally Posted by 654321 (Post 959215)
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.

what changes or improvments comes in browser after installing java.

Mr_Ryde 2013-04-03 18:41

Re: JAVA on the N900 is possible!
 
Well. I would guess that you can use some more java based websites. I am trying to get my online banking to work but I have tried several different times and got no result. Could just be the website for me though. It is know to be tempermental. :)

Mr_Ryde 2013-04-03 20:37

Re: JAVA on the N900 is possible!
 
If I am using fennec and I have run the above commands etc etc what exactly should I put in the java.java_plugin_library_name? I have tried just the file name and a path to where the file is. But still have no luck. Is there a way to test to see if it IS working and it is just that particular website (www.danskepankki.fi) login I am trying to use just won't work

Fabry 2013-09-11 10:49

Re: JAVA on the N900 is possible!
 
Since my last december post, more versions have been released by Oracle even if I have not updated the thread.
I.e Update 21 released on April and Update 25 (only JDK no EJRE released) released on July
All versions always only softFP.

Now another release has been published by Oracle.

EJRE 7.0 update 40 here: http://www.oracle.com/technetwork/ja...ase/index.html
JDK 7.0 update 40 here: http://www.oracle.com/technetwork/ja...s-1880260.html

From these versions HardFP is officially and finally supported.
Two versions for every packages (one SoftFP, one HardFP), apart ARMv5 version which is only SoftFP (no fpu under ARMv5).

To download EJRE you must be registred (free registration) to Oracle WebSite, JDK instead not requires registration.

Maemo/Debian are SoftFP, MeeGo/Nemo/Ubuntu are HardFP.

disappear 2013-09-11 12:28

Re: JAVA on the N900 is possible!
 
Thanks Fabry for the links,for all which haven't registration in Oracle,especially for ejre:
http://dox.bg/files/dw?a=6230c5760e

SebaM 2013-09-20 15:21

Re: JAVA on the N900 is possible!
 
Hi

Thre thread is quite long and very heplfull. I manage to run jad in microemulator as well as install ejre on my N900. But I'm struggling w/ java plugin to firefox. Should 'libnpjp2.so' work? I'm asking cause latest java1.7.0_40 package doesn't inlude it. But previous one, which contains, are not working w/ firefox. At least oracle java verify page is not able to detect its version.

Thanks in advance for any hint.

Fabry 2014-01-09 15:36

Re: JAVA on the N900 is possible!
 
Newer versions have been released around Mid-October 2013:

Same links, but I repeat them:
EJRE 7.0 update 45 here: http://www.oracle.com/technetwork/ja...ase/index.html
JDK 7.0 update 45 here: http://www.oracle.com/technetwork/ja...s-1880260.html

pinochio 2014-01-10 18:46

Re: JAVA on the N900 is possible!
 
I did so
Code:

sudo gainroot
cd MyDocs
mkdir /opt/java
mv ejre-7u45-fcs-b15-linux-arm-vfp-hflt-client_headful-26_sep_2013.tar.gz /opt/java
cd /opt/java
tar –xzvf ejre-7u45-fcs-b15-linux-arm-vfp-hflt-client_headful-26_sep_2013.tar.gz
ln -s /opt/java/ejre1.7.0_45/bin/* /usr/bin/

Re-start the terminal, not as root, and type the following to check for successful Java install -
Code:

java -version
and have the result:
-sh: java: not found

The files all have "-rwxr-xr-x" for their permissions.
Code:

~ $ ls -al /home/opt/java/ejre1.7.0_45/bin
drwxrwxr-x 2 uucp 143 4096 Sep 27 10:22 .
drwxrwxr-x 4 uucp 143 4096 Oct 3 01:16 ..
-rwxr-xr-x 1 uucp 143 3512 Sep 27 10:22 java
-rwxr-xr-x 1 uucp 143 3616 Sep 27 10:22 keytool

How to install the Java correctly?

In /usr/bin see permission for java and keytool rwxrwxrwx.

Fabry 2014-01-19 00:46

Re: JAVA on the N900 is possible!
 
Newer versions have been released around Mid-January 2014:

Same links, but I repeat them:
EJRE 7.0 update 51 here: http://www.oracle.com/technetwork/ja...ase/index.html
JDK 7.0 update 51 here: http://www.oracle.com/technetwork/ja...s-1880260.html

Fabry 2014-01-19 00:50

Re: JAVA on the N900 is possible!
 
Quote:

Originally Posted by pinochio (Post 1405474)
I did so
Code:

sudo gainroot
cd MyDocs
mkdir /opt/java
mv ejre-7u45-fcs-b15-linux-arm-vfp-hflt-client_headful-26_sep_2013.tar.gz /opt/java
cd /opt/java
tar –xzvf ejre-7u45-fcs-b15-linux-arm-vfp-hflt-client_headful-26_sep_2013.tar.gz
ln -s /opt/java/ejre1.7.0_45/bin/* /usr/bin/


hflt = HardFloat but Maemo is SoftFloat, please retry with sflt version

seanmcken 2014-01-27 17:33

Re: JAVA on the N900 is possible!
 
iam able to run facebook java 3.3.1 its on phoneme something, so can i run this app on oracle java without microemulator?

pinochio 2014-01-28 05:08

Re: JAVA on the N900 is possible!
 
Quote:

Originally Posted by Fabry (Post 1407417)
hflt = HardFloat but Maemo is SoftFloat, please retry with sflt version

File not found."
Can I install this way instead EJRE version of JDK?

It works:) thank you.
Code:

~ $ java -version
java version "1.7.0_51"
Java(TM) SE Embedded Runtime Environment (build 1.7.0_51-b13)
Java HotSpot(TM) Embedded Client VM (build 24.51-b03, mixed mode)

May you please detail how you have enabled Java in microB and Firefox? In this version does not have plugin libnpjp2.

pinochio 2014-01-30 22:38

Re: JAVA on the N900 is possible!
 
Quote:

Originally Posted by pinochio (Post 1409383)
May you please detail how you have enabled Java in microB and Firefox? In this version does not have plugin libnpjp2.

Here is a version that works in browser Chromium and with a plug libnpjp2
http://www.oracle.com/technetwork/ja...d-1595957.html
You will then be asked to select which version of the ARM platform you will be using Java on and you should select the "ARMv7 Linux - Headful" variant of the ARM platform. At the time of writing this article, that would be "ejre-7u4-fcs-b20-linux-arm-vfp-client_headful-12_apr_2012.tar.gz".
If anyone knows of a newer and better working version in browsers, can put on some here.

mayhem 2014-03-21 17:07

Re: JAVA on the N900 is possible!
 
new update for java se embedded 8 and i tested with my n900 cssu stable and it work but last thing while installing is to use this ln -s /opt/java/ejre1.8.0/linux_arm_vfp_sflt/jre/bin/* /usr/bin/ Not ln -s /opt/java/ejre1.7.0_45/bin/* /usr/bin/

edit: better to stay version 7 Update 51 because some of the my apps doesn't work with 1.8.0 and work with 1.7.51

pinochio 2014-03-25 22:28

Re: JAVA on the N900 is possible!
 
Just that these versions do not have the plugin libnpjp2 and do not work in browsers.

pinochio 2014-04-13 20:42

Re: JAVA on the N900 is possible!
 
If someone tried to compile the icedtea-6-plugin for java 6 https://packages.debian.org/pl/squee...lugin/download
or icedtea-7-plugin for java 7 https://packages.debian.org/search?k...edtea-7-plugin
https://packages.debian.org/pl/wheez...lugin/download
and you can use them to run Java in browsers?

Fabry 2014-06-12 18:49

Re: JAVA on the N900 is possible!
 
ejre (and jdk) 7 update 60 (1.7.60) now available.
ejre (and jdk) 8 still at 1.8.0


| Prev |   8     9   10 |
All times are GMT. The time now is 21:58.

vBulletin® Version 3.8.8