Code-Bullet / Hill-Climb-Racing-AI

Using neat to train an AI to play the classic hill climb racing game
97 stars 65 forks source link

selection does not contain a main type #6

Open kajvans opened 4 years ago

kajvans commented 4 years ago

if i try to run it i get the error: selection does not contain a main type how to fix it i did import the project to eclipse otherwise i dont know ho to run it

Sanjit1 commented 4 years ago

How can I reproduce the error

kajvans commented 4 years ago

Download the program and than run it in eclipse

On Sat, 2 May 2020, 19:03 Sanjit Sarda, notifications@github.com wrote:

How can I reproduce the error

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/Code-Bullet/Hill-Climb-Racing-AI/issues/6#issuecomment-622984137, or unsubscribe https://github.com/notifications/unsubscribe-auth/AM5FP2AAGXR7BPRQNJ36TVLRPRG77ANCNFSM4L2VRKFA .

Sanjit1 commented 4 years ago

Eclipse is generally for java, which is why it is looking for a main java method in the so called-project you imported. There are a couple of ways you could run this: