I am using some classes from javafx library (these are observable collections). I can't include jfxrt.jar
into my distribution, since it is java version dependent and I don't know which java my program will run on.
How to accomplish?
UPDATE
I put jfxrt.jar
in lib
subdirectory of the programm directory and the following command does not work
java -classpath ./lib/jfxrt.jar -jar MyProgram.jar
Why?
UPDATE 2
This was also does not work
java -cp MyProgram.jar;./lib/* MyClass