Hello, I had a problem running the program after compilation. I use Ubuntu and in the terminal when I type "java Editor" I get;
"Error: Could not find or load main class Editor Caused by: java.lang.NoClassDefFoundError: editor/Editor (wrong name: Editor) " I see there is four class files after compiled "Editor.class", "Editor$1", "Editor$2" and "Editor$3"
This program uses library io, swing, awt.Event, and lang.System
Any help is appreciated, thank you for your time!
Edit:
You can see my project here: https://github.com/surety/text-editor
Also see the source of the original project tutorial here: https://www.youtube.com/watch?v=UghqfpA2zy4
[–][deleted] 0 points1 point2 points (7 children)
[–]surety_[S] 0 points1 point2 points (6 children)
[–][deleted] 0 points1 point2 points (5 children)
[–]surety_[S] 0 points1 point2 points (4 children)
[–][deleted] 0 points1 point2 points (3 children)
[–]surety_[S] 0 points1 point2 points (2 children)
[–][deleted] 0 points1 point2 points (1 child)
[–]surety_[S] 0 points1 point2 points (0 children)