on my 5k monitor on mac, had to launch the jar using my own flags as the image was still
Blurry & UI was to small.
"$("/usr/libexec/java_home" -v 25)/bin/java"
-Dsun.java2d.uiScale.enabled=true
-Dsun.java2d.uiScale=1.5
-Dawt.useSystemAAFontSettings=on
-Dswing.aatext=true
-Dprism.allowhidpi=true
-jar modeler.jar
also the included macos “macos-aarch64.zip“ & “macos-x64.zip” do not contain the jar for some reason & scripts dont work as well for me..
you could go through the extra process of using jpackage to package the app into a native macos app bundle, ofc using self self-signed certificate as a apple certs can get expensive..
or use this zsh script I have:
all current new mac’s use zsh by default.
https://gist.github.com/XxUnkn0wnxX/c6372b5cd30ca3b71c740e4ef7af78b9
should work for both arm & x64, just have it placed in the same folder as the jar.
Also, no need to bundle the jdk, just tell the user to install the jdk from java site or using macOS Homebrew of course.
you can modify the java home thing to whatever is needed..
Please authenticate to join the conversation.
In Review
Suggestion
3 months ago

XxUnkn0wnxX
Get notified by email when there are changes.
In Review
Suggestion
3 months ago

XxUnkn0wnxX
Get notified by email when there are changes.