How to Enable Java Flight Recording for Java Applets and Webstart Applications on Windows (Doc ID 1995162.1)

Last updated on APRIL 09, 2017

Applies to:

Java SE JDK and JRE - Version 7 and later
Generic Windows

Goal

To enable Java Flight Recording, a JVM needs to have the options -XX:+UnlockCommercialFeatures -XX:+FlightRecorder present at startup.  However, these options are being ignored when specified as java_arugments or java-vm-args in HTML tags or JNLP files.  This document describes one practical way to collect a Java Flight Recording for a Java Applet or Java Webstart Application on Windows platform.

Solution

Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms