JDK-8075744 : Document setting JFR options with applets and Java WebStart applications.
  • Type: Sub-task
  • Component: docs
  • Sub-Component: guides
  • Affected Version: 8u60
  • Priority: P3
  • Status: Open
  • Resolution: Unresolved
  • Submitted: 2015-03-23
  • Updated: 2019-01-15
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.
Other
tbdUnresolved
Description
There are two ways to enable JFR with applets and WebStart applications:
  1. use  JAVA_TOOL_OPTIONS environment variable to specify JFR command line options 
(.e.g. set JAVA_TOOL_OPTIONS=-XX:+UnlockCommercialFeatures -XX:+FlightRecorder -XX:StartFlightRecording=duration=60s,filename=c:\test\recording.jfr). 
  2. specify JFR command line options in the Java Control Panel as runtime parameters for specific JRE.

Enabling JFR on per application basis (in JNLP file) is not supported.
Comments
Due to deprecation and removal of deployment technologies, only JDK 8 docs will be considered for updates.
21-06-2018