I can compile the same code in cmd, so my environment variables are right, but in Vim i get this:
error: file not found: Test.java
Usage: javac <options> <source files>
use --help for a list of possible options
shell returned 2
I'm using :!javac Test.java to compile.
This is my code:
public class Test{
public static void main(String[]args) {
System.out.println("Hello World");
}
}
If anyone can help me, thank you very much.