Results 1 to 6 of 6
  1. #1

    Conehead778's Avatar
    Member Since
    Jun 10, 2005
    Posts
    181
    Specs:
    Imac G5 17 inch w/ 1 gig of ram, 6 gb ipod mini, and 12" Powerbook G4
    Java programming
    Ok, I am in java at school and I need a compiler we are doing stand alone apps in java and I cant figure out how to use xcode to do it. I have opened the file in xcode and it doesnt give me the option to compile it. Any ideas?

  2. #2

    Conehead778's Avatar
    Member Since
    Jun 10, 2005
    Posts
    181
    Specs:
    Imac G5 17 inch w/ 1 gig of ram, 6 gb ipod mini, and 12" Powerbook G4
    So i guess its a big mystery?

  3. #3


    Member Since
    Jul 22, 2003
    Location
    Hamilton College
    Posts
    6,999
    Specs:
    20" iMac C2D 2.16ghz, 13" MacBook 2.0ghz, 60gb iPod vid, 1gb nano
    you probably need to get a specific compiler that your cs department is using. It would probably be much more convenient to just ssh to the department computers and use theri built in compilers
    Don't forget to use the new User Reputation System

  4. #4

    xstep's Avatar
    Member Since
    Jun 25, 2005
    Location
    On the road
    Posts
    3,231
    Specs:
    2011 MBP, i7, 16GB RAM, MBP 2.16Ghz Core Duo, 2GB ram, Dual 867Mhz MDD, 1.75GB ram, ATI 9800 Pro vid
    I sounds to me like you just dragged a file to the XCode application. When I tried that, I couldn't compile either.

    I would think you need to first create a Java project. Start XCode (I have 2.3), choose File -> New Project -> Java Tool and enter a name. It created a hello world source file. Then via the Project menu you can Add your existing source to the project. You might be able to drag it in also. You need to have the main window selected for that selection to be selectable.

    You may want to join Apple's Java developer mailing list and ask the question there. Go to http://developer.apple.com/ and you'll see a link for Mailing Lists under Developer Support. Click on that and then on Lists hosted on this site on the next page. You want to join the java-dev list.

    I can't be much more help, because I don't use Java.

  5. #5


    Member Since
    May 03, 2006
    Posts
    58
    go to www.versiontracker.com and download blue j.
    nike7465 - aim

    nikeair17@mac.com - email

    MBP 15 1/2

  6. #6


    Member Since
    Mar 30, 2004
    Location
    USA
    Posts
    4,744
    Specs:
    12" Apple PowerBook G4 (1.5GHz)
    1. Use javac from the Terminal. This is the one compiler that every OS has, so you should be familiar with it

    2. When you outgrow that, download Eclipse. Practically everyone doing Java development uses it.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Java Programming ?
    By V6Pony in forum OS X - Development and Darwin
    Replies: 7
    Last Post: 11-13-2013, 04:02 AM
  2. Java Programming - Help Please
    By JavaProgrammer in forum OS X - Development and Darwin
    Replies: 1
    Last Post: 03-01-2012, 12:02 PM
  3. Taking screenshot with java applet using java robot class not working
    By sagngh8 in forum OS X - Development and Darwin
    Replies: 1
    Last Post: 07-06-2011, 09:53 AM
  4. Java Programming at School
    By pr0wn3r in forum Web Design and Hosting
    Replies: 5
    Last Post: 11-25-2007, 11:35 PM
  5. Java Programming
    By Scrum in forum OS X - Operating System
    Replies: 9
    Last Post: 11-23-2007, 12:18 PM

Posting Permissions

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