how to compile java package from command line code example
Example 1: compile java code with package in cmd
javac –d . demo.java
Example 2: java commands in different packages not working
// make sure you have this in onEnable()
this.getCommand("COMMANDHERE").setExecutor(new classname());
// make sure you have this done