I have created a class in the package
The class is called Tableaucmdautomation
it works fine from eclipse but when I try to execute it from command line then I get main class not found error
I have tried all the options of giving explicit classpath in the command line etc
So I tried one more thing , create the file without a package and then it works fine in the folder I have class file
to follow the best practice I want to stick to packages but I need to make sure that I can execute it from command lines as well.
What am I doing wrong here ?
PS: when I remove it from the package and put it in the default package. Then it works fine