Android-Droid
Android-Droid

Reputation: 14565

Java Eclipse running project gives message searching for main types

I'm trying to run a project which a friend of mine send me, but I got a strange message which I've never seen before and not sure what to do to run the project without any errors. Here is what I got :

eclipse project

and I'm not really sure which one to choose so I can run the program. It's some kind of translator of C language.

Any suggestions?

Upvotes: 0

Views: 3486

Answers (2)

aparpcb
aparpcb

Reputation: 1

In Select type search window type your "class name" and then you will get a option like "class name- project name". Select and then click ok

Upvotes: 0

michele b
michele b

Reputation: 1865

Well it could be one between Parser and Scanner, but you should type org.aj.unitrans in the search filter, so that only classes in that package are displayed. If the filter finds no matches it means that there's no public static void main(String[] args) method in those packages, and they're probably to be used as a library by other programs.

Upvotes: 2

Related Questions