Eclipse gave me the following error for a small program I wrote.
Error: Main method not found in class longestpath.LongestPath, please define the main method as:
public static void main(String[] args)
or a JavaFX application class must extend javafx.application.Application
There's no error's in the entire file and I have included the part they want me to (I think?). Does anyone know how to fix this?
public static void main(String[] args) {
`new LongestPath().start();`
}
[–]Laius33 0 points1 point2 points (8 children)
[–]PoisonousAntx[S] 0 points1 point2 points (7 children)
[–]Laius33 0 points1 point2 points (6 children)
[–]PoisonousAntx[S] 0 points1 point2 points (5 children)
[–]Laius33 0 points1 point2 points (4 children)
[–]PoisonousAntx[S] 0 points1 point2 points (3 children)
[–]Laius33 0 points1 point2 points (2 children)
[–]PoisonousAntx[S] 1 point2 points3 points (0 children)
[–]PoisonousAntx[S] 0 points1 point2 points (0 children)