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

On Mon, Jun 27, 2016 at 4:00 AM, Alekseenko Vasilii <[email protected]> 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
[email protected]
Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/snapcraft
-- 
Snapcraft mailing list
[email protected]
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/snapcraft

Reply via email to