How do I profile applets with JProfiler?
There are two ways to profile applets: • integrated by creating an applet session and supplying the file name of an html file containing the html tags of the applet to profile as a parameter. The applet session will use the class sun.applet.AppletViewer (in lib/tools.jar of the JDK) to show the applet. • in browser by using Sun’s Java Plugin. In the Java Plugin control panel (can be started in Windows from the system control panel), the Java runtime parameters on the standard tab must be filled in as described for remote profiling. If you’re using a Sun JDK, that means adding: -Xint -Xrunjprofiler -Xbootclasspath/a:[path to agent.jar] Don’t forget to add {JProfiler install directory}/bin/{your platform} to the search path for loading native libraries (PATH on Windows).