Article View: borland.public.jbuilder.java.api
Article #2391Re: Newby Question
From: James A. Schulz
Date: Mon, 23 Oct 2000 00:00
Date: Mon, 23 Oct 2000 00:00
49 lines
2248 bytes
2248 bytes
Michael, OK. I did all that...up to the point of choosing my main class. In the drop down all I see is the name of the source file, i.e. ThisExample.java. I cannot expand that item. If I choose ThisExample.java as my Main class, I get a "cannot find main class" error when I run the project. The source (ThisExample.jave) does include a Main function but I don't understand how I am supposed to point JBuilder to that function. Any suggestions would be appreciated. James "Michael G" <mglatz@spammenot.com> wrote in message news:39f2ec4b_1@dnews... > If you want to run the code in JBuilder you need to create a project for it: > File/ New Project > then add the file you want to run to the project by clicking on the Add > Files/Packages button. > Then go to the Project menu and choose "Project Properties". In the "run" > tab click on the button in the application sub-tab and set your Main Class, > which should be the java file you want to run. > Now you can run the file in JBuilder. If it's a System.out.println type of > example you will see the results in the bottom of the IDE. > > HTH > > "James A. Schulz" <jaschulz@wiseware.com> wrote in message > news:8stob4$hjb1@bornews.borland.com... > > I have an example java program that I would like to run. But if I double > > click on ThisExample.java, I get an error that says: Can't find > > ThisExample.java or one of its components. Then JBuilder4 starts up. If > I > > load ThisExample.java, all the items on the run menu are disabled. How do > I > > run this example program? > > > > thanks > > > > James > > > > > >
Technical Details
Message-ID:
<8t1b28$mbv10@bornews.borland.com>Path:
arc1-ca.pugleaf.net!unknown!not-for-mailReferences:
<8stob4$hjb1@bornews.borland.com> <39f2ec4b_1@dnews>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 1089d0,66c65841f86ddcb1 X-Google-Attributes: gid1089d0,public From: "James A. Schulz" <jaschulz@wiseware.com> Subject: Re: Newby Question Date: 2000/10/23 Message-ID: <8t1b28$mbv10@bornews.borland.com> X-Deja-AN: 684787817 References: <8stob4$hjb1@bornews.borland.com> <39f2ec4b_1@dnews> X-Priority: 3 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4133.2400 Organization: Another Netscape Collabra Server User X-MSMail-Priority: Normal Reply-To: "James A. Schulz" <jaschulz@wiseware.com> Newsgroups: borland.public.jbuilder.java.api