News about Java 8

Daniel Blaukopf daniel.blaukopf at oracle.com
Wed May 7 09:51:26 UTC 2014


On May 7, 2014, at 12:47 PM, Ruíz Martín, Ricardo <rrmartin at indra.es> wrote:

> Hi Daniel,
>  
> This properties should work in 8u20? 
> Only with OpenJFX repository version?

You’ll need to build OpenJFX with the latest repository version because you need this fix: http://hg.openjdk.java.net/openjfx/8u-dev/rt/rev/9db01136330d

Thanks,
Daniel

> With repository version if I get a x86egl buld?
>  
>  
> Thank you
>  
> Ricardo
>  
>  
>  
> De: Daniel Blaukopf [mailto:daniel.blaukopf at oracle.com] 
> Enviado el: miércoles, 07 de mayo de 2014 11:29
> Para: Ruíz Martín, Ricardo
> CC: openjfx-dev at openjdk.java.net
> Asunto: Re: News about Java 8
>  
> Hi Ricardo,
>  
> These are great questions. You are correct in your analysis that the Pi implementation uses a different code path for touch than desktop Linux. Although what you are trying to do is not a supported configuration of JavaFX, the good news is that it should work and we can help you get it built.
>  
> I recommend using the Monocle implementation of Glass instead of Lens. Here are the flags to do that and select the X11 implementation:
>  
> -Djavafx.platform=monocle -Dmonocle.platform=X11 -Dembedded=monocle
> 
> If you run into input problems, the following flags should help you debug them:
>  
> -Dmonocle.input.traceEvents=true -Dmonocle.input.traceEvents.verbose=true
>  
> Please let me know how you get on with this.
>  
> Thanks,
> Daniel
>  
> On May 6, 2014, at 7:56 PM, Ruíz Martín, Ricardo <rrmartin at indra.es> wrote:
> 
> 
> Hi,
> 
> We are trying adding direct multitouch interaction support for our JavaFX application and we are facing some multi-touch support issues under Linux.
> 
> Under Windows all touch events are propagated (zoom, rotate, swipe, touch...), but although windows can be a development solution for us, we would need final version running under Linux.
> We have tried different distributions (mainly RedHat beta7 and Ubuntu 14.04) and only events we get from JavaFX are Mouse events generated by multi-touch screen.
> There are a Jira Issue about this (with some others duplicate issues):
> https://javafx-jira.kenai.com/browse/RT-25079
> But there are no timeline or Fix version.
> 
> Searching for some workaround we have found that OpenJfx has Raspberry Pi multitouch support in ARM linux JVM runtime.
> It seems that this support is because ARM JVM does not use X11 and/or GTK, but only device drivers, and it should be possible build OpenJFX with this configuration for x86 (I suppose this should work on 64 bits too.) With this build we should use EGL/X11 for full-screen output but we would get inputs from dev/input.
> 
> So we have tried build OpenJFX with -PCOMPILE_TARGETS=x86egl because we can get touch events from /dev/input/eventX in evtest with no problems.
> 
> Unfortunately although we can build OpenJFX for linux with no target, when we use this compile target build fails:
> https://javafx-jira.kenai.com/browse/RT-36921
> 
> 
> We are stuck now with this.
> 
> 
> Is there any other way for getting multitouch events with JavaFX under Linux?
> 
> 
> 
> Regards
> 
> Ricardo
> 
> Este correo electrónico y, en su caso, cualquier fichero anexo al mismo, contiene información de carácter confidencial exclusivamente dirigida a su destinatario o destinatarios. Si no es vd. el destinatario indicado, queda notificado que la lectura, utilización, divulgación y/o copia sin autorización está prohibida en virtud de la legislación vigente. En el caso de haber recibido este correo electrónico por error, se ruega notificar inmediatamente esta circunstancia mediante reenvío a la dirección electrónica del remitente.
> Evite imprimir este mensaje si no es estrictamente necesario.
> 
> This email and any file attached to it (when applicable) contain(s) confidential information that is exclusively addressed to its recipient(s). If you are not the indicated recipient, you are informed that reading, using, disseminating and/or copying it without authorisation is forbidden in accordance with the legislation in effect. If you have received this email by mistake, please immediately notify the sender of the situation by resending it to their email address.
> Avoid printing this message if it is not absolutely necessary.
>  
> 
> Este correo electrónico y, en su caso, cualquier fichero anexo al mismo, contiene información de carácter confidencial exclusivamente dirigida a su destinatario o destinatarios. Si no es vd. el destinatario indicado, queda notificado que la lectura, utilización, divulgación y/o copia sin autorización está prohibida en virtud de la legislación vigente. En el caso de haber recibido este correo electrónico por error, se ruega notificar inmediatamente esta circunstancia mediante reenvío a la dirección electrónica del remitente.
> Evite imprimir este mensaje si no es estrictamente necesario.
> 
> This email and any file attached to it (when applicable) contain(s) confidential information that is exclusively addressed to its recipient(s). If you are not the indicated recipient, you are informed that reading, using, disseminating and/or copying it without authorisation is forbidden in accordance with the legislation in effect. If you have received this email by mistake, please immediately notify the sender of the situation by resending it to their email address.
> Avoid printing this message if it is not absolutely necessary.



More information about the openjfx-dev mailing list