/>

What Are The Basics Of Java Programming?

Does anyone know the basic, and what compiler i can get for java. Also how do i use java in my dreamweaver site? Whats a good compiler? Whats the differnce between javascript? !!! Help!!

  1. Anonymous
    July 5th, 2009 at 03:49 | #1

    Java is a language that is platform independent (runs on any operating system). In order to do this, a Java Virtual Machine (JVM) is installed in the operating system so that any program written in Java, the JVM can interpret it and run it. The compiler is found under the JDK (Java Development Kit). It compiles java code to a code only understood by the JVM.
    Javascript is a scripting language for the web. No compilers are needed since every modern browsers can understand javascript. Javascript only manipulates html objects. It doesn’t read files and execute operating system functions.
    Google ‘w3schools javascript’ to find best tutorials on javascript.
    To get java, goto Sun Microsystem’s site: http://java.sun.com/ and download the API. Sun created java.
    Oh yes, Java is free.

  2. Colanth
    July 5th, 2009 at 08:41 | #2

    Java is used in desktop applications. Javascript (a TOTALLY different thing) is used on web sites. Java is compiled, javascript isn’t.
    The basics of programming are the basics of programming - the language makes no difference. (Does a French doctor cure a broken leg differently than an Italian one does?)
    “Dreamweaver site”? Is that a site about Dreamweaver, or a site that you used Dreamweaver to write? (A site developed using Dreamweaver, and a site developed in Notepad, look exactly the same.) In either case, you use java*script* the same way - you write the javascript code you need where you need it.
    If that’s not enough information you’ll need to learn programming, the difference between client-side code and server-side code and javascript syntax.

  3. Matthew
    July 5th, 2009 at 15:00 | #3

    Hey, just download the latest compiler from java.sun.com.
    To use java in your website, you can make a java applet. This is basically a java program that can run inside a web browser.
    A book I used to learn java was “Begining programming with java for Dummies” by Barry Burd. It was very clear with step by step info.

  4. some1one
    July 5th, 2009 at 16:23 | #4

    First you should get Java’s sdk (Software Development Kit) ..
    As a beginner you can download textpad to write and compile your code.
    Java is a language and JavaScript is another one (mainly for websites).

  1. July 26th, 2009 at 02:21 | #1
Powered by Yahoo! Answers