JDK-8116722 : Generated ClassLoader does not see java extension libraries
  • Type: Bug
  • Component: javafx
  • Sub-Component: application-lifecycle
  • Affected Version: fx2.1,7u6
  • Priority: P4
  • Status: Resolved
  • Resolution: Fixed
  • Submitted: 2012-04-17
  • Updated: 2015-06-17
  • Resolved: 2013-09-30
The Version table provides details related to the release that this issue/RFE will be addressed.

Unresolved : Release in which this issue/RFE will be addressed.
Resolved: Release in which this issue/RFE has been resolved.
Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.

To download the current JDK release, click here.
JDK 8
8Fixed
Related Reports
Relates :  
Description
ClassLoader in com.javafx.main.Main.main() method generated by javafxpackager.exe tool does not search classes in jars at standard JRE extension libraries directory lib/ext. As a result, the desktop FX application which uses such extensions and runs fine under NetBeans gets "ClassNotFoundException" or "ClassDefFoundError" when is started as standalone jar.
Comments
This was fixed when jfxrt.jar was moved into lib/ext (see RT-26125).
30-09-2013

I can reproduce the bug with the current version of JavaFX. It is too risky to fix for JavaFX 2.2 so moving to Lombard.
16-07-2012

Sure. Here it is.
31-05-2012

Do you have a test program for this?
29-05-2012