• Post Reply Bookmark Topic Watch Topic
  • New Topic

Java on the Mac.  RSS feed

 
DAVID BURGESS
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.
 
Timmy Marks
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!
 
Pat Peg
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?)
 
Pauline McNamara
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.
 
Hentay Duke
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 ]
 
marc weber
Sheriff
Posts: 11343
Java Mac Safari
  • 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...

http://www.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...

http://www.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 ]
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!