Just started using DrJava, and I'm getting an Illegal Class Literal error when I try to run my code. My code compiles, and no issue arises until runtime. Even just the following leads to the error when I run 'java Percolation(5)' in the interaction terminal.
public class Percolation {
public Percolation(int N) {
System.out.println(N);
}
}
I couldn't find anything on Google; any ideas what could be going on here? I feel like I'm missing something stupid. Thanks!