Can any of you repro my issue? File > New Proje...
# compose-desktop
c
Can any of you repro my issue? File > New Project,
Window
is underlined as an error. gif available of what I'm doing
j
What version of Intellij/Idea are you using? Fwiw, I'm using:
Copy code
IntelliJ IDEA 2020.3 (Community Edition)
Build #IC-203.5981.155, built on November 30, 2020
Runtime version: 11.0.9+11-b1145.21 x86_64
VM: OpenJDK 64-Bit Server VM by JetBrains s.r.o.
And it seems to be working fine for me.
c
Thanks Jim. I'l see if I have anything off. Where do you generate that little output?
j
On the about screen. On Mac, it's "Intellij Idea" > "About Intellij Idea" or you can click the little search magnifying glass in Idea and type "About"
c
Aha. Thanks. I'm using latest stable community edition of IntelliJ.
j
Does that mean your version and build ID match mine?
c
Copy code
IntelliJ IDEA 2020.3 (Community Edition)
Build #IC-203.5981.155, built on November 30, 2020
Runtime version: 11.0.9+11-b1145.21 x86_64
VM: OpenJDK 64-Bit Server VM by JetBrains s.r.o.
macOS 10.15.7
GC: ParNew, ConcurrentMarkSweep
Memory: 725M
Cores: 8
Registry: debugger.watches.in.variables=false, ide.balloon.shadow.size=0
Found the issue though. I was using jdk 11 packaged in with IJ. Switching to jdk 11 from adoptopenjdk (that I already have installed) made it work.
I do feel like an idiot though. I've been doing android/java dev for 5 years. 🤦 It does make me think that I maybe should file something against the intellij bug tracker?
Unless the issue is that
Runtime version: 11.0.9+11-b1145.21 x86_64
and the project jdk have to be identical?
j
Looks to me like maybe the bundled JVM didn't have
java.awt.image.BufferedImage
bundled within it? Uggg, that would be annoying.
Yeah, maybe file a bug. That's super annoying, but I'm not sure what can be done about it. Maybe at the very least it could display a banner to indicate the problem and maybe even provide a quickfix if you have other jvms available. Not sure, but no harm in filing the bug I suppose.
c
Cool. I already brought this issue up on there yesterday, but didn't figure out the solution until today. https://github.com/JetBrains/compose-jb/issues/173