Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 8 of 8
  1. #1
    New Coder
    Join Date
    Aug 2002
    Location
    San Francisco
    Posts
    49
    Thanks
    0
    Thanked 0 Times in 0 Posts

    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!
    Last edited by megahertzman; 12-05-2002 at 03:10 AM.
    Mr. H
    Programmer-at-large.
    "Programming is like sex. One mistake and you have to support it for the rest of your life."

  • #2
    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
    Try Borlands JBuilder. There's a commercial version and a free version. It works well.

  • #3
    Supreme Overlord Spookster's Avatar
    Join Date
    May 2002
    Location
    Marion, IA USA
    Posts
    6,273
    Thanks
    4
    Thanked 83 Times in 82 Posts
    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

  • #4
    New Coder
    Join Date
    Aug 2002
    Location
    San Francisco
    Posts
    49
    Thanks
    0
    Thanked 0 Times in 0 Posts
    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."

  • #5
    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
    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.

  • #6
    New to the CF scene
    Join Date
    Dec 2002
    Posts
    6
    Thanks
    0
    Thanked 0 Times in 0 Posts

    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.

  • #7
    New Coder
    Join Date
    Aug 2002
    Location
    San Francisco
    Posts
    49
    Thanks
    0
    Thanked 0 Times in 0 Posts

    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?
    Last edited by megahertzman; 12-10-2002 at 05:53 AM.
    Mr. H
    Programmer-at-large.
    "Programming is like sex. One mistake and you have to support it for the rest of your life."

  • #8
    Regular Coder
    Join Date
    Sep 2002
    Location
    Surrey, UK
    Posts
    119
    Thanks
    0
    Thanked 0 Times in 0 Posts
    JOptionPane.INFORMATION_MESSAGE
    not:
    INFORMATION_MESSAGE
    in the method's last argument.
    Remember all class constants will be written like that.


  •  

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •