For example your package is mycodes.MyClass
and your classes in /home/mydir/mycodes/MyClass
than you should launch as
cd /home/mydir
java mycodes.MyClass
you should not run in /home/mydir/mycodes/
http://javacream.blogspot.com
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.