the website was:

http://www.javacoffeebreak.com

and  a Hello World program might look like:

// begin code

public class Hello{
public static void main(String[] args){
System.out.println("Hello World!!!");
}
}

// end code

• paste this code into a plain text file and name it Hello.java (note the capitalization)
• open terminal and navigate to the folder where your file is saved
• type:

javac Hello.java

• the code will compile in silence, providing there are no errors, and a file called Hello.class will be created
• you can run it by typing:

java Hello

Since this is way OT for this list, if you'd like to know more, please do contact me off-list, and I'm happy to assist, but know however, that I am *EXTREMELY* busy so I really am not in a space at the moment to do entire tutorials, but I'm totally happy to direct you toward any materials I know of. K?

Have an awesome day and talk with you soon!…

Smiles,

Cara  :)


On Apr 28, 2008, at 12:22 AM, Michael Babcock wrote:

no no no, i understand completely. Now what was that website you suggested? I want to write a hello world program in java on the mac, will those sites get me started step by ste?
thanks
i wanna learn more about programing on the mac smiley.
mike
On Apr 27, 2008, at 11:03 PM, Cara Quinn wrote:

Hi Michael;

• In the Leopard DVD, locate the 'Optional Installs' folder and open it.

• Run the app called 'Optional Installs.mpkg'

• Follow the prompts and install what you'd like.

• I'd personally recommend installing everything, as you're new to this and many components have dependencies.

HTH

Smiles,

Cara  :)


On Apr 27, 2008, at 6:57 PM, Michael Babcock wrote:

hi there;
i want to get started with java. what do i have to install from the dvd?
On Apr 27, 2008, at 5:59 PM, Cara Quinn wrote:

Hi Michael, have you had any programming experience before? If not, you'll need to learn a programming language. Personally, I'd recommend Java, as the environment needed to run it is preinstalled in Leopard, and you can install the development environment from your Leopard DVD. It's also an object oriented language, with cross-platform capability, so it's modern and versatile. Lastly, there are quite a number of tutorials on the web; -one site with a number of these is:

http://www.javacoffeebreak.com

I personally think this is a good language to start with as it's one of the easier OOP (object oriented programming) languages to learn.

-Your mileage may vary!  <smile>  :)

Another language you might consider starting with is Python, which also is preinstalled on your Mac with Leopard. It's also object oriented, but has a very different syntax to Java. In my opinion, it's a bit more of a BASIC style language in that it uses more words as opposed to symbols in it's code and some prefer that approach. Another feature of Python code is that one also needs to take into account text formatting. I.E. Indention / white space.

Python is also cross-platform and also has quite a bit of documentation on the web.

These are just two possibilities, so I hope this is a bit of what yer' after?…

Have a great day and catch ya soon!…

Smiles,

Cara  :)

On Apr 27, 2008, at 8:52 AM, Michael Babcock wrote:

hi there;
whati s the best way to get started with writing programs on the mac? Just curious what you would suggest? thanks
mike



---
View my Online Portfolio at:
http://www.onemodelplace.com/CaraQuinn





---
View my Online Portfolio at:
http://www.onemodelplace.com/CaraQuinn





---
View my Online Portfolio at:
http://www.onemodelplace.com/CaraQuinn


Reply via email to