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?
java proxy
add a comment |
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
add a comment |
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
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
java proxy
asked Aug 30 '11 at 13:35
Lucas VasconcelosLucas Vasconcelos
21113
21113
add a comment |
add a comment |
3 Answers
3
active
oldest
votes
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.
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 installIcedtea plugin
, javaws will use your browser proxy details.
– lightonphiri
Feb 17 '12 at 20:58
add a comment |
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.
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
add a comment |
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.
New contributor
add a comment |
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
});
}
});
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
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
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.
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 installIcedtea plugin
, javaws will use your browser proxy details.
– lightonphiri
Feb 17 '12 at 20:58
add a comment |
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.
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 installIcedtea plugin
, javaws will use your browser proxy details.
– lightonphiri
Feb 17 '12 at 20:58
add a comment |
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.
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.
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 installIcedtea plugin
, javaws will use your browser proxy details.
– lightonphiri
Feb 17 '12 at 20:58
add a comment |
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 installIcedtea 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
add a comment |
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.
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
add a comment |
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.
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
add a comment |
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.
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.
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
add a comment |
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
add a comment |
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.
New contributor
add a comment |
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.
New contributor
add a comment |
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.
New contributor
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.
New contributor
New contributor
answered 2 days ago
Henrique de SousaHenrique de Sousa
1113
1113
New contributor
New contributor
add a comment |
add a comment |
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.
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
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
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
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