Hi folks, I was wondering if it would be possible ...
# compose-desktop
s
Hi folks, I was wondering if it would be possible to install
Desktop Compose App
as a
DMG file
on
M1 MacBook
?
Yes, it’s working well for simple projects like basic
networking
and
stuffs
. However, when I tried working with
SQL Delight
, the application crashed. But in my local environment I had no issues at all.
same 1
s
If you use an x86 JVM to compile it, it will work, as it will run via rosetta
c
Check that you've got the jlink runtime modules configured. And also try making sure it runs with the
runDistributable
Gradle task, because it's quite possible to have the app run fine with the
run
task but for there to be some other configuration issue that doesn't show itself until the full package is linked. And using
runDistributable
will allow you to see that stacktrace
s
I got this exception 👇
Caused by: java.lang.ClassNotFoundException: java.sql.DriverManager
a
Try add this to the
build.gradle.kts
👍🏻 1
s
@Ahmad Daneshvar It works like a charm now. Thanks for the quick fix!