Hi everyone im trying to set the proxy for java but Im getting an error.
im using powershell to run these commands:
this is the command im using for setting the proxy:
Java -Djava.net.useSystemProxies=true -Dhttps.proxyHost=squid.domain.com -Dhttps.proxyPort=3128 -Dhttp.proxyHost=squid.domain.com -Dhttp.proxyPort=3128
Error: Could not find or load main class .net.useSystemProxies=true
I was following this guide it dosent work for me How do I set the proxy to be used by the JVM
Do im missing something?