2 JavaFX applets in the same JVM

Joe McGlynn joe.mcglynn at oracle.com
Tue Jul 8 19:03:37 UTC 2014

In general the number of JREs used to run applets and sharing of JREs should be expected to be indeterminate.  

The deploy code attempts to minimize the number of JREs spun up to run applets based on resource usage and security constraints, but there is no guarantee that you can share a JRE.  If you have a use case that you want to solve by sharing a JRE between apps you should probably look for a different solution because this approach isn’t going to be supportable or predictable.

On Jul 8, 2014, at 11:53 AM, ngalarneau at ABINITIO.COM wrote:

> Hello,
> What is the status of running 2 JavaFX applets in the same JVM 
> (separate_jvm = false)?
> When we try to load 2 applets into the same JVM we get a runtime error (I 
> think it was class loader related).
> When I searched in jira I found RT-29969 (the 2 applet test it refers to 
> may or may not be in the same JVM) which points to RT-32321 which seems to 
> be private (it gives me an error when I try to access it).
> Is running 2 JavaFX applets in the same JVM supported?
> If not, is that a bug or a feature?
> Thanks,
> Neil
> NOTICE from Ab Initio: This email (including any attachments) may contain 
> information that is subject to confidentiality obligations or is legally 
> privileged, and sender does not waive confidentiality or privilege. If 
> received in error, please notify the sender, delete this email, and make 
> no further use, disclosure, or distribution. 

More information about the openjfx-dev mailing list