Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
main()プロジェクトの src フォルダーに多くのクラスが含まれている場合、実行中のプロジェクトが開始するクラスをどのように検出できますか?
main()
Eclipse IDE メニューから、[検索] > [Java ... ] を選択します。
ダイアログで、次のように入力します。
これにより、main() メソッドを使用してすべてのクラスにリンクする「検索」ビューに便利な階層リストが表示されます。
これらのいずれかをクリックして、クラスに移動します。次に、 Run AsまたはDebug Asを右クリックして実行します。