: : Hey Morpheus,
: : SandHawk make a great point--the best thing to do is write the code yourself. If you decide to do this, you're going to need to decide on a language and development tool. Normally, these cost money, but...you can get Java for free from Sun's java site (www.java.sun.com). You can get a great *free* Java development environment called "BlueJ" from www.bluej.org.
: : You can also find good Java tutorials on-line:
: :
: :
http://java.sun.com/docs/books/tutorial/
: :
http://homepages.unl.ac.uk/~wrightc/tyj/
: :
http://sunsite.utk.edu/java/docs/tutorial/
: :
http://www.sdsu.edu/doc/java-AWT-Tutorial/
: :
: : If you have questions, you can email me at kreitler@ix.netcom.com.
: :
: :
: Hello,
:
: I have two questions regarding Java, One can it be complied to be stand alone, Two how hard is it to learn?
:
:
: Thanks,
: Roger A. Mayers IC3, MOUS, A+
: e-mail romaytech@yahoo.com
Hi Roger,
I'll do my best to answer your questions--but I'm not much of an expert on Java's internal workings.
Before we get into the details, let's make sure we're talking about the same things. First, by "compiled",
I assume you mean "turned into an executable containing only machine-native code." Second, I'm
guessing that by "stand alone", you mean "would work on any machine capable of running an executable".
So, can Java be compiled into a stand alone application? Not really. First, it isn't compiled in the above
sense, and second, all Java applications must run within a "Java Virtual Machine" (JVM) that understands
the language. If you don't have a JVM, you can't run Java. I don't want to spam you with a bunch of unwanted
information, so that's all I'll say for now. If you want more details, let me know.
Now, if you're worried that any Java applications you might write won't work on other peoples' machines,
you can relax. The JVM automatically comes with Windows 9x/2000. I'm pretty sure the latest MacOS
"bundles" it. I'd be surprised if it wasn't included with LINUX distributions. With Java becoming so
widespread on the 'Net, OS distributors are realizing that they need to include it to stay competetive
(after all, how mad would you be if you installed Windows XP and suddenly lost the ability to use a few
million web pages?).
I hope that answers your first question.
As to how hard the language is to learn, the answer is, "that depends". If you have some experience with
object oriented programming, it's pretty easy--certainly simpler than C++, and in a lot of ways, easier to
grasp than Visual Basic. Also, like all languages, it does some things better than others. If your ultimate
goal is to write killer 3D graphics games, Java might not be the best choice. Other than that, I'd say it's well
suited to pretty much everything.
I hope this helps. If you're interested in learning more, let me know. Also, I've been toying with the
idea of starting a simple "step-by-step guide to Java game programming." It would be designed for
beginners who want to get into programming but have *no* money to buy commercial compilers and IDEs.
If you (or anyone else) would be interested, get in touch with me via this message board or through
email: kreitler@sleepinggiantsoftware.com.
Sorry this post was so long--I hope that it gave you what you needed.
Kreitler
:
: