![]() |
Re: Java for Maemo 5
can we port whatsapp java app for symbian s 60 in n900?
|
Re: Java for Maemo 5
is it ok if i copy the folder to home/opt/java with filebox instead of the method with the ip adress?
|
Re: Java for Maemo 5
Quote:
|
Re: Java for Maemo 5
So, why should we use headful instead of headless?
Btw. are all the "no hardfp on softfp" people talking ********? http://talk.maemo.org/showthread.php?t=69374 recommends hard vfp and it works. |
Re: Java for Maemo 5
and what is that java which is on websites lile sahaj:)
|
Re: Java for Maemo 5
has anybody installed java se for embedded 7 on n900? i know there is a article for java se for embedded 6 but when following the very same steps it does not work....the s6 is no longuer available so I could only get the 7....help, anybody?
|
Re: Java for Maemo 5
I tried to install Java 8 on Maemo 5 (N900) and it worked (headless). But I wanted to run my own Java applications (with GUI) to make my N900 useable in 2016 (Telegram for Java, own java, applications, ...)
Then I read that "Oracle has withdrawn their support for JavaFX Embedded [...]" (h t t p s : / /jaxenter.com/jdk-arm-without-javafx-end-javafx-embedded-114212.html) :( I decided to work on Java Swing at least. But I only found headless embedded Java environments... Nevertheless I build my own JAVA JRE 8 to launch Java Swing application on my N900: I downloaded Java SE Embedded (SoftFP, LE): h t t p : / /download.oracle.com/otn-pub/java/ejdk/8u111-b14/ejdk-8u111-linux-arm-sflt.tar.gz or h t t p : / /www.oracle.com/technetwork/java/embedded/embedded-se/downloads/index.html (the HardFloatingPoint version did not work for me :D) and copied it on the device, extracted the archive (to /opt/ejdk-8u111/) Code:
tar xvzf ejdk-8u... (more information: h t t p s : / /docs.oracle.com/javase/8/embedded/develop-apps-platforms/jrecreate.htm) Code:
./opt/ejdk-8u111/bin/jrecreate.sh --dest /opt/jre_builded After 100 teas (or more ^^) I linked the java executable file to my /usr/bin -------------------------------------------------------------------- EDIT: I forgot to mention that you need to do this ^^: Code:
chmod +x /opt/jre_builded/bin/java -------------------------------------------------------------------- Code:
ln -s /opt/jre_builded/bin/java /usr/bin https://s14.postimg.org/mtnnwy5td/Sc...120_102340.png But I also wanted to run my Java Swing helloWorld test application. Something strange happened: https://s17.postimg.org/lwhvtpzkf/Sc...120_103336.png The created JRE is headless :( I googled for a while and found this StackOverflow topic (I love StackOverflow!) h t t p : / /stackoverflow.com/questions/34643571/how-do-i-make-jrecreate-compile-a-headful-jre/34644174#34644174 This guy shared a very funny idea with the community. He said: Quote:
Proof: I downloaded Code:
ARMv5/ARMv6/ARMv7 Linux - SoftFP ABI, Little Endian 2 I downloaded Code:
ARM v6/v7 Linux - VFP, HardFP ABI, Little Endian 1 But it is not written down on the website... So what I did and what you can do is grabbing this little Code:
lib/arm/libawt_xawt.so Code:
/opt/jre_compiled/lib/arm/libawt_xawt.so https://s14.postimg.org/6jxhu1v5d/Sc...120_102518.png https://s14.postimg.org/g5r2acmb5/Sc...120_102529.png -------------------------------------------------------------------- EDIT: Perhaps someone would be so kind as to help me getting JavaFX working on Maemo 5 :D I'll try it the next weeks but it will be almost impossible to do this without thinking about it hard ^^ and without wasting weekends for this shhhhhh... shaving cream Excuse my language ^^ :cool: If you want to help me or if you have any ideas, please write me: pilo.eleven@mail.ru :D -------------------------------------------------------------------- Cya Pilo11 |
All times are GMT. The time now is 05:08. |
vBulletin® Version 3.8.8