I applied following codes to change my Computer password but it didn't work:
public static void main(String[] args) throws IOException {
Runtime.getRuntime().exec("net user admin password");
}
I applied this "net user admin password" in command prompt as administrator and it worked. I think i need administrator permission to successfully run this code.Please give me solution in step by step and in details Because I'm not so good.Thanks in advance.