Skip to main content



      Home
Home » Language IDEs » Java Development Tools (JDT) » project selection, search for main method
project selection, search for main method [message #167307] Mon, 05 July 2004 17:13
Eclipse UserFriend
Originally posted by: sn.srv.ca

Hello.

Eclipse 3.0, using j2sdk1.4.2_04, under W2K, searches the
JRE System Library for main methods. This happens when the
project is selected, and then

Run As ... --> Java Application

is clicked. How do I prevent Eclipse from looking for main
methods in the JRE System Library?

I am aware that I can select the class or package, or create
my own Launch Configuration. Yet, as in Eclipse 2.1.3, it's
less confusing for novice users to also run code by choosing
the project.

Note that

-- Eclipse 2.1.3 in W2K does not search the
JRE System Library when using j2sdk1.4.2_04 or
jdk1.3.1_11.

-- When I say "using j2sdk1.4.2_04", I mean that
Eclipse runs using that JRE and SDK, plus projects
are compiled and executed using that JRE and SDK.

Cheers

--
Stef Nychka, Lab Instructor
Department of Computing Science
University of Alberta
Previous Topic:getting IJavaElement from workspace
Next Topic:Newsgroup Search
Goto Forum:
  


Current Time: Tue May 13 12:52:41 EDT 2025

Powered by FUDForum. Page generated in 0.04905 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top