Java GUI support on Wayland

Vinoth Kumar vinoth.k.kumar at gmail.com
Mon Aug 29 11:01:57 UTC 2016


Hi,

Using XWayland would mean using Xcode itself right? In that case, it may
not be feasible for me as our system has only wayland supported. Probably,
I have to give this: https://github.com/jekstrand/wayland-java

Thanks,
Vinoth

On Mon, Aug 29, 2016 at 3:49 PM, Olivier Fourdan <fourdan at gmail.com> wrote:

> Hi,
>
> On 29 August 2016 at 12:00, Vinoth Kumar <vinoth.k.kumar at gmail.com> wrote:
> > I want to include Java GUI support on my system which has only wayland
> > backend supported. I tried to include OpenJDK-7-jre package, but it
> seems to
> > have X11 dependency.
> >
> > I compiled ‘Openjre-8’ package successfully and included in my image.
> But,
> > it can run only Java applications without GUI. When I try to run any JAVA
> > SWING API based GUI program I get the following error:
> >  [...]
> >
> > Can anyone suggest, if it is possible to run Java GUI programs on
> wayland?
>
> If Java itself has not been ported to Wayland natively (I have no
> idea, might not have been yet, see[1]), you can still run your
> graphical Java applications under Wayland with Xwayland.
>
> Cheers,
> Olivier
>
> [1] https://community.oracle.com/thread/2491140
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/wayland-devel/attachments/20160829/fa46b19b/attachment.html>


More information about the wayland-devel mailing list