I ran junit suite - lang with policy file that Dan suggested, and I was able
to run it fine.
So I ran lang suite as following:
>java -Djava.security.manager= -Djava.security.policy="C:/simple.policy"
-Djvmflags=-Demma.verbosity.level=silent -Dverbose=true
junit.textui.TestRunner
org.apache.derbyTesting.functionTests.tests.lang._Suite
The contents of simple.policy file are:
grant codebase "file:/c:/derby/-" {
permission java.security.AllPermission;
};
grant {
permission java.util.PropertyPermission
"derbyRoutineSecurityTest.yes", "read";
};
Thanks,
Ramandeep Kaur