FibreFoX / javafx-gradle-plugin

Gradle plugin for JavaFX
Apache License 2.0
427 stars 59 forks source link

Couldn't find Ant-JavaFX library #150

Open wackyvert opened 4 years ago

wackyvert commented 4 years ago

I know there's already been an issure created for this exact problem, but setting JAVA_HOME hasn't fixed any of my problens. I get that exact error, I have OpenJDK installed.

FibreFoX commented 4 years ago

You need to have OpenJFX installed too, having just OpenJDK installed isn't everything that is required,

wackyvert commented 4 years ago

Could you explain how to do that? I've done everything it says on https://openjfx.io (add path variable for jfx, i also have JRE_HOME and JAVA_HOME set correctly)

FibreFoX commented 4 years ago

Can you give me a bit more details to your development environment? Which gradle-version are you using, which JDK/(Open)JFX are you using?

Just a reminder, this gradle-plugin is not yet working with JDKs beyond JDK 8, which changes 2020.

FlySkyPie commented 4 years ago

same problem here.

I found issue mention $JAVA_HOME/lib/ant-javafx.jar:

but I didn't see the file what I downloaded from: http://gluonhq.com/download/javafx-11-0-2-sdk-linux/

cd javafx-sdk-11.0.2/lib
ls *.jar

and I got:

javafx.base.jar  javafx.controls.jar  javafx.fxml.jar  javafx.graphics.jar  javafx.media.jar  javafx.swing.jar  javafx-swt.jar  javafx.web.jar