I thought you were having a problem executing java programs. Why do you need a global setting if you are using a commandline with the needed option?
Type: Posts; User: Norm
I thought you were having a problem executing java programs. Why do you need a global setting if you are using a commandline with the needed option?
What you posted was paths to folders.
What I am talking about is the commandline used to execute a java program. This is an example of a commandline:
java -Djava.net.preferIPv4Stack=true -jar...
Where does the commandline with the java command etc come from?
Can you modify that commandline to include that option?
For example on Windows7 and XP I can change the registry entry.
You'll have to wait until someone with Windows 8 comes along.
Also posted at: http://stackoverflow.com/questions/15105357/address-is-invalid-on-local-machine-on-windows-8-only
I can't believe the stack trace in the error message would be the same.
Does the code work if you put it in a small program and execute it from the commandline?