Swing/AWT app crashes

Matthew Aguirre matt.aguirre at gmail.com
Mon Jun 27 12:49:59 UTC 2016


Wow!
Thanks, I've been trying to figure that one out.
--
Matt

On Mon, Jun 27, 2016 at 4:00 AM, Alekseenko Vasilii 
<vasilisc777 at gmail.com> wrote:
> 27.06.2016 10:51, Daniel Holbach пишет:
> > Hello everybody,
> >
> > the OpenJDK demo in the Snappy Playpen has been known to crash:
> >
> >    https://github.com/ubuntu/snappy-playpen/tree/master/openjdk-demo
> >
> > Now somebody else brought up a similar issue here:
> >
> >
> > 
> http://askubuntu.com/questions/791853/snap-package-for-java-swing-and-awt-application-crashes-when-it-is-executed
> >
> > Do we know what needs to be done to fix the issue? Or if it can be
> > worked around?
> >
> > Have a great day,
> >   Daniel
> >
> My first java app in snap - LanguageTool
> 
> standart wrapper call my run.sh
> 
> run.sh
> #!/bin/sh
> # Not good, needed for fontconfig
> export XDG_DATA_HOME=$SNAP/usr/share
> # Font Config
> export FONTCONFIG_PATH=$SNAP/etc/fonts/config.d
> export FONTCONFIG_FILE=$SNAP/etc/fonts/fonts.conf
> export HOME=$SNAP_USER_DATA
> java -jar -Duser.home=$SNAP_USER_DATA $SNAP/usr/bin/languagetool.jar
> 
> And JavaApp run successfully
> 
> ---
> 
> 
> --
> Snapcraft mailing list
> Snapcraft at lists.ubuntu.com
> Modify settings or unsubscribe at: 
> https://lists.ubuntu.com/mailman/listinfo/snapcraft
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.ubuntu.com/archives/snapcraft/attachments/20160627/4039a655/attachment.html>


More information about the Snapcraft mailing list