I'm trying to compile and run a java program in notepad++ and I get error code 2, the system cannot find the file specified.
Here is my program code:
public class test {
public static void main(String[] args) {
System.out.println("It worked!!!!!");
}
}
And I'm attempting to run and compile it using
javac "$(FULL_CURRENT_PATH)"
java -classpath "$(CURRENT_DIRECTORY)" "$(NAME_PART)"
Here's the link to the the page where I found this: http://www.dreamincode.net/forums/topic/113551-compilingrunning-java-programs-in-notepad/
What am I doing wrong?