upgrade to java8 due to AccessControlException:
  java.security.AccessControlException: access denied ("java.io.FilePermission" ".../dev/test_www/card" "readlink")