Go to advanced search

by chriswhocodes
Tue Jul 10, 2018 10:09 pm
Forum: Java
Topic: JavaFX application not working on Raspbian Stretch/Raspberry Pi Zero W 1.1
Replies: 5
Views: 4407

Re: JavaFX application not working on Raspbian Stretch/Raspberry Pi Zero W 1.1

Thanks for this information xranby, ltorok.

I've made this fix in my OpenJFX build server for ARM: https://chriswhocodes.com/

https://chriswhocodes.com/downloads/ope ... cm-fix.zip

Cheers,

Chris
by chriswhocodes
Sun Mar 05, 2017 11:43 am
Forum: Java
Topic: JITWatch on Pi3 with OpenJFX and hsdis
Replies: 0
Views: 627

JITWatch on Pi3 with OpenJFX and hsdis

Hi all, I've just blogged about how to get JITWatch (a Java JIT-compiler analysis tool) working on Pi/Raspbian including OpenJFX for running the UI in windowed mode and steps for building hsdis (HotSpot disassembler) for viewing the disassembled native ARM code produced by the HotSpot JIT compilers....
by chriswhocodes
Mon Apr 18, 2016 8:39 pm
Forum: Java
Topic: Where's JavaFX in recent Java 8u33 for the ARM ?
Replies: 28
Views: 29456

Re: Where's JavaFX in recent Java 8u33 for the ARM ?

Quick update:
The OpenJFX nightly build server now has a domain name:

http://chriswhocodes.com/

Cheers,

Chris
by chriswhocodes
Wed Mar 18, 2015 8:57 am
Forum: Java
Topic: Where's JavaFX in recent Java 8u33 for the ARM ?
Replies: 28
Views: 29456

Re: Where's JavaFX in recent Java 8u33 for the ARM ?

I guess you could try and create your own "Frankenstein" ARM JDK using 8u33 + OpenJFX nightly + media binaries from older Oracle JDKs ?

I'll let you know if I can make any progress getting the media stuff to compile for armv6hf.

Cheers,

Chris
by chriswhocodes
Mon Mar 16, 2015 10:49 pm
Forum: Java
Topic: Where's JavaFX in recent Java 8u33 for the ARM ?
Replies: 28
Views: 29456

Re: Where's JavaFX in recent Java 8u33 for the ARM ?

Hi Fidelius, You're right, some of the .so binaries in the zip are x86-64. This could be a problem with the OpenJFX gradle build script or a side-effect of some of the JavaFX libs not yet available for ARM. I've posted on openjfx-dev mailing list: https://www.mail-archive.com/openjfx-dev@openjdk.jav...
by chriswhocodes
Mon Mar 16, 2015 11:20 am
Forum: Java
Topic: Where's JavaFX in recent Java 8u33 for the ARM ?
Replies: 28
Views: 29456

Re: Where's JavaFX in recent Java 8u33 for the ARM ?

Hi Fidelius, Regarding (2) it does appear that AudioClip class file is present in jfxrt.jar If you unzip openjfx-8-sdk-overlay-linux-armv6hf.zip then inside jre/lib/ext/jfxrt.jar you will find AudioClip.class chris@vultr:/tmp$ unzip openjfx-8-sdk-overlay-linux-armv6hf.zip Archive: openjfx-8-sdk-over...
by chriswhocodes
Sun Mar 15, 2015 5:15 pm
Forum: Java
Topic: Where's JavaFX in recent Java 8u33 for the ARM ?
Replies: 28
Views: 29456

Re: Where's JavaFX in recent Java 8u33 for the ARM ?

Hi all, I've put together a server that produces nightly builds of OpenJFX for ARMv6 hard float. http://108.61.191.178/ You can simply unzip these builds onto your jdk1.8.0_33 to get JavaFX support on the Pi for this and later ARM JDKs (instructions provided). I'm working with the OpenJDK Adoption g...
by chriswhocodes
Fri Feb 06, 2015 9:30 am
Forum: Java
Topic: Where's JavaFX in recent Java 8u33 for the ARM ?
Replies: 28
Views: 29456

Re: Where's JavaFX in recent Java 8u33 for the ARM ?

Hi all, The OpenJFX and Adopt OpenJDK communities are working on a build farm to produce ARM OpenJFX binaries. We are also aiming to produce an integrated build of OpenJDK + OpenJFX for ARM v6 and v7 so that Pi and Pi2 users can continue to develop using Java and JavaFX. Please see this mail thread ...
by chriswhocodes
Fri Jun 21, 2013 2:47 pm
Forum: General programming discussion
Topic: Programmers Wanted! (Full time job in the City of London)
Replies: 0
Views: 704

Programmers Wanted! (Full time job in the City of London)

Hi guys, (Please don't shoot the messenger - I've OK'd this post with Liz!) ADVFN is looking for 2 full-time programmers to come and work with us on our leading high-traffic financial information website ( http://www.advfn.com ). We're a pretty geeky bunch here and there are quite a few Pi users in ...
by chriswhocodes
Fri Jun 21, 2013 2:43 pm
Forum: General discussion
Topic: Programmers Wanted! (Full time job in the City of London)
Replies: 0
Views: 393

Programmers Wanted! (Full time job in the City of London)

Hi guys, (Please don't shoot the messenger - I've OK'd this post with Liz!) ADVFN is looking for 2 full-time programmers to come and work with us on our leading high-traffic financial information website ( http://www.advfn.com ). We're a pretty geeky bunch here and there are quite a few Pi users in ...
by chriswhocodes
Tue Jan 22, 2013 7:29 pm
Forum: Other projects
Topic: MyVu video glasses - dead battery, need hardware help
Replies: 3
Views: 2105

Re: MyVu video glasses - dead battery, need hardware help

Thanks for the suggestion, I'd never have thought of that. :D I'm pretty sure I can give that a try without doing too much damage to the MyVu. I've already stripped the MyVu down to just the LCD and lenses and am going to use it as a monocular display like Google Glass so that should reduce the curr...
by chriswhocodes
Thu Jan 17, 2013 8:29 pm
Forum: Other projects
Topic: MyVu video glasses - dead battery, need hardware help
Replies: 3
Views: 2105

MyVu video glasses - dead battery, need hardware help

Hi, I hooked up my Pi to a pair of 320x240 MyVu video glasses via composite (see http://www.chrisnewland.com/wearable-raspberry-pi-project-297 ) and this worked great for a while but now I think the lithium ion battery in the glasses has died (it's charged by USB) as they turn off after a few second...
by chriswhocodes
Thu Dec 20, 2012 9:55 am
Forum: Java
Topic: a quick performance comparison of java on raspbian
Replies: 39
Views: 34249

Re: a quick performance comparison of java on raspbian

Hi Henrik, That's very interesting. I must swot up on how the HotSpot JIT compiler works as I'd assumed it might be able to do some loop unrolling. Agree the println is going to be the bottleneck and also microbenchmarks are of limited use but I'm interested in squeezing every last drop of Java perf...
by chriswhocodes
Wed Dec 19, 2012 11:27 pm
Forum: Java
Topic: JavaSE Embedded 8 + JavaFX for Raspberry PI (hard float)
Replies: 51
Views: 49004

Re: JavaSE Embedded 8 + JavaFX for Raspberry PI (hard float)

Hi Chris, It sounds like a problem with mouse / keyboard input. I've forwarded the post to the engineers, they should get back to you soon. We had a similar bug on Mark Reinhold's PI (which, incidentally, led to the crash during the keynote). What we found was his PI had several different mouse dev...
by chriswhocodes
Wed Dec 19, 2012 11:20 pm
Forum: Java
Topic: java.io.IOException: Invalid argument
Replies: 6
Views: 3764

Re: java.io.IOException: Invalid argument

Hi Andy, FileWriter is for writing character streams and I would expect GPIO to work in bytes? See http://docs.oracle.com/javase/1.4.2/docs/api/java/io/FileWriter.html for the javadoc which mentions FileWriter is meant for writing streams of characters. For writing streams of raw bytes, consider usi...
by chriswhocodes
Wed Dec 19, 2012 9:54 pm
Forum: Java
Topic: a quick performance comparison of java on raspbian
Replies: 39
Views: 34249

Re: a quick performance comparison of java on raspbian

fyi,

jdk1.8.0 early access on fully patched Raspbian hardfloat gives the result:

Code: Select all

real    0m6.838s
user    0m5.260s
sys     0m2.540s
JRE identifies as

Code: Select all

java version "1.8.0-ea"
Java(TM) SE Runtime Environment (build 1.8.0-ea-b36e)
Java HotSpot(TM) Client VM (build 25.0-b04, mixed mode)
by chriswhocodes
Wed Dec 19, 2012 9:47 pm
Forum: Java
Topic: JavaSE Embedded 8 + JavaFX for Raspberry PI (hard float)
Replies: 51
Views: 49004

Re: JavaSE Embedded 8 + JavaFX for Raspberry PI (hard float)

Hi, Having a couple of problems with the JavaFX samples. Stopwatch: Starts up and shows a frozen stopwatch with a mouse cursor but can't move the cursor with mouse and keys don't have any effect. Redirected process output to a file and it shows ES2Pipeline: OpenGL ES 2.0 embedded device detected glG...
by chriswhocodes
Tue Dec 18, 2012 11:49 pm
Forum: Java
Topic: Questions for Oracle re Java?
Replies: 16
Views: 8094

Re: Questions for Oracle re Java?

Hi Henrik,

Oracle lurkers and JDK8 EA in one night :)

Fantastic news for the Pi!

That's my weekend sorted ;)
by chriswhocodes
Tue Dec 18, 2012 11:38 pm
Forum: Java
Topic: JavaSE Embedded 8 + JavaFX for Raspberry PI (hard float)
Replies: 51
Views: 49004

Re: JavaSE Embedded 8 + JavaFX for Raspberry PI (hard float)

Awesome! Shame I saw this late tonight so will have to wait until tomorrow to try it out. I've built a wearable Pi with video glasses so full screen FB is better for me :) These pages look useful for anyone trying it out tonight: http://javafx.steveonjava.com/javafx-on-raspberry-pi-3-easy-steps/ htt...
by chriswhocodes
Thu Dec 13, 2012 3:22 pm
Forum: Java
Topic: pi4j in a jar?
Replies: 14
Views: 5704

Re: pi4j in a jar?

Glad you got it working :)
by chriswhocodes
Thu Dec 13, 2012 2:54 pm
Forum: Java
Topic: pi4j in a jar?
Replies: 14
Views: 5704

Re: pi4j in a jar?

Hi, No problems. Building jars with ant is a learning curve but you won't go back once you've mastered it :) I think the problem is I'm trying to explain the ant way and you are using NetBeans which is probably trying to "help" you when it sees the build.xml Maybe a NetBeans user can jump in and hel...
by chriswhocodes
Thu Dec 13, 2012 1:38 pm
Forum: Java
Topic: pi4j in a jar?
Replies: 14
Views: 5704

Re: pi4j in a jar?

A jar file is just a zip file with a different extension so please can you unzip your jar (that you built from your ant script) and show me what is in META-INF/MANIFEST.MF ? Then compare this to your filesystem at runtime. I assumed your own jar would be in the same directory as any 3rd party libs r...
by chriswhocodes
Thu Dec 13, 2012 1:34 pm
Forum: Java
Topic: pi4j in a jar?
Replies: 14
Views: 5704

Re: pi4j in a jar?

Hi, I use Eclipse and the standard project layout is: myprojectdir |--- src - source tree (.java files) |--- lib - 3rd party jar files required by my code |--- bin - output directory for .class files |--- ant - where I keep my ant build scripts (hence the .. in the path to src, lib, bin) If your bui...
by chriswhocodes
Thu Dec 13, 2012 12:59 pm
Forum: Java
Topic: pi4j in a jar?
Replies: 14
Views: 5704

Re: pi4j in a jar?

Hi, When you run an executable jar using java -jar foo.jar you can set up the classpath in the jar's manifest file which is found in META-INF/MANIFEST.MF It will look something like this: Manifest-Version: 1.0 Ant-Version: Apache Ant 1.8.2 Created-By: 1.7.0_05-b05 (Oracle Corporation) Main-Class: co...
by chriswhocodes
Thu Dec 13, 2012 9:26 am
Forum: Java
Topic: Java2D applet performance (iceweasel + IcedTea plugin)
Replies: 6
Views: 4822

Re: Java2D applet performance (iceweasel + IcedTea plugin)

Wow, great analysis! Thanks :) Will try and digest all of that tonight. I'm very interested in optimising Java graphics on the Pi. Either in X or maybe something fullscreen using framebuffer. I see you are one of the key JOGL guys. I've not had time to try that out on the Pi but will see how far I c...

Go to advanced search