Results 1 to 9 of 9

Thread: X code 3.2

  1. #1


    Member Since
    Feb 29, 2012
    Posts
    14
    X code 3.2
    I have Java Version for X code 3.2. I opened the file go to organizer then click on the + symbol did the file helloworld.java and now it gave me this error!

    [javac] Compiling 4 source files to /Users/nari/Documents/Hello_world/HelloWorld/bin


    [javac] /Users/nari/Documents/Hello_world/HelloWorld/src/HelloWorld.java:1: package java.until does not exist


    [javac] import java.until.*;


    [javac] ^


    [javac] 1 error


    BUILD FAILED


    /Users/nari/Documents/Hello_world/HelloWorld/build.xml:40: Compile failed; see the compiler error output for details.


    Total time: 3 seconds


    Command /var/folders/MM/MM86yNIHEHy9wTLlU0Xc1k+++TI/-Tmp-/4D50449A1591504900C53766 failed with exit code 1

  2. #2

    vansmith's Avatar
    Member Since
    Oct 19, 2008
    Location
    Toronto
    Posts
    19,782
    Specs:
    2012 13" MBP (2.5 i5, 8GB)
    Moved to the development forum.

    Change the first line to "java.util" (it says java.until right now).
    Important Links: Community Guidelines : Use the reputation system if you've been helped.
    M-F Blog :: Write for the blog
    Writing a Quality Post

  3. #3


    Member Since
    Feb 29, 2012
    Posts
    14
    fixed and now
    [Session started at 2012-06-19 17:38:08 -0700.]
    Buildfile: build.xml does not exist!
    Build failed

    The Debugger has exited with status 1.The Debugger has exited with status 1.

  4. #4

    vansmith's Avatar
    Member Since
    Oct 19, 2008
    Location
    Toronto
    Posts
    19,782
    Specs:
    2012 13" MBP (2.5 i5, 8GB)
    Evidently build.xml doesn't exist. How are you building this? Are you trying to use ANT?
    Important Links: Community Guidelines : Use the reputation system if you've been helped.
    M-F Blog :: Write for the blog
    Writing a Quality Post

  5. #5


    Member Since
    Feb 29, 2012
    Posts
    14
    So my question is this

    How can I create the Java file in Xcode? I wanted the "HelloWorld" to be outputed into the

  6. #6


    Member Since
    Feb 29, 2012
    Posts
    14
    oops Outputed into the Console...

  7. #7

    vansmith's Avatar
    Member Since
    Oct 19, 2008
    Location
    Toronto
    Posts
    19,782
    Specs:
    2012 13" MBP (2.5 i5, 8GB)
    As I asked before, are you trying to build this with ANT? ANT requires a build.xml file which Xcode seems to be complaining about.
    Important Links: Community Guidelines : Use the reputation system if you've been helped.
    M-F Blog :: Write for the blog
    Writing a Quality Post

  8. #8


    Member Since
    Feb 29, 2012
    Posts
    14
    Quote Originally Posted by vansmith View Post
    As I asked before, are you trying to build this with ANT? ANT requires a build.xml file which Xcode seems to be complaining about.
    No I am not on that level yet. I want to start a java file on X code and do a simple hello world before I do my other programming homework.

  9. #9

    vansmith's Avatar
    Member Since
    Oct 19, 2008
    Location
    Toronto
    Posts
    19,782
    Specs:
    2012 13" MBP (2.5 i5, 8GB)
    Xcode isn't really designed to do Java (not anymore at least) - it's truly designed to do Objective-C/C/C++ programming for OS X and iOS. However, if you decide to stick with it, you can take a look here. Otherwise, you might want to consider migrating to a more Java friendly IDE like Eclipse or Netbeans.
    Important Links: Community Guidelines : Use the reputation system if you've been helped.
    M-F Blog :: Write for the blog
    Writing a Quality Post

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. code
    By bolton59 in forum Web Design and Hosting
    Replies: 4
    Last Post: 01-09-2013, 12:08 PM
  2. Error Code -61 help
    By pokeman89 in forum Apple Desktops
    Replies: 4
    Last Post: 11-25-2009, 09:57 PM
  3. the code.
    By eric in forum Schweb's Lounge
    Replies: 12
    Last Post: 04-22-2008, 03:33 PM
  4. Need help with error code
    By HotRodstoHell in forum OS X - Operating System
    Replies: 2
    Last Post: 12-02-2007, 04:16 PM
  5. Replies: 3
    Last Post: 07-02-2004, 10:13 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
  •