How configure Java applet to work behind proxy?

I'm running Ubuntu 11.04 and have installed sun-java6-* packages.

My workstation is running behind an authenticated proxy, I've set the gnome proxy settings system wide and almost everything works fine, except for the Java applets that ask me for the proxy password but doesn't work when I type in.

Any ideas about how to make it work?

3 Answers

I know this is an old post, but perhaps explicitly changing the setting in the Java control panel might help:

  • Open the Java Control Panel by running the command javaws -viewer

  • In Control Panel: General > Network Settings

Then try changing proxy settings.

Network Settings

2

Maybe you should set your proxy settings in /etc/environment and re-login. Use this format: http_proxy='. If it didn't work, use CNTLM to login to your proxy server instead. You can easily install it using Ubuntu software center or Synaptic Package Manager.

1

Some distros/java versions/install don't provide shortcuts to the Java Control Panel, but running

itweb-settings

on your terminal will allow you to easily change your proxy settings.

enter image description here

Your Answer

Sign up or log in

Sign up using Google Sign up using Facebook Sign up using Email and Password

Post as a guest

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

You Might Also Like