Go Back   CodingForums.com > :: Server side development > Java and JSP

Before you post, read our: Rules & Posting Guidelines

Reply
 
Thread Tools Rate Thread
Enjoy an ad free experience by logging in. Not a member yet? Register.
Old 12-05-2002, 03:03 AM   PM User | #1
megahertzman
New Coder

 
Join Date: Aug 2002
Location: San Francisco
Posts: 49
Thanks: 0
Thanked 0 Times in 0 Posts
megahertzman is an unknown quantity at this point
Lightbulb Looking for a Java compiler...

Can someone refer a good Java compiler. More specifically, I'm looking for a Integrated Development Environment for Java.
I tried Forte for Java (which now they call Sun ONE, I think) from Sun, but I hate it. It just never works. I can't even start a simple application project.

Anyways, I'm trying a Java version of Bloodshed's Dev-C++. That compiler is great for C++ developers, in my opinion.

I looked at IBM's Jikes but that's didn't even launch for some reason. I don't know which one is good.... Someone please post!! Thanks!
__________________
Mr. H
Programmer-at-large.
"Programming is like sex. One mistake and you have to support it for the rest of your life."

Last edited by megahertzman; 12-05-2002 at 03:10 AM..
megahertzman is offline   Reply With Quote
Old 12-05-2002, 12:18 PM   PM User | #2
bcarl314
Mega-ultimate member


 
Join Date: Jun 2002
Location: Winona, MN - The land of 10,000 lakes
Posts: 1,855
Thanks: 1
Thanked 45 Times in 42 Posts
bcarl314 will become famous soon enough
Try Borlands JBuilder. There's a commercial version and a free version. It works well.
bcarl314 is offline   Reply With Quote
Old 12-05-2002, 05:56 PM   PM User | #3
Spookster
Supreme Overlord


 
Spookster's Avatar
 
Join Date: May 2002
Location: Marion, IA USA
Posts: 6,224
Thanks: 4
Thanked 80 Times in 79 Posts
Spookster will become famous soon enough
There is one called JCreator I believe. Obviously though you will need to download and install the JDK no matter what IDE you use.
__________________
Spookster
CodingForums Supreme Overlord
All Hail Spookster
Who gave you that Ugging infraction? Yeah that's right it was me!
Spookster is offline   Reply With Quote
Old 12-06-2002, 09:29 AM   PM User | #4
megahertzman
New Coder

 
Join Date: Aug 2002
Location: San Francisco
Posts: 49
Thanks: 0
Thanked 0 Times in 0 Posts
megahertzman is an unknown quantity at this point
What exactly is the JDK anyways? Are you referring to the thing that you download from Sun's site that interprets the comilpiled code, which is bytecode, I think, into machine code? Because I know that's neccessary.

The JBuilder has so many versions. I downloaded the personal one.

... I just checked out the JCreator.... It seems pretty cool. I think I'll give that one a shot. THX
__________________
Mr. H
Programmer-at-large.
"Programming is like sex. One mistake and you have to support it for the rest of your life."
megahertzman is offline   Reply With Quote
Old 12-06-2002, 12:45 PM   PM User | #5
bcarl314
Mega-ultimate member


 
Join Date: Jun 2002
Location: Winona, MN - The land of 10,000 lakes
Posts: 1,855
Thanks: 1
Thanked 45 Times in 42 Posts
bcarl314 will become famous soon enough
JDK = Java Development Kit

Yes, it's the whole shebang, incluiding reference materials and a compiler.

Remeber, java does not compile to machine code. The whole idea behind java was to compile to a "java style bytecode" that is standard for any system, then the JVM (Java Virtual Machine) will compile that to machine code at runtime. So, all you need to do is install the JVM for your operating system (which most have by default). That is how java attains platform independence. In a nutshell.
bcarl314 is offline   Reply With Quote
Old 12-07-2002, 12:42 AM   PM User | #6
ezekielskater02
New to the CF scene

 
Join Date: Dec 2002
Posts: 6
Thanks: 0
Thanked 0 Times in 0 Posts
ezekielskater02 is an unknown quantity at this point
Thumbs up there is..

there is Y3K JS++

Just type it in on google and the downloaded link will pop up.
__________________
IM so cooler than you.
ezekielskater02 is offline   Reply With Quote
Old 12-10-2002, 05:51 AM   PM User | #7
megahertzman
New Coder

 
Join Date: Aug 2002
Location: San Francisco
Posts: 49
Thanks: 0
Thanked 0 Times in 0 Posts
megahertzman is an unknown quantity at this point
Post Need compiling help with JCreator

Thanks everyone.

I've now been using JCreator for a few hours now and love it, so far! I have not checked out JS++ yet, but I will.

I totally hate JBuilder from Borland, and Forte for Java (or Sun ONE) from SUN!

Can some JCreator users please help me. With the (30-trial Pro version) JCreator I am trying to compile a simple program which looks like this:



import javax.swing.JOptionPane;


public class Hw6 {


public static void main(String args[]) {


//declare variables
String instructions;
String milesinput, gallonsinput;
int miles, gallons;
int milestotal = 0;
double mpgaverage, mpgeach;
String mpgstring;
int n; //same as below but an int data
String ninput; //number of fillups or tankfills
String finaloutput = "";

//Instructions for program
instructions = "Dear user: You will input the number of tankfulls you filled your automobile up with gasoline, the number of gallons filled in each fillup, and the number of miles driven for each fillup. Then, the Resuls box at the end will display your average MPG (miles per gallon).\n\nClick OK to continue.";

//Introduce user to program with Message Dialog box
JOptionPane.showMessageDialog( null, "Welcome to the MileageTracker", "MileageTracker", INFORMATION_MESSAGE );


} //end method main

} //end class Hw6




...and I get this error:


--------------------Configuration: j2sdk1.4.1_01 <Default>--------------------
C:\Program Files\Xinox Software\JCreator Pro\MyProjects\Hw6\Hw6.java:59: cannot resolve symbol
symbol : variable INFORMATION_MESSAGE
location: class Hw6
JOptionPane.showMessageDialog( null, "Welcome to the MileageTracker", "MileageTracker", INFORMATION_MESSAGE );
^
1 error

Process completed.





I don't understand what's the problem?
__________________
Mr. H
Programmer-at-large.
"Programming is like sex. One mistake and you have to support it for the rest of your life."

Last edited by megahertzman; 12-10-2002 at 05:53 AM..
megahertzman is offline   Reply With Quote
Old 12-10-2002, 05:59 PM   PM User | #8
ahosang
Regular Coder

 
Join Date: Sep 2002
Location: Surrey, UK
Posts: 119
Thanks: 0
Thanked 0 Times in 0 Posts
ahosang is an unknown quantity at this point
JOptionPane.INFORMATION_MESSAGE
not:
INFORMATION_MESSAGE
in the method's last argument.
Remember all class constants will be written like that.
ahosang is offline   Reply With Quote
Reply

Bookmarks

Jump To Top of Thread


Thread Tools
Rate This Thread
Rate This Thread:

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


All times are GMT +1. The time now is 01:06 PM.


Advertisement
Log in to turn off these ads.