How configure Java applet to work behind proxy?












4















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?










share|improve this question



























    4















    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?










    share|improve this question

























      4












      4








      4








      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?










      share|improve this question














      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?







      java proxy






      share|improve this question













      share|improve this question











      share|improve this question




      share|improve this question










      asked Aug 30 '11 at 13:35









      Lucas VasconcelosLucas Vasconcelos

      21113




      21113






















          3 Answers
          3






          active

          oldest

          votes


















          5














          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






          share|improve this answer





















          • 1





            The command opens the "Trusted certificate viewer" program for me (openjdk-6-jre). Does the command work different with Oracle Java?

            – Lekensteyn
            Feb 16 '12 at 17:25






          • 2





            @Lekensteyn; Java Control Panel is only available for Sun/Oracle JDK --you will have to migrate to Oracle JDK if you want to use it. However, when you install Icedtea plugin, javaws will use your browser proxy details.

            – lightonphiri
            Feb 17 '12 at 20:58





















          1














          Maybe you should set your proxy settings in /etc/environment and re-login.
          Use this format: http_proxy='http://username:password@domain:port/'.
          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.






          share|improve this answer


























          • the first way doesn't work.. and using CNTLM I didn't figure out how to use it. I appreciate if you can help me with that.

            – Lucas Vasconcelos
            Sep 2 '11 at 14:33



















          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






          share|improve this answer








          New contributor




          Henrique de Sousa is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
          Check out our Code of Conduct.




















            Your Answer








            StackExchange.ready(function() {
            var channelOptions = {
            tags: "".split(" "),
            id: "89"
            };
            initTagRenderer("".split(" "), "".split(" "), channelOptions);

            StackExchange.using("externalEditor", function() {
            // Have to fire editor after snippets, if snippets enabled
            if (StackExchange.settings.snippets.snippetsEnabled) {
            StackExchange.using("snippets", function() {
            createEditor();
            });
            }
            else {
            createEditor();
            }
            });

            function createEditor() {
            StackExchange.prepareEditor({
            heartbeatType: 'answer',
            autoActivateHeartbeat: false,
            convertImagesToLinks: true,
            noModals: true,
            showLowRepImageUploadWarning: true,
            reputationToPostImages: 10,
            bindNavPrevention: true,
            postfix: "",
            imageUploader: {
            brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
            contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
            allowUrls: true
            },
            onDemand: true,
            discardSelector: ".discard-answer"
            ,immediatelyShowMarkdownHelp:true
            });


            }
            });














            draft saved

            draft discarded


















            StackExchange.ready(
            function () {
            StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f59279%2fhow-configure-java-applet-to-work-behind-proxy%23new-answer', 'question_page');
            }
            );

            Post as a guest















            Required, but never shown

























            3 Answers
            3






            active

            oldest

            votes








            3 Answers
            3






            active

            oldest

            votes









            active

            oldest

            votes






            active

            oldest

            votes









            5














            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






            share|improve this answer





















            • 1





              The command opens the "Trusted certificate viewer" program for me (openjdk-6-jre). Does the command work different with Oracle Java?

              – Lekensteyn
              Feb 16 '12 at 17:25






            • 2





              @Lekensteyn; Java Control Panel is only available for Sun/Oracle JDK --you will have to migrate to Oracle JDK if you want to use it. However, when you install Icedtea plugin, javaws will use your browser proxy details.

              – lightonphiri
              Feb 17 '12 at 20:58


















            5














            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






            share|improve this answer





















            • 1





              The command opens the "Trusted certificate viewer" program for me (openjdk-6-jre). Does the command work different with Oracle Java?

              – Lekensteyn
              Feb 16 '12 at 17:25






            • 2





              @Lekensteyn; Java Control Panel is only available for Sun/Oracle JDK --you will have to migrate to Oracle JDK if you want to use it. However, when you install Icedtea plugin, javaws will use your browser proxy details.

              – lightonphiri
              Feb 17 '12 at 20:58
















            5












            5








            5







            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






            share|improve this answer















            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







            share|improve this answer














            share|improve this answer



            share|improve this answer








            edited Apr 27 '18 at 15:27









            David Foerster

            28.1k1365111




            28.1k1365111










            answered Feb 16 '12 at 10:59









            lightonphirilightonphiri

            205139




            205139








            • 1





              The command opens the "Trusted certificate viewer" program for me (openjdk-6-jre). Does the command work different with Oracle Java?

              – Lekensteyn
              Feb 16 '12 at 17:25






            • 2





              @Lekensteyn; Java Control Panel is only available for Sun/Oracle JDK --you will have to migrate to Oracle JDK if you want to use it. However, when you install Icedtea plugin, javaws will use your browser proxy details.

              – lightonphiri
              Feb 17 '12 at 20:58
















            • 1





              The command opens the "Trusted certificate viewer" program for me (openjdk-6-jre). Does the command work different with Oracle Java?

              – Lekensteyn
              Feb 16 '12 at 17:25






            • 2





              @Lekensteyn; Java Control Panel is only available for Sun/Oracle JDK --you will have to migrate to Oracle JDK if you want to use it. However, when you install Icedtea plugin, javaws will use your browser proxy details.

              – lightonphiri
              Feb 17 '12 at 20:58










            1




            1





            The command opens the "Trusted certificate viewer" program for me (openjdk-6-jre). Does the command work different with Oracle Java?

            – Lekensteyn
            Feb 16 '12 at 17:25





            The command opens the "Trusted certificate viewer" program for me (openjdk-6-jre). Does the command work different with Oracle Java?

            – Lekensteyn
            Feb 16 '12 at 17:25




            2




            2





            @Lekensteyn; Java Control Panel is only available for Sun/Oracle JDK --you will have to migrate to Oracle JDK if you want to use it. However, when you install Icedtea plugin, javaws will use your browser proxy details.

            – lightonphiri
            Feb 17 '12 at 20:58







            @Lekensteyn; Java Control Panel is only available for Sun/Oracle JDK --you will have to migrate to Oracle JDK if you want to use it. However, when you install Icedtea plugin, javaws will use your browser proxy details.

            – lightonphiri
            Feb 17 '12 at 20:58















            1














            Maybe you should set your proxy settings in /etc/environment and re-login.
            Use this format: http_proxy='http://username:password@domain:port/'.
            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.






            share|improve this answer


























            • the first way doesn't work.. and using CNTLM I didn't figure out how to use it. I appreciate if you can help me with that.

              – Lucas Vasconcelos
              Sep 2 '11 at 14:33
















            1














            Maybe you should set your proxy settings in /etc/environment and re-login.
            Use this format: http_proxy='http://username:password@domain:port/'.
            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.






            share|improve this answer


























            • the first way doesn't work.. and using CNTLM I didn't figure out how to use it. I appreciate if you can help me with that.

              – Lucas Vasconcelos
              Sep 2 '11 at 14:33














            1












            1








            1







            Maybe you should set your proxy settings in /etc/environment and re-login.
            Use this format: http_proxy='http://username:password@domain:port/'.
            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.






            share|improve this answer















            Maybe you should set your proxy settings in /etc/environment and re-login.
            Use this format: http_proxy='http://username:password@domain:port/'.
            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.







            share|improve this answer














            share|improve this answer



            share|improve this answer








            edited Sep 1 '11 at 11:24

























            answered Sep 1 '11 at 10:53









            Amin007110Amin007110

            112




            112













            • the first way doesn't work.. and using CNTLM I didn't figure out how to use it. I appreciate if you can help me with that.

              – Lucas Vasconcelos
              Sep 2 '11 at 14:33



















            • the first way doesn't work.. and using CNTLM I didn't figure out how to use it. I appreciate if you can help me with that.

              – Lucas Vasconcelos
              Sep 2 '11 at 14:33

















            the first way doesn't work.. and using CNTLM I didn't figure out how to use it. I appreciate if you can help me with that.

            – Lucas Vasconcelos
            Sep 2 '11 at 14:33





            the first way doesn't work.. and using CNTLM I didn't figure out how to use it. I appreciate if you can help me with that.

            – Lucas Vasconcelos
            Sep 2 '11 at 14:33











            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






            share|improve this answer








            New contributor




            Henrique de Sousa is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
            Check out our Code of Conduct.

























              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






              share|improve this answer








              New contributor




              Henrique de Sousa is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
              Check out our Code of Conduct.























                1












                1








                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






                share|improve this answer








                New contributor




                Henrique de Sousa is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
                Check out our Code of Conduct.










                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







                share|improve this answer








                New contributor




                Henrique de Sousa is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
                Check out our Code of Conduct.









                share|improve this answer



                share|improve this answer






                New contributor




                Henrique de Sousa is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
                Check out our Code of Conduct.









                answered 2 days ago









                Henrique de SousaHenrique de Sousa

                1113




                1113




                New contributor




                Henrique de Sousa is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
                Check out our Code of Conduct.





                New contributor





                Henrique de Sousa is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
                Check out our Code of Conduct.






                Henrique de Sousa is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
                Check out our Code of Conduct.






























                    draft saved

                    draft discarded




















































                    Thanks for contributing an answer to Ask Ubuntu!


                    • Please be sure to answer the question. Provide details and share your research!

                    But avoid



                    • Asking for help, clarification, or responding to other answers.

                    • Making statements based on opinion; back them up with references or personal experience.


                    To learn more, see our tips on writing great answers.




                    draft saved


                    draft discarded














                    StackExchange.ready(
                    function () {
                    StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f59279%2fhow-configure-java-applet-to-work-behind-proxy%23new-answer', 'question_page');
                    }
                    );

                    Post as a guest















                    Required, but never shown





















































                    Required, but never shown














                    Required, but never shown












                    Required, but never shown







                    Required, but never shown

































                    Required, but never shown














                    Required, but never shown












                    Required, but never shown







                    Required, but never shown







                    Popular posts from this blog

                    How did Captain America manage to do this?

                    迪纳利

                    南乌拉尔铁路局