String pathAllP12 = null;
    public static void main(String[] args) {        // Bouncy Castle security provider        CertTools.installBCProvider();        JKStoPEM jks = null;        String pathAllP12 = null;        try {            if (args.length > 4) {                boolean overwrite = false;                if (args[4].equalsIgnoreCase("true")) {                    overwrite = true;                }                jks = new JKStoPEM(args[0], args[1], args[2], args[3], overwrite);            } else if (args.length > 3) {                jks = new JKStoPEM(args[0], args[1], args[2], args[3]);            } else {                System.out.println(                    "Usage: JKStoPEM <jksFile> <jkspassword> <keypassword> <outpath> [overwrite (true/false)(default false)]");                System.exit(0);            }            jks.createPEM();        } catch (Exception e) {            e.printStackTrace();        }    }