I have jenkins 1.595 installed in my system which will work as the master for my master slave setup.I have followed each and every step given in master slave setup jenkins(https://wiki.jenkins-ci.org/display/JENKINS/Step+by+step+guide+to+set+up+master+and+slave+machines).I am able to get the launch button on my slave but when I am trying to run agent It shows me CouldNotLoadArgumentException .I have also tried running the agent through commandline but it still shows me the same error.
CouldNotLoadArgumentException[ Could not load file/URL specified: http://localhost:8080/computer/Slave%20machine%20P/slave-agent.jnlp]
at com.sun.javaws.Main.launchApp(Unknown Source)
at com.sun.javaws.Main.continueInSecureThread(Unknown Source)
at com.sun.javaws.Main.access$000(Unknown Source)
at com.sun.javaws.Main$1.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
Please suggest the reason why I am getting this error