From time to time i come across java http downloaders i'd like to control.
The java app i had at hand and i ran the tests on is a website downloader called "loader"
http://home.tiscali.cz:8080/~cz210552/loader.htmlSo switches like
java -DproxySet=true -DproxyHost=localhost -DproxyPort=8080 -jar loader.jar
http://www.microsoft.comand above mentioned variations thereof didn't work.
However, this app allows for setting a proxy in it's config file.
So using those params here is 1. of course redundant and 2. the config switch "direct" may override anything else passed to java.exe.
The rest is off-topic, but i found a solution for me at Sun's webpage. Thanks for pointing me there
Socksifying like
java -DsocksProxyHost=localhost -jar loader.jar
http://www.fbi.gov/actually works and i can control everything via my local socks proxy.
BTW as a developer, can't you have several JDK's installed?
I saw the option in the PluginCPL to choose between several runtime versions.
Regards
sidki