![]() |
|
![]() |
|
|
Thread Tools | Display Modes |
|
|
#1 |
|
Hobbyist Programmer
Join Date: Mar 2005
Posts: 148
Rep Power: 4
![]() |
This JBuilder is really complicated
I downloaded and installed JBuilder Foundation cuz I thought I might like it. I've used the company's C++ Builder and it allowed me to do what I wanted. Now keep in mind here I'm just a beginner. I thought JBuilder would have a similar feature to what C++ Builder has, and what that is is you go into Menu and select New Project or New Application. You can then choose Console Application and a code window will open with perhaps just a few header files already there, but all the other code(the code that's contained in your example in your book) you would type in yourself like this example:
public class Welcome{ public static void main(String args[]) { System.out.println("Welcome to Java!"); } } And then you simply click Run and you get this: Welcome to Java! Quite simple. But in JBuilder there is no entry for console application. After you pick New Project you go through about 2 or 3 wizards and it opens up a code window with a whole bunch of code already there. I tried deleting all of it and just typing in my code for my example but I got all sorts of errors so I guess you can't do it that way. Should I switch to a simpler IDE? Like maybe JCreator? Or would I be better of just downloading a Java text editor and then the Java language and doing it that way? Can you recommend an IDE that doesn't automatically generate a whole bunch of complicated code, one that you can easily start a new project, give it a name, and go to an empty code window and add your code? I realize I don't know anything about Java so I'm really at square one here. |
|
|
|
|
|
#2 |
|
The Supreme Ruler
![]() Join Date: May 2004
Location: Houston
Posts: 1,476
Rep Power: 6
![]() |
Well, I've never used JBuilder before, but I reccomend JCreator strongly to anyone. It's a simple, yet elegant IDE.
__________________
"Every gun that is made, every warship launched, every rocket signifies, in the final sense, a theft from those who hunger and are not fed, from those who are cold and are not clothed. The world in arms is not spending money alone. It is spending the sweat of its laborers, the genius of its scientists, the hopes of its children." - Dwight D. Eisenhower |
|
|
|
|
|
#3 |
|
Newbie
Join Date: Mar 2005
Posts: 1
Rep Power: 0
![]() |
Just try File | New | Class. Click "Finish" the first chance you get and then type in your main(). When you run, just pick which class to run (the one you just created).
It's not really that hard. "Application" means a full-blown application, not a simple class. |
|
|
|
![]() |
| Bookmarks |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| Display Modes | |
|
|