-
I came across this #767 when trying to use a OpenJX plotting library. The response #767 (comment) shows how I can side-step this temporarily. I did it as follows: override def unmanagedClasspath =
T{
import coursier._
//val files = Fetch().addDependencies(dep"org.openjfx:javafx-base:11").run()
val files = Fetch().addDependencies(dep"eu.hansolo.fx:charts:11.3").run()
val pathRefs = files.map(f => PathRef(os.Path(f)))
printf(pathRefs.mkString(","))
Agg(pathRefs : _*)
} I also tried simply downloading the OpenJFX library and using the charting library via the standard ivy deps. However it still complains about missing dependencies. Is their any way I can have Also, I noticed that I get both the Mac and Linux files. This what I get:
Anyway I can avoid this? TIA |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 6 replies
-
Sorry, but I can't imagine what "it still complains about missing dependencies" really means. Can you more specific and also show the commands you tried and their output? |
Beta Was this translation helpful? Give feedback.
-
@lefou I have set-up a small project here: https://github.com/hmf/javaFXMill Please check the README.md Tests shows that after version 0.5.3, JavaFX seems to be broken. But even then, for the working versions I cannot seem to get a class that is not marked as the main class, to run. JFX complains of missing run-times.
Are you referring to this thread? Maybe place it elsewhere? Do you mind if I place it in #767 and ask the original poster to at least check the issue related to the non-main class execution failure? In addition to this I have tried the workaround with no success. This is a show stopper for me. I am starting to think that this may not be just a problem with Coursier. More concretely I have other projects that use OS specific jars with no problem. This may be a JFX specific issue. Playing around with the module paths did not help either (set as JVM arguments). In regards to Coursier, for an attempt at a workaround I reported this. I was thinking, can we have a snapshot with the latest and greatest version of Coursier. Could work from there and experiment to see if we can show that its a Coursier problem? TIA |
Beta Was this translation helpful? Give feedback.
Sorry, but I can't imagine what "it still complains about missing dependencies" really means. Can you more specific and also show the commands you tried and their output?