Well you seem to be moving one step at a time donw the fun road.
Do you get that access denied error when you run your app outside the jar file?
In any aspect of your local mode, do you have a SecurityManager? If you do, you will need a policy file, and start you client as such
java -Djava.security.policy=policy.all -jar client.jar
But I'd suggest removing the SecurityManager.
Mark