FaqDesktopDatabaseNoLaunch

Why does my Java Desktop Application fail to launch?

If you get an error when trying to run your desktop database application, and the output includes:

java.net.SocketException: Malformed reply from SOCKS server

it might be the result of issue 134745 i.e. caused by the way Swing Application Framework handles proxies.

To workaround:

  • invoke ProxySelector.getDefault() in main() method or
  • invoke System.setProperty("java.net.useSystemProxies", "false") in startup() method of your application

See explanation for details.


  Applies to: NetBeans IDE 6.x
  Platforms: All
Not logged in. Log in, Register

By use of this website, you agree to the NetBeans Policies and Terms of Use. © 2012, Oracle Corporation and/or its affiliates. Sponsored by Oracle logo