libgdx / packr

Packages your JAR, assets and a JVM for distribution on Windows, Linux and Mac OS X
Apache License 2.0
2.56k stars 171 forks source link

Frame blurry when starting with bundled launcher #235

Open ElijahSey opened 1 year ago

ElijahSey commented 1 year ago

I am trying to package a java desktop application with a gui. When i start it with the launcher, everything looks blurry:

Exe

When i start the jar file directly using the bundled jre everything displays correctly:

Jar

My packr configuration file:

{
    "useZgcIfSupportedOs": true,
    "executable": "CardIdea",
    "mainclass": "presentation.CardIdea",
    "resources": []
}

The packr command:

java -jar packr-all-4.0.0.jar 
--platform windows64 
--jdk https://github.com/adoptium/temurin17-binaries/releases/download/jdk-17.0.8%2B7/OpenJDK17U-jre_x64_windows_hotspot_17.0.8_7.zip 
--classpath cardidea-0.1.0.jar  
--output cardidea packr-config.json