Helpful Information
 
 
Category: Java and JSP
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! ;)

Try Borlands JBuilder. There's a commercial version and a free version. It works well.

There is one called JCreator I believe. Obviously though you will need to download and install the JDK no matter what IDE you use.

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

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.

there is Y3K JS++

Just type it in on google and the downloaded link will pop up.

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?

JOptionPane.INFORMATION_MESSAGE
not:
INFORMATION_MESSAGE
in the method's last argument.
Remember all class constants will be written like that.










privacy (GDPR)