I have downloaded the sample command line program for prediction api and imported in eclipse as mention here .
I have imported that sample program and replaced the c
.../jre/lib/security/java.policy
Can you try giving permission to all as below ?
grant{ permission java.security.AllPermission; };