Application development

Joined
Mar 30, 2008
Messages
34
Reaction score
0
Points
6
Location
Montana
Your Mac's Specs
MacBook white 160GB. iPod nano... old school one.
I'm looking for a place where I can learn to make applications with Java. Nothing to difficult. Just a simple card game or something. Obviously I have a Mac. But it's Mac OS X 10.4.11 DUN DUN DUN... not Leopard.

I'm so confused about it all and don't know where to begin, I've been looking up stuff on the net and haven't made any progress. Please help... ANY amount of info would be helpful.

For non-forum member (this is how desperate I am) who want to help me; my email is:
[email protected]
 
Joined
Mar 9, 2004
Messages
9,065
Reaction score
331
Points
83
Location
Munich
Your Mac's Specs
Aluminium Macbook 2.4 Ghz 4GB RAM, SSD 24" Samsung Display, iPhone 4, iPad 2
Do you know Java?
If not, you might want to start off using www.alice.org - a sort of interactive learning tool that teaches the basics in a 3d world environment.

Otherwise go old school, grab a good book and start from scratch
 
Joined
Jul 27, 2008
Messages
6
Reaction score
0
Points
1
Location
Barcelona Spain
Your Mac's Specs
MacBook Pro 15.
Hi,

I work with java and there are severals ways you can go:

To lear the language, go to the tutorials page, very, very helpful at the beginning, and as a reference.

For the development environment go with eclipse.

If you want to run only for mac you can go with XCode (in the second CD of Leopard (i guess also tiger)).

I hope it helps.
 
OP
H
Joined
Mar 30, 2008
Messages
34
Reaction score
0
Points
6
Location
Montana
Your Mac's Specs
MacBook white 160GB. iPod nano... old school one.
Thank you! That really did help. Alice was a bit confusing, but thanks anyway.

Okay, so I did the "Hello World!" App. using NetBeans. It said it was successful. But what should happen when I open the app? Because a box comes up with my codes in it.
 

Del


Joined
Dec 24, 2006
Messages
901
Reaction score
15
Points
18
Location
N. Ireland
Your Mac's Specs
Mac Pro 2xQuad core 2.8GHZ
OP
H
Joined
Mar 30, 2008
Messages
34
Reaction score
0
Points
6
Location
Montana
Your Mac's Specs
MacBook white 160GB. iPod nano... old school one.
Any chance of a screenshot to give us even half a clue of what you are seeing?

How do you take a screen shot? (I'm a complete idiot. Please be patient.)
 
Joined
Mar 9, 2004
Messages
9,065
Reaction score
331
Points
83
Location
Munich
Your Mac's Specs
Aluminium Macbook 2.4 Ghz 4GB RAM, SSD 24" Samsung Display, iPhone 4, iPad 2
Command+Shift+4
 
OP
H
Joined
Mar 30, 2008
Messages
34
Reaction score
0
Points
6
Location
Montana
Your Mac's Specs
MacBook white 160GB. iPod nano... old school one.
This is what I see.

Picture 1.png
 
Joined
Mar 9, 2004
Messages
9,065
Reaction score
331
Points
83
Location
Munich
Your Mac's Specs
Aluminium Macbook 2.4 Ghz 4GB RAM, SSD 24" Samsung Display, iPhone 4, iPad 2
This is what I see.
You would need to compile the code and then use the Java Virtual Machine to run it.

One way to do this would be via the command-line:

Compile your code like this:
javac /Users/YOURUSERNAME/..../helloworldapp.java

Then run it like this:
java /Users/YOURUSERNAME/Documents/..../helloworldapp.java

(Replace the ... with your exact path name)

If everything has gone to plan, you should see "Hello world" in the Terminal.
Netbeans should just give you a "play" or "run" button somewhere to take care of everything for you though if it's anything like Eclipse.
 

Shop Amazon


Shop for your Apple, Mac, iPhone and other computer products on Amazon.
We are a participant in the Amazon Services LLC Associates Program, an affiliate program designed to provide a means for us to earn fees by linking to Amazon and affiliated sites.
Top