Is there a way i can run a single void from my java class when using a shell/batch command or does it only run the main void when using a command such as "java MYCLASS"
I have tried commands such as "java MYCLASS.VOID" or anything similar but im not sure if its possible, thanks in advance.

No, it is not possible. Main() is the only method that can be run with the "java myClass" call from the OS.