| Prev | 28   36     37   38   39   | Next
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 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.


| Prev | 28   36     37   38   39   | Next
All times are GMT. The time now is 21:58.

vBulletin® Version 3.8.8