Android Termux java compilation err

Have run java file thru ecj, dx --dex --output=<file_name>.dex <file_name>.class,
Then dalvikvm -cp <file_name>.dex <file_name> outputs the following error

Exception in thread “main” java.lang.NoClassDefFoundError: Failed resolution of: LPoint;
at Main.main(
Caused by: java.lang.ClassNotFoundException: Point
… 1 more

Help? Suggestions? Have scoured the web with little luck found a thread that mentioned
organizing class or root files or some such thing like that, but they’re all
specific to Linux i.e. none if the cmds validate in termux (which is what
I’m using/learning on) any help would be greatly appreciated.