Results 1 to 5 of 5
  1. #1
    how do get started in java

    Member Since
    Feb 03, 2008
    Posts
    168
    how do get started in java
    I posted this topic a while ago, but I can't find it anymore, so I'll ask again. I've downloaded the lates version of Java for mac (se6) and it's sitting on my hard drive, but I don't know what to do next to get going. I bought the dummies series of books to start out with Java, and it comes with an IDE (j creator light). I haven't loaded it yet into the machine, because I dont' know what else I need (if anything) to start programming/learning. Can anyone out there tell me what else I need to do?

  2. #2
    how do get started in java

    Member Since
    Dec 24, 2006
    Location
    N. Ireland
    Posts
    901
    Specs:
    Mac Pro 2xQuad core 2.8GHZ
    Firstly - You don't need anything else, however as you become more proficient a better IDE (Eclipse or Netbeans) would be recommended.

    You can write java code using a simple plain text editor.

    And then you can compile and run the code from OSX's terminal, which is basically what j creator will do for you behind the scenes.

  3. #3
    how do get started in java

    Member Since
    Feb 03, 2008
    Posts
    168
    Need more explanation
    Okay -- I'm not sure I said enough in my other posts. I was learning java on my old pc, so I'm very very new to mac. I'll start using text editor to write the programs, but how do I use terminal to run the programs? I have it on my machine, but all I get is a window. while I'm here, can anyone tell me how to open xcode? I know it's on my disc, and I thought I downloaded the right one (I think it was the package) but I get nothing.

  4. #4
    how do get started in java

    Member Since
    Dec 24, 2006
    Location
    N. Ireland
    Posts
    901
    Specs:
    Mac Pro 2xQuad core 2.8GHZ
    In the terminal there are two main commands for java, these are
    java and javac

    javac runs the java compiler

    java executes a java program


    so some examples

    javac MyProgram.java (will compile MyProgram.java in the current directory)

    java MyProgram (will execute MyProgram)

  5. #5
    how do get started in java

    Member Since
    May 09, 2012
    Posts
    2
    Java programming on Mac OS X
    Here is a great article about java programming on mac. There is a whole section about development on mac - unix navigation, environment variables, eclipse/tomcat/maven installation etc

    http://bitbybitblog.com/java-on-mac

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Java for Mac OS X 10.6 Update 17 latest java version?
    By Applet in forum OS X - Operating System
    Replies: 2
    Last Post: 09-12-2014, 02:07 AM
  2. From where should I disable Java (Java preferences or Safari?)
    By dacoolest in forum OS X - Operating System
    Replies: 10
    Last Post: 04-24-2012, 01:43 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, 08:53 AM
  4. Java Problem! Java games freezing!!
    By L33t Walrus in forum Apple Desktops
    Replies: 1
    Last Post: 02-28-2010, 02:21 PM
  5. Getting started with Java
    By DrQuincy in forum OS X - Development and Darwin
    Replies: 6
    Last Post: 02-13-2007, 06:06 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
  •