Hello guys! In compose multiplatform. How to make ...
# compose-desktop
u
Hello guys! In compose multiplatform. How to make file application on Desktop like APk in android? (windows, linux, macos)
a
You may want to rephrase that question. I couldn’t parse it.
7
💯 3
k
Do you mean how to create a UI like this?
u
@Alexander Maryanovsky @Kirill Grouchnikov how to make an file application like Apk in android for desktop(linux, windows, macos) or in web in compose Multiplatform? I use android, web, desktop and ios
Is there a generator? I'm new about how to packages, deploy or publish your app.
u
Where can i locate this files?
Is there any video tutorial or somethings beginner's guide? about distribution
m
You can check the desktop section (30mn -> 43mn)

https://youtu.be/HpfFu2nl32s?t=2189

😮 1
u
@mohamed rejeb how to fix this, currently I'm using linux and toolbox
d
what JDK version are you using?
u
@Dragos Rachieru
d
Try again with a different JDK, maybe the project is set to Intellij's JDK, not sure if it still uses JDK 11
Intellij may not use the system's JDK, you have to check in project settings to see which one you use to build/run the project
K 1
Most likely you have jbr-11 set
a
Set the JDK which Gradle runs in here:
🐕 1
u
thank you, and now i have another problem. How to solve this?😅
a
Look in the error and output logs
u
I'm new to this, how can I solve this? how to access jlink
d
Sadly this is not related to compose, creating a Deb file uses jpackage, something that is part of JDK, I don't know how to debug this issue
🔧 1
Maybe this is related to Ubuntu, maybe dpkg (native tool to cred Deb files) needs root access to work
🔧 1
I am using archlinux with official openjdk 21 and dpkg, it worked fine for me
🔧 1