This week's book giveaway is in the General Computing forum.
We're giving away four copies of Emmy in the Key of Code and have Aimee Lucido on-line!
See this thread for details.
Win a copy of Emmy in the Key of Code this week in the General Computing 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
  • Devaka Cooray
  • Tim Cooke
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • Ron McLeod
  • Carey Brown
Bartenders:
  • Paweł Baczyński
  • Piet Souris
  • Vijitha Kumara

Java on the Mac.

 
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I am keen to develope Java programs on my Mac. Being a total 'confused' novice can you possibly answer the following.

Do I have to load/download additional software or can I utilise any of the existing utilities available on my G5 (Applescript, textedit, etc., there is a Java utility with applet launcher but information on how you use this (including apples web site is limited).

Basically, I would like to know: Do I need additional software and if not where in Macs utilities tdo I write the source code to allow Java to work.

Many thanks for your anticipated help.

Regards

Dave.
 
Ranch Hand
Posts: 226
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
According to Sun, Mac users can download the software directly from Apple here.

Good luck!
 
Ranch Hand
Posts: 195
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I have a mac that I do some Java stuff on. I don't recall having to download anything specific to do the development however, I found the tools on the box to be very limited. I soon downloaded eclipse to use as my IDE and haven't looked back. Short answer-I think you can be a notepad nazy and start programming right out of the box (but why?)
 
Sheriff
Posts: 4012
6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hey Dave, welcome to JavaRanch!

Have you seen the Mac OS forum here at the ranch? It's got a couple of discussions on getting started. A quick search brought up this thread for example.

Enjoy.
 
Ranch Hand
Posts: 198
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
OSX comes with everything you need to develope Java apps right out of the box. The latest version of Java gets to the mac a little later but I don't find that a big deal. If you want to use what you already have on your machine you can write the code in XCode and compile and run from the terminal. You can also do some of that from XCode, but I prefer the Terminal and just use XCode for coding.

As someone else suggested you can download Eclipse and do everything from right in there. I've done that, but eclipse is too slow on my old iMac. With your G5 it shouldn't be a problem though.

Apple prides itself on being a great platform to develope Java by including everything in the OS. Whether that's actually the case is open for debate.

The Apple site has some good information developing with OSX though you have to take some time and dig around to find it. A google search will also give a couple results that are useful to get you started.

I only do a little developing at home but love using the mac for it. At work I am forced to conform and use a windows machine.
[ June 15, 2005: Message edited by: Hentay Duke ]
 
Sheriff
Posts: 11343
Mac Safari Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Java comes installed and ready to go with the Mac operating systems. The version of Java you have on your Mac depends on your operating system. If you're using Tiger (OS 10.4), then Java 1.4.2 is already installed, but you can download Java 1.5 from Apple.

Here's a thread about configuring Java 1.5 on Mac...

https://coderanch.com/t/111469/Mac/Java-Missing-Installation-Instructions

You do not need any additional software. You can use Mac's TextEdit application to write Java files, and the Terminal application to run the javac compiler. (These are analogous to Windows' WordPad/Notepad and the Command Prompt.) If you have questions about using these applications for Java, then you'll do best posting to the Mac OS board.

If you're a novice, then I strongly recommend using TextEdit and Terminal before confusing matters with an IDE. But here's a thread about setting up Eclipse to work with Java 1.5 on Mac...

https://coderanch.com/t/111478/Mac/Eclipse-Java-Mac

I'm just curious: Which G5 model do you have? And which operating system are you running? (I use a G4 PowerBook running 10.4.1, and am going to buy a G5 iMac. I also have a Windows XP machine, but I avoid it as much as possible.)
[ June 15, 2005: Message edited by: marc weber ]
 
passwords must contain 14 characters, a number, punctuation, a small bird, a bit of cheese and a 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!