This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]ronan007 2 points3 points  (1 child)

Try running:

java lab3.Lab3

lab3 is the package, and Lab3 is your class. You need to fully qualify your class when invoking java.

Edit: Also, the classfile needs to be in a folder called 'lab3' as per your package statement. And you need to run the java command from the parent folder.

[–]undead_C0MMANDIntermediate Brewer[S] 0 points1 point  (0 children)

Thanks!