-4

I want to install Javac on my mac but I can't find a link anywhere. Is it available for mac?

user1064913
  • 335
  • 2
  • 8
  • 19
  • possible duplicate of [How install a specific jdk on Mac OS X?](http://stackoverflow.com/questions/1577014/how-install-a-specific-jdk-on-mac-os-x) – zengr Nov 29 '11 at 06:02
  • 1
    Nevermind. Apparently javac has been preinstalled on my computer. Stupid question. – user1064913 Nov 29 '11 at 06:04

2 Answers2

5

For now, OSX ships with it.

$ which javac
/usr/bin/javac
$
Thomas Bormans
  • 5,156
  • 6
  • 34
  • 51
andrewdotnich
  • 16,195
  • 7
  • 38
  • 57
0

You should not call it javac, it is just the Java Compiler. You need JDK (Java Development Kit). It will contain all the tools needed for Java Development.

JDK comes pre-installed on new versions of Mac. For more Help on Getting jdk on Mac check this link out.

gprathour
  • 14,813
  • 5
  • 66
  • 90