What's the difference between java and Javascript?

I a new programer, I am getting Java down. Now I want to add some java scripts to my site. Is there any difference between java and Javascript? Can I use the Java API site refference and classes? Thanks..

Java is a programming language, Javascript is more for web pages. It is used to add interactivity to your web pages. 2 different languages.
check out www.java.sun.com for Sun Java stuff.
Lynn

Similar Messages

  • Do I need Java 8 or should i disable it? What happens if i disable it? And what is the difference between Java and Java Runtime?

    Do I need Java 8 or should I disable it? What happens if i disable it? And what is the difference between Java and Java Runtime?

    There's no difference. They're both runtime plug-ins (they run when an app calls for Java functions).
    You only need Java if you either have Java apps on your Mac that won't run without having it installed, or you use trusted web sites that require Java to function (getting fewer and far between). Otherwise, you have no need for it at all.

  • What's the difference between Java SDK and the Enterprise Edition?

    What's the difference between Java SDK and the Enterprise Edition? Are they both free?

    both r free but they are used in diffrent applications. sdk are used for simple apps that run on your computer while j2e (enterprise edition) are ment for large distributed computer systems that include servers and such. if you don't know the diffrence you probably wont need the the j2e, only the sdk.

  • What's the difference between "overloading" and "overriding" in Java

    What's the difference between "overloading" and "overriding" in Java

    hashdata wrote:
    What is the real-time usage of these concepts...?Overriding is used when two classes react differently to the same method call. A good example is toString(). For Object it just returns the class name and the identityHashCode, for String it returns the String itself and for a List it (usually) returns a String representation of the content of the list.
    Overloading is used when similar functionality is provided for different arguments. A good example is [Arrays.sort()|http://java.sun.com/javase/6/docs/api/java/util/Arrays.html#sort(byte%5B%5D)]: all the sort() methods do the same thing (they sort arrays), but one sorts byte-arrays, another one sorts int-arrays, yet another one sorts Object-arrays.
    By the way, you almost certainly mean "real-world" usage. "real-time" (and thus "real-time usage) means something entirely unrelated to your question.

  • What is the difference between ojvm and client versions?

    Changing the java vm from client to ojvm result in the following error:
    Errormessage:
    java.lang.UnsatisfiedLinkError: no UniqueC in java.library.path
    Project Settings -> Configurations -> Development -> Runner -> Virtual Machine -> ojvm FAILS
    Project Settings -> Configurations -> Development -> Runner -> Virtual Machine -> ojvm      RUNS OK.
    Project Settings -> Configurations -> Development ->Paths ->Additional Classpath:
    C:\jars\xerces.jar;C:\jars\UniqueC.dll;C:\jars\log4j-1.2.8.jar
    What is the difference between ojvm and client versions? How can I make ojvm to find UniqueC.dll?
    Various version info:
    Output from program:
    java version:1.4.2_01
    java home:C:\programfiler\JAVA\2sdk1.4.2_01\jre
    java vm version:9.0.3.738 cdov
    Taken from JDeveloper Help About:
    Oracle IDE     9.0.3.10.35
    UML Modelers Version     9.0.3.9.4
    Business Components Version     9.0.3.10.7
    java.version     1.3.1_02
    java.vm.name     OJVM Client VM
    java.vm.version     9.0.3.738 o

    However, Adobe offers extra paid services to create PDF or to export PDF to other formats. You are not required to buy them, however.

  • What's the difference between jsp and jsf?

    who can tell me what's the difference between jsp and jsf?
    I'm puzzled when I found some of the technology in jsp is so similar to the ones in jsp( javaserver page)

    Hi,
    Find the difference between JSP and JSF
    1. A developer has more control with JSP, but (should) get easier development with JSF
    2. Event handling is done differently in JSP (HTTP) and JSF (Java)
    3. The UI is designed differently (or should be at least) with JSP (markup) and JSF (components).
    4. The end product should also be defined differently - JSP page versus a JSF application.
    Is this the only thing that is need to make a decision for either or? Probably not. There are other pieces that need to be taken in account when deciding which technology to use - tools support, enough components, type of application etc.... At this point there are not enough JSF components (although there are some interesting projects underway - Ajaxfaces, Myfaces, ADF Faces, and WebChart 3d) and enterprise tools support is still limited to a few tools vendor. Looking at our ADF Faces components they are currently available as early access (not production) and demands for these components are stacking up, literally, outside my office doorstep. Although I would love to make them production - now! - it is not a viable solution since we are still checking features and fixing critical bugs.
    All this combined - not enough enterprise level components in production, lacking tools support etc... - leave customers in a vacuum where the decision is either to continue with JSP, since it is mature and has a wide developer base, or move forward with JSF not sure if the support, or the developers will be there. This is particularly sensitive to customers that need to get started now and be production by summer.
    If you are in this vacuum here are some key points promoting JSF:
    1. Fundamental unit is the Component
    2. Built in event and state management
    3. Component sets can be provided by any vendor
    4. Closer to ASP.Net or Swing development
    5. Choice of UI technology
    6. Scale up (rich clients)
    7. Scale down (mobile devices)
    8. Built into J2EE containers in J2EE 5.0 (tentative)

  • What are the differences between jdk and sdk

    what are the differences between jdk and sdk?? thanks

    Just marketing whims.
    SDK = software development kit
    JDK = Java development kti
    Sun has use both names to refer to its SDK for Java. I forget which one they're using now, but they've switched a couple of times.

  • What is the difference between JDK and J2ee

    Could someone explain, in simple terms, what is the difference between JDK and J2ee. I am trying to understand the difference.
    THanks

    Could someone explain, in simple terms, what is the
    difference between JDK and J2ee. I am trying to
    understand the difference.You can practice on this one first. What's the difference between chalk and cheese? No just kidding.
    A JDK is a set of tools for Java development including compiler, runtime system and standard libraries. J2EE is the enterprise version of the Java technology platform (it's one of three). To use it you download the proper JDK's.

  • What is the difference between jdk  and jre

    what is the difference between jdk and jre
    plzz tell me in detail

    It's an extremely important skill to learn how to search the web. Not only will it increase your research and development talents, it will also save you from asking questions that have already been answered numerous times before. By doing a little research before you ask a question, you'll show that you're willing to work and learn without needing to have your hand held the entire time; a quality that is seemingly rare but much appreciated by the volunteers who are willing to help you.
    If you've done the research, found nothing useful, and decide to post your question, it's a great idea to tell us that you've already searched (and what methodologies you used to do your research). That way, we don't refer you back to something you've already seen.
    To get you started, here is an excellent resource: The Java� Glossary

  • What is the difference between netbeans and JDK ?

    What is the difference between netbeans and JDK ?
    This is because i got netbeans 5.5 ide and nothing else and still i ran some hello world programs successfully. . ..
    i am confused - - does jdk come combined with netbeans ?

    What is the difference between netbeans and JDK ?
    This is because i got netbeans 5.5 ide and nothing
    else and still i ran some hello world programs
    successfully. . ..
    i am confused - - does jdk come combined with
    netbeans ?JDK is Java Development Kit. It includes all the Java APIs and Java tools like compiler etc so that you can develop code in Java language.
    NetBeans is an IDE (Integrated Development Environment). It provides you tools for helping you write Java code, like it provides you a text editor where you can type your java code etc. You can use any other IDE like Eclipse JCreator etc for writing java code.
    NetBeans should come packaged with a JDK. NetBeans requires JDK to function but JDK does not require NetBeans to function.
    Personally, if you are so new to the language then I would recommend that you stay away from NetBeans or any other other heavy IDE for a while and code in something like WordPad or some of the other editors recommended in this thread. This will help you learn the language better. You can latter decide on an IDE when you are comfortable with the language.

  • What is the difference between Apache and OC4J?

    Hi All,
    i am new to AS
    just a question in my mind
    what is the difference between Apache and OC4J?
    Thanks

    Apache is a webserver which comes with OracleAS with added Oracle modules.
    OC4J = Oracle Containers for Java
    enjoy yourself with some reading
    http://download.oracle.com/docs/cd/B14099_19/core.1012/b13994/toc.htm

  • What is the difference between IPortalComponentContext and ServletContext ?

    1) What is the difference between IPortalComponentContext and ServletContext  or PageContext?
    2) Both IPortalComponentContext and ServletContext are Same . If Both are Same Both Can be interchangeably Used?
    3) If Both IPortalComponentContext and ServletContext are not same ,what is the specific functionality of each. I mean when is the IPortalComponentContext used and when is ServletContext is used?
    4) can any please explain the difference and functionlity of each code snippet?
    Thanks and Regards
    Prasad.Y

    Hi Prasad,
    what both contexts have in common is, that the context gives access to some resources the container provides.
    Nothing else.
    The servlet context is rather an application context of any java webapp and exists once per vm, a PortalComponentContext exists for every component and represents a view of the context in which the runtime runs the component.
    To answer your questions shortly:
    1) http://java.sun.com/j2ee/1.4/docs/api/javax/servlet/ServletContext.html
    https://media.sdn.sap.com/javadocs/preNW04/SP2/60_sp2_javadocs/runtime/com/sapportals/portal/prt/component/IPortalComponentContext.html
    2) NO!
    3) see 1)
    4) ?
    Regards, Karsten

  • What is the difference between Process and Threads

    What is the difference between Process and Threads

    http://forum.java.sun.com/thread.jsp?forum=45&thread=525518&start=0&range=15#2519429

  • What is the difference between #variable_name and :variable_name?

    Hi!
    What is the difference between #variable_name and :variable_name?
    I have found that if we use alphanumeric variable then :variable_name return value in quotes but #variable_name without quotes.
    Why it does not work in the same way for variable default values when variable is used in filter? (It works in mapping)
    I use variable in filter like T.OUT_DATE>convert(datetime,:LAST_UPDATE_DATE,121)
    When I use my variable in package and do refresh it works fine. But when I try to execute the same interface with variable default value I get error. Seems that variable name has been not changed to the value. It does not work with default value in quotes neither without quotes.
    Any ideas how to solve that?
    Thank you in advance!
    Edited by: user13278245 on Sep 15, 2010 4:34 AM

    Question is how to make it work with default value, when I execute interface standalone, not in package? And why it works in mapping but not in filter?
    + I have found that it works if source is Oracle. It doesn't work only for MS SQL source.
    Edited by: user13278245 on Sep 15, 2010 6:43 AM

  • What is the difference between start() and run()

    Hi:
    what is the difference between start() and the run()???
    in my app, i have
    Console.debug( "starting thread to listen for clients" );
    _server = new Server( this );
    _server.start();
    _server extends Thread..
    why everytime i use server.start(); my app will terminate on it is own, even though in my servr.run() method, i have a while loop
    and if i call _server.run() explicitly in my code, that while loop will be in execution
    can someone let me know??
    thnx

    what is the difference between start() and the
    run()???start() is a method on Thread that tells it to start.
    run() is a method in the object that the thread executes.
    why everytime i use _server.start(); my app will
    terminate on it is own, Err.... I'm not convinced this is true. It'll throw an IllegalThreadStateException, if you try to restart an existing thread.
    If that's what you're saying.
    even though in my _servr.run()
    method, i have a while loopI don't see the connection. Are you saying that the while loop never terminates, and you don't see why the thread is terminating?
    and if i call _server.run() explicitly in my code,
    that while loop will be in executionIf you call server.run() explicitly, then run() will be executed in the same thread that you called it in.

Maybe you are looking for