-
Type:
Bug
-
Resolution: Fixed
-
Priority:
P2
-
Affects Version/s: 7u15
-
Component/s: deploy
-
Environment:
Ubuntu 12.04 x64
java version "1.7.0_21"
Java(TM) SE Runtime Environment (build 1.7.0_21-b08)
Java HotSpot(TM) Server VM (build 23.21-b01, mixed mode)
When I'm trying to do deploy project with -makeall option it fails with result like classpath is ignored:
For example, some error lines:
/local/work/packagerTestsSuite/apps/HelloWorld/src/helloworld/HelloWorld.java:3: error: package javafx.application does not exist
import javafx.application.Application;
I invoke javafxpackager with correct options including jfxrt.jar in classpath.
I attach some HelloWorld project, in which you'll see the errors: to invoke javafxpackager as I do you're to type this:
javafxpackager -makeall -classpath $JAVA_HOME/jre/lib/jfxrt.jar -appclass helloworld.HelloWorld -name HelloWorld -width 100 -height 100
For example, some error lines:
/local/work/packagerTestsSuite/apps/HelloWorld/src/helloworld/HelloWorld.java:3: error: package javafx.application does not exist
import javafx.application.Application;
I invoke javafxpackager with correct options including jfxrt.jar in classpath.
I attach some HelloWorld project, in which you'll see the errors: to invoke javafxpackager as I do you're to type this:
javafxpackager -makeall -classpath $JAVA_HOME/jre/lib/jfxrt.jar -appclass helloworld.HelloWorld -name HelloWorld -width 100 -height 100