+ 1
Help i made a simple generic class
It works well in sololearn playground but not in note pad commandline or eclipse... Plis can anyone tell me why it does not run in commandline or eclipse. The error message say something like javafx should extend application.Application. https://code.sololearn.com/c4YwZKvIq8xd/?ref=app
1 Respuesta
+ 3
It seems that you're creating a javafx project in eclipse. That kind of project needs main extending Application class. You need a normal console project. Perhaps you right-clicked on project name and select from menu javafx->add javafx nature.
Try to create a new project without that option and copy-paste your code in it.