I had installed MinGW-3.2.0-rc-3.exe and i was trying to compile a simple code:
public class HelloWorld {
public static void main(String args[]) {
System.out.println("Hello, World");
}
}
then i typed this command under vim, !java d:\progsaved\java\jdk\HellWorld, before i typed this !javac d:\progsaved\progsaved\java\jdk\HelloWorld.java to generate class file. The errors showed that
C:\WINDOWS\system32\cmd.exe /c java -cp=d:\progsaved\java\jdk helloworld
Unrecognized option: -cp=d:\progsaved\java\jdk
Could not create the Java virtual machine.
shell returned 1
Hit any key to close this window...
why do i get this errors?