• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Java 2 SE SDK for OS X

 
Ranch Hand
Posts: 511
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I just bought my first G4 PowerBook, today....

Where can I download the Java 2 SE 1.4.2_02 SDK for the MacOS? Sun's site just has downloads for Windoze, Linux, and Solaris....

Also, what is the best Winzip-like utility for the Mac and what is its URL?

Thanks again,

[Bear edit: fixed OS name in title]
[ September 27, 2004: Message edited by: Bear Bibeault ]
 
Sheriff
Posts: 67746
173
Mac Mac OS X IntelliJ IDE jQuery TypeScript Java iOS
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Sun does not provide a Mac version of its JVM. Download and install the OS X developer tools from the Apple site to get the Apple JDK (the JRE comes pre-installed I believe).

Congrats on your new machine!
 
Unnsse Khan
Ranch Hand
Posts: 511
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Bear,

Thanks! OSX does rock!

What is the name of the package I need to install the JDK? Where should the JDK be placed?

in /user/local/java ? or /usr/java?

Also, where do I set the CLASSPATH and PATH (for javac, jar, etc.)

Many, many thanks!
 
Bear Bibeault
Sheriff
Posts: 67746
173
Mac Mac OS X IntelliJ IDE jQuery TypeScript Java iOS
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
When you install the Developer Tools, the files will all get placed in the appropriate locations (/Library/Java/Home if I recall correctly).

You can set up any environment variables in .bash_profile just like any other UNIX. (Assuming you didn't change your shell).
 
Bear Bibeault
Sheriff
Posts: 67746
173
Mac Mac OS X IntelliJ IDE jQuery TypeScript Java iOS
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
More info can be had at http://www.apple.com/macosx/features/java/.
 
Ranch Hand
Posts: 374
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
...you might also want to check out the great O'Reilley book "OS X for the Java Geek"-- it's got a funny name, but it really is a great source of information on how Java lives on OS X. I've just scratched the surface of the book and am already quite happy with it.
 
Bear Bibeault
Sheriff
Posts: 67746
173
Mac Mac OS X IntelliJ IDE jQuery TypeScript Java iOS
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
That book is on my Amazon wishlist but I don't have the scratch for it at the moment. As you get deeper into the book it'd be great if you could post a review.
 
David Hibbs
Ranch Hand
Posts: 374
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

Originally posted by Bear Bibeault:
That book is on my Amazon wishlist but I don't have the scratch for it at the moment. As you get deeper into the book it'd be great if you could post a review.



Sure, I'll see if I can find the time for it.
 
sharp shooter, and author
Posts: 1913
6
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
It's certainly a great book.

Bear is right though, you don't need to explicitly set paths and stuff because it's all done for you. You just need to set your JAVA_HOME variable to /Library/Java/Home for any tools that use it.

BTW, have you tried just typing javac at the command prompt? I don't remember installing the JDK but then again I did install the developer tools package.
[ October 07, 2004: Message edited by: Simon Brown ]
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
reply
    Bookmark Topic Watch Topic
  • New Topic