Win a copy of Reactive Streams in Java: Concurrency with RxJava, Reactor, and Akka Streams this week in the Reactive Progamming forum!
  • 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 all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Liutauras Vilda
  • Junilu Lacar
  • Jeanne Boyarsky
  • Bear Bibeault
Sheriffs:
  • Knute Snortum
  • Tim Cooke
  • Devaka Cooray
Saloon Keepers:
  • Ron McLeod
  • Stephan van Hulst
  • Tim Moores
  • Tim Holloway
  • Carey Brown
Bartenders:
  • Piet Souris
  • Frits Walraven
  • Ganesh Patekar

Java 2 SE SDK for OS X

 
Ranch Hand
Posts: 511
  • Mark post as helpful
  • send pies
  • 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 ]
 
Marshal
Posts: 67289
170
Mac Mac OS X IntelliJ IDE jQuery Java
  • Mark post as helpful
  • send pies
  • 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
  • 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
Marshal
Posts: 67289
170
Mac Mac OS X IntelliJ IDE jQuery Java
  • Mark post as helpful
  • send pies
  • 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
Marshal
Posts: 67289
170
Mac Mac OS X IntelliJ IDE jQuery Java
 
Ranch Hand
Posts: 374
  • Mark post as helpful
  • send pies
  • 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
Marshal
Posts: 67289
170
Mac Mac OS X IntelliJ IDE jQuery Java
  • Mark post as helpful
  • send pies
  • 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
  • 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
  • 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 ]
 
I AM MIGHTY! Especially when I hold this tiny ad:
Java file APIs (DOC, XLS, PDF, and many more)
https://products.aspose.com/total/java
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!