![]() |
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. |
Well, I've never used JBuilder before, but I reccomend JCreator strongly to anyone. It's a simple, yet elegant IDE.
|
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. |
| All times are GMT -5. The time now is 4:15 PM. |
Powered by vBulletin® Version 3.7.0, Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Copyright ©2007 DaniWeb® LLC