OS: Windows 7 32-bit JDK: jdk1.7.0_25
I have Studio.jnlp file. I tried to open it by double-click. But I found the error as below:
"MalformedURLException: unknown protocol: socket" Details: java.net.MalformedURLException: unknown protocol: socket
Go to Control Panel of Windows and do the followings:
Click Java -> Click "Network Settings..." button under General tab -> Select Direct connection radio -> Click OK
That's it. Exception could be removed.
This message comes from the use of a proxy server which is not fully set in Internet options (in Internet Explorer).
When a proxy server is set manually, but with the option "use this server for all protocols", Internet Explorer does not fill the "Socks" protocol field with it.
Direct connection works, because you bypass this proxy configuration set in IE. But another way to fix this is to uncheck "use this server for all protocols", and instead paste it in the socks field as well.
It should solve the issue without having to bypass the proxy for all Java programs.
However, this is assuming that your proxy server knows what to do with this protocol, and how to direct it to the correct place. If it doesn't, then you are probably better off trying direct connection.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With