I’m currently trying to figure out to get some kin...
# compose-desktop
m
I’m currently trying to figure out to get some kind of dashboard on my tv with a raspberry pi zero w. The issue is that I have no clue how to run my desktop compose app on it. I tried to install the kotlin cli through the snap store but it doesn't support arm apparently. Is there a way to boot up the application on it and on after boot up?
k
Is this Compose-specific? Can you run a "regular" Java UI on it, just an empty Swing's
JFrame
?
m
I'm trying to create the ui with desktop compose
k
Step 1 - get to run a
JFrame
created in Java. Step 2 - get to run a
JFrame
created in Kotlin. Step 3 - get to run an empty Compose frame.
I understand your end goal, but you might be jumping over a few necessary steps
m
I'm still learing desktop compose and never used java really so that's why but maybe I'll need to look into it
k
It needs to be more focused. That is - even if your end goal is X, there are things that need to be there to enable it. Like being able to run Java at all. Then, being able to run Kotlin. Then, being able to show the simplest Java-based Swing window. Etc, etc.
m
Thank you😊, I'm going to look in it
s
@maarten ha Compose should work just fine on raspberry pi, I think you just need to create a build for it or try to run from the source with the gradle task. For example:
./gradlew :desktop:run
https://kotlinlang.slack.com/archives/C01D6HTPATV/p1638785067215300
❤️ 2