HEADS-UP: jfxrt.jar moving to jre/lib/ext

Kevin Rushforth kevin.rushforth at oracle.com
Thu Jan 24 10:56:30 PST 2013



>>>> 4) Because we still include the javafx.embed.swt package in jfxrt.jar -- see http://javafx-jira.kenai.com/browse/RT-23041 -- applications that access javafx.embed.swt.FXCanvas will need to put the swt.jar library on the boot classpath in order for it to run.
>>>>         
>>>
>>> Putting swt.jar on the normal class path won't cut it?
>>>       
>>
>> No, that is what will stop working as a result of this.
>
> Oh, that's bad.

Yeah, that's why RT-23041 is important. We really cannot have the 
javafx.embed.swt classes in jfxrt.jar -- in fact, it really should not 
have been there in the first place (at least not once we started 
bundling jfxrt.jar with the JDK in 7u6). A class that is part of the 
Java platform can't directly depend on a class that is not part of the 
platform.

-- Kevin



More information about the openjfx-dev mailing list