My Oracle Support Banner

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

Last updated on DECEMBER 21, 2022

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

To view full details, sign in with your My Oracle Support account.

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


In this Document
Goal
Solution
References

My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.