0 LIKES LikeUnLike
I'm trying to learn java and I'm just starting to try and write some extremely simplistic code. The code I'm using is below:public class TestApp{ public static void main(String[] args) { System.out.println("Testing Testing Testing!!!"); }}The java file is called TestApp and is located on my desktop. When I bring up command prompt and enter "javac TestApp.java" it tells me there is no such internal command or batch or something. I can compile it by dragging the file into the javac executable though.I then enter in command prompt "java TestApp" and it tells me theres an exception in thread main where there is no such class as TestApp.Any suggestions?
Tags:
Report (0) (0) | earlier
Latest activity: earlier. This question has 4 answers.