Java Compiler

Discussion in 'OT Technology' started by tenplanescrashing, Feb 3, 2006.

  1. tenplanescrashing

    tenplanescrashing Active Member

    Joined:
    Jan 9, 2005
    Messages:
    9,287
    Likes Received:
    0
    I need a Java compiler/editor for my java programming class. We use Textpad at school but only on windows. I need something for my mac. Anyone know of any good programs?
     
  2. colosodian

    colosodian Next Gen

    Joined:
    Oct 16, 2004
    Messages:
    1,110
    Likes Received:
    0
    Location:
    SF Bay
    I use dw for writing code, than simply javac for compiling. Theres a couple ide's out there. Are you comfortable using emacs / vi?

    sorry, dw as in dreamweaver. I like how it colors keywords, most editors will dot aht for you. I used BBedit when I started.
     
  3. agent0068

    agent0068 OT Supporter

    Joined:
    Jun 28, 2002
    Messages:
    39,833
    Likes Received:
    0
    (1) the java command line tools via terminal
    (2) xcode from apple
    (3) eclipse
    ....
     
  4. fifty50

    fifty50 New Member

    Joined:
    Oct 11, 2002
    Messages:
    908
    Likes Received:
    0
    Location:
    Hoboken, NJ
    i use emacs. then use javac in terminal. works like a charm.
     
  5. clog

    clog NO SOUP FOR YOU!!!!11

    Joined:
    Dec 2, 2004
    Messages:
    20,987
    Likes Received:
    0
    Location:
    LOLifornia
    drjava.org/



    what is xcode??
     
  6. samm

    samm Next in Line

    Joined:
    Dec 22, 2000
    Messages:
    2,630
    Likes Received:
    0
    Location:
    San Jose, CA
  7. tenplanescrashing

    tenplanescrashing Active Member

    Joined:
    Jan 9, 2005
    Messages:
    9,287
    Likes Received:
    0
    I have Xcode and am downloading eclipse. I don't feel comfortable using terminal. I can edit in xcode and save it but it doesn't compile, will Eclipse do that?
     
  8. colosodian

    colosodian Next Gen

    Joined:
    Oct 16, 2004
    Messages:
    1,110
    Likes Received:
    0
    Location:
    SF Bay
    javac file.java
     
  9. tenplanescrashing

    tenplanescrashing Active Member

    Joined:
    Jan 9, 2005
    Messages:
    9,287
    Likes Received:
    0
    :confused:
     
  10. clog

    clog NO SOUP FOR YOU!!!!11

    Joined:
    Dec 2, 2004
    Messages:
    20,987
    Likes Received:
    0
    Location:
    LOLifornia
    the javac compiler in the terminal...
     
  11. samm

    samm Next in Line

    Joined:
    Dec 22, 2000
    Messages:
    2,630
    Likes Received:
    0
    Location:
    San Jose, CA
    Become comfortable with it, it is very powerful.
     
  12. rpark

    rpark New Member

    Joined:
    Apr 9, 2005
    Messages:
    1,082
    Likes Received:
    0
    Location:
    Isla Vista, California
    If this is a beginner programming class, you can simply use text edit and terminal together.

    What you can do is write the program in textedit, save it to your FAVORITE location.

    Then open a program called terminal and goto that location.

    To change directory is the same as in windows, you type "cd".

    To get a directory listing type "ls" instead of "dir".


    After you have found the file in your FAVORITE location.

    simply type "javac [filename].java"

    to run type "java [filename]" (without the .java or the .class).

    should have been covered in class anyways.


    Some more commands:
    mv [source] [destination] - moves a file.
    mv [filename] [new filename] - renames a file.
    cp [source] [destination] - copys a file.
    man [command] - opens the manual about the [command].


    Edit:
    http://java.sun.com/docs/books/tutorial/getStarted/cupojava/mac.html
    thats a link on how to use xcode to write a very basic program. However, in this case I think it maybe overkill.
     
  13. Furner

    Furner New Member

    Joined:
    Jan 7, 2003
    Messages:
    7,584
    Likes Received:
    0
    Location:
    Grand Rapids, MI
    for an IDE, i used to use BlueJ when I did java
     
  14. agent0068

    agent0068 OT Supporter

    Joined:
    Jun 28, 2002
    Messages:
    39,833
    Likes Received:
    0
    you have to code in java and never heard of javac.... :ugh:
     
  15. agent0068

    agent0068 OT Supporter

    Joined:
    Jun 28, 2002
    Messages:
    39,833
    Likes Received:
    0
    um, xcode can compile
     
  16. tenplanescrashing

    tenplanescrashing Active Member

    Joined:
    Jan 9, 2005
    Messages:
    9,287
    Likes Received:
    0
    I just started coding in java 2 weeks ago. so no, i've never heard of javac. and I didn't find an option for compiling in xcode.
     
  17. jabbadeznuts

    jabbadeznuts ΜΟΛΩΝ ΛΑΒΕ

    Joined:
    Jun 27, 2004
    Messages:
    3,143
    Likes Received:
    0
    Location:
    PDX
    I've always used NetBeans. I REALLY didn't like XCode's UI.
     
  18. Interlude

    Interlude New Member

    Joined:
    Dec 25, 2003
    Messages:
    6,346
    Likes Received:
    0
    Location:
    SoCal
    jGrasp is another option
     
  19. Furner

    Furner New Member

    Joined:
    Jan 7, 2003
    Messages:
    7,584
    Likes Received:
    0
    Location:
    Grand Rapids, MI
    hogs all system resources better than any known virus....
     

Share This Page