Results 1 to 7 of 7
  1. #1
    help instaling java

    Member Since
    Jan 17, 2008
    Posts
    3
    help instaling java
    Hi all. This is my first mac and i am very excited. However i am currently enrolled in a java programing class and i cant seem to install it on my mac.
    I got a new macbook pro with leopard OS. Every time i try to install it i am told that i need os 10.4 or later does anyone know where i can get java for leopard or what i am doing wrong?
    thanks

  2. #2
    help instaling java

    Member Since
    Dec 24, 2006
    Location
    N. Ireland
    Posts
    901
    Specs:
    Mac Pro 2xQuad core 2.8GHZ
    Java comes pre-installed with OSX

    To check what version you have, open a terminal window and enter the following command

    Code:
    java -version

  3. #3
    help instaling java
    Aptmunich's Avatar
    Member Since
    Mar 09, 2004
    Location
    Munich
    Posts
    9,073
    Specs:
    Aluminium Macbook 2.4 Ghz 4GB RAM, SSD 24" Samsung Display, iPhone 4, iPad 2
    Yeah, just open the terminal, cd over to your folder and type "javac myapplication.java" and it'll compile your code.

    Then type in "java myapplication" to run your app.

    Personally I used Textmate for quite a while since it does all that for you with a single click. Now I use Eclipse mostly (a Java IDE).

  4. #4
    help instaling java

    Member Since
    Jan 17, 2008
    Posts
    3
    hey guys thanks so much for your help, but this is my first mac so where is this terminal window which im assuming is the same as the comand window on a windows machine. For windows i just go to start, then run, type cmd and click enter. where do i find it here. also where do i find textmate and that other one u where talking about?
    Thanks so much

  5. #5
    help instaling java

    Member Since
    Dec 24, 2006
    Location
    N. Ireland
    Posts
    901
    Specs:
    Mac Pro 2xQuad core 2.8GHZ
    Yes terminal is the same as the 'command' window.

    just type 'terminal' in to spotlight (the magnifying glass to the right of the top menubar)

    Textmate is found with google, but there is a textedit that comes with OSX, but it saves in rtf format so make sure you save as plain text when editing java code

  6. #6
    help instaling java

    Member Since
    Jan 17, 2008
    Posts
    3
    thanks alot guys

  7. #7
    help instaling java
    Aptmunich's Avatar
    Member Since
    Mar 09, 2004
    Location
    Munich
    Posts
    9,073
    Specs:
    Aluminium Macbook 2.4 Ghz 4GB RAM, SSD 24" Samsung Display, iPhone 4, iPad 2
    To change Folder directory in the terminal, either type "cd" and then the path, or just type "cd" and then drag in the folder that you want to change to.

    The terminal will auto-complete the rest of the path for you.

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Instaling mac on pc
    By mariosprob in forum OS X - Operating System
    Replies: 1
    Last Post: 05-19-2011, 06:56 AM
  2. Instaling a .DMG ??
    By thorsonb in forum OS X - Operating System
    Replies: 3
    Last Post: 01-25-2010, 07:58 AM
  3. instaling an exec file
    By jkeep in forum Switcher Hangout
    Replies: 2
    Last Post: 02-24-2009, 01:15 PM
  4. instaling x.4 on a g4 on external dvd drive: HELP!!!!!
    By llama hunter in forum Other Hardware and Peripherals
    Replies: 4
    Last Post: 07-03-2008, 04:30 AM
  5. instaling ubuntu with mac os 9 ? is it possible.
    By gurhanda in forum Apple Desktops
    Replies: 1
    Last Post: 10-06-2007, 11: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
  •