Java.com

Download Help

Help Resources


Get Java Installation Help Now

How do I configure proxy settings for Java?


This article applies to:
  • Platform(s): Windows 8, Windows 7, Vista, Windows XP

Proxy settings for running applets can be controlled through the Java Control Panel.

Find the Java Control Panel

Windows 8
Use search to find the Control Panel
  • Press Windows logo key + W to open the Search charm to search settings
    OR
    Drag the Mouse pointer to the bottom-right corner of the screen, then click on the Search icon.
  • In the search box enter Java Control Panel
  • Click on Java icon to open the Java Control Panel.
Windows 7, Vista
  • Click on the Start button and then click on the Control Panel option.
  • In the Control Panel Search enter Java Control Panel.
  • Click on the Java icon to open the Java Control Panel.
Windows XP
  • Click on the Start button and then click on the Control Panel option.
  • Double click on the Java icon to open the Java Control Panel.


Mac OS X 10.7.3 and above

  • Click on Apple icon on upper left of screen.
  • Go to System Preferences
  • Click on the Java icon to access the Java Control Panel.

    Java Control Panel


Configure Proxies through the Java Control Panel

  1. In the Java Control Panel, click on Network Settings, located under the General tab.
  2. Select the Use Browser Settings checkbox.
  3. Click OK to save your changes.

    Network Settings for the Java Control Panel
  4. Close all browser windows. Restart the browser and try to load the applet.
  5. If the applet still does not load and you see the same connection error, try to configure your web browser's proxy settings.

Common Error if Proxy is not set

A common error that is seen if the proxy settings are not correct:
While application is starting, a dialog like this appears including "ClassNotFoundException"

General Exception


Name: JavaAppplication

ClassNotFoundException: JavaAppplication.class



We think you might also be interested in:

Select Language | About Java | Support | Developers
Privacy | Terms of Use | Trademarks | Disclaimer

Oracle