I'm completely new to Java. And no I didn't know running javac HelloApp.java only compiles the class which means what by the way. When i ran java HelloApp.java it cam with this error.
Exception in thread "main" java.lang.NoClassDefFoundError: HelloApp/java
when I try to execute an Hello World Script i get this error.
HelloApp.java:10: cannot find symbol
symbol : method print1n<java.lang.String>
location: class java.io.PrintStream
System.out.print1n("Hello, World");
^
1 error
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.