Configure a Java Application to Use Fiddler

To configure a Java application to send web traffic to Fiddler, set the proxy using jre:

    jre -DproxySet=true -Dhttp.proxyHost= -Dhttp.proxyPort=8888


    jre -DproxySet=true -DproxyHost= -DproxyPort=8888 MyApp

Or, change the Java Virtual Machine's proxy settings programmatically:

    System.setProperty("http.proxyHost", "");
    System.setProperty("https.proxyHost", "");
    System.setProperty("http.proxyPort", "8888");
    System.setProperty("https.proxyPort", "8888");

For the seamless experience in Windows you may consider adding


Learn more about Java proxy settings.

In this article