Programming Forums
User Name Password Register
 

RSS Feed
FORUM INDEX | TODAY'S POSTS | UNANSWERED THREADS | ADVANCED SEARCH

Reply
 
Thread Tools Display Modes
Old Mar 23rd, 2005, 1:45 PM   #1
357mag
Hobbyist Programmer
 
Join Date: Mar 2005
Posts: 148
Rep Power: 4 357mag is on a distinguished road
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.
357mag is offline   Reply With Quote
Old Mar 23rd, 2005, 2:57 PM   #2
Mjordan2nd
The Supreme Ruler
 
Join Date: May 2004
Location: Houston
Posts: 1,476
Rep Power: 6 Mjordan2nd is on a distinguished road
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
Mjordan2nd is offline   Reply With Quote
Old Mar 23rd, 2005, 5:23 PM   #3
Skid289
Newbie
 
Join Date: Mar 2005
Posts: 1
Rep Power: 0 Skid289 is on a distinguished road
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.
Skid289 is offline   Reply With Quote
Reply

Bookmarks

« Previous Thread in Forum | Next Thread in Forum »

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump




DaniWeb IT Discussion Community
All times are GMT -5. The time now is 8:27 AM.

Powered by vBulletin® Version 3.7.0, Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Copyright ©2007 DaniWeb® LLC