Skip to content Skip to sidebar Skip to footer

Gradle Swingbuilder: "toolkit Not Found: Apple.awt.ctoolkit" Error

I have a Gradle task that is supposed to prompt if the user wants to continue or not (part of a larger task for my Android app). I'm using SwingBuilder to to try construct a dialo

Solution 1:

According to this issue on GitHub, the problem appears to be with the fact that IntelliJ IDEA runs on Java 6 by default. You'll need to force it to run with Java 7 instead, as described in this JetBrains support article.

One thing to bear in mind is that IntelliJ has problems with Java 7 and above on Mac, which is why it defaults to Java 6. You can find more details in that support article I linked to.

Post a Comment for "Gradle Swingbuilder: "toolkit Not Found: Apple.awt.ctoolkit" Error"