.:Welcome to our Java tutorials:.

Visit our Web design support Forum

 

by April Griffin

October 28, 2002

Introduction to programming in  Java 

 

If you have not yet learned HTML I strongly suggest you click at the top right on the HTML tutorials and begin there. HTML is fantastic as your first computer language and it will help you "clue in" faster to what it is your doing. Also this is Java not JavaScript if you want JavaScript's your in the wrong tutorial.

Java  is a full-featured object-oriented programming language and its  syntax is very similar to C++ but simpler with a tighter structure. Java is highly compatible with different systems because it runs on a Java Virtual Machine which  is a program that runs on the computer's operating system instead of running directly on the OS. What this means is that since all the major OS's have virtual machine there is no need to no need to recompile the program for each platform. The downer is that  Java programs often run slower because the Virtual Machine has to convert Java  instructions and pass them to the operating system acting as a middle man and slowing it down BUT! That isn't such a bad trade off given Java's versatility.  

Like I stress in the HTML tutorials it is important to LEARN the language before you get into fancy editors otherwise you are not going to fully understand what you are doing and you will spend far more time stuck troubleshooting wondering what went wrong. Toys that simplify it later are fine and great and groovy and save you time but learn it first and stick to using the SDK until you have it down pat. I memorized HTML and spent a couple years coding solely in notepad before I allowed myself an editor and now I can code so fast by hand I only use the editor for previews, spell check, importing webs and because I like the file management. My point is I can find mistakes quickly and there is nothing limiting what I can do with html. The same applies to Java. Learn it first then get the toys and employ the shortcuts. Like the HTML tutorials we are going to break this down really simple and take it in tiny steps. Anyone can learn this stuff if we simplify it until you get a chance to grasp it. So now that we know what Java is..........

 

.:You will need to:.

  1. Download The Java  2SDK from www.java.sun.com

  2. Java 2 Platform Documentation package also available at www.java.sun.com 

  3. Carefully read the installation instructions!!!

  4. reboot

  5. double-check that the Java 2SDK is installed correctly on your computer, open a command prompt  

    C:\> java –version
    java version "1.3.0"
    Java(TM) 2 Runtime Environment, Standard Edition (build 1.3.0-C)
    Java HotSpot(TM) Client VM (build 1.3.0-C, mixed mode)
  6. If your OS recognises it your ready for 
  7. Chapter 2 Creating your first Java Application.




   


EmpireSponsor .:is offering Awesome fully loaded Hosting starting at 5$ 500-2056 Megs PHP! CGI! ASP! SSL Secure Server SQL!
 

 

.:Tutorials:.

HTML
CSS
Javascript
Java
Flash
PSP
Support Forum
 

.:Tools:.

Free Search Engine Submission
Meta tag generator
 

.:Tests:.

CSS validator
HTML validator
Website Garage
HTML Doctor
 
.: Search :.
Need To Find Something Fast?
© 2002-2003 Empireezine.tripod.com