Difference between java.exe and java.dll

can some one tell me the difference between java.exe under bin directory of jdk and java.dll under bin directory of jre under jdk. and how to determine jre the application is using.How to locate istalled jres in windows registry

can some one tell me the difference between
java.exe under bin directory of jdk and
java.dll under bin directory of jre under jdk.java.dll is the library containing the Java Virtual Machine. java.exe is the
program you execute to run Java. It uses java.dll. The java.dll can also be used
to invoke Java classes from other languages using the Java Native Interface (JNI), see
http://java.sun.com/j2se/1.4.2/docs/guide/jni/index.html for more information.
Steve Dever

Similar Messages

  • What's the difference between Acrobat.exe and AcroRd32.exe?

    What's the difference between Acrobat.exe and AcroRd32.exe?

    acrobat.exe is part of Adobe Acrobat and acrord32.exe is part of Adobe Reader.

  • What's the difference between Javaw.exe and Jrew.exe

    Hi java community,
    When I configure the JRUN to use Java executable as
    JRE/Bin/jrew.exe it doesnt work...
    But If I use Javaw.exe it works
    Can anybody explain the reason for that?
    Thanx
    (Murali)

    It's dirrerent

  • What is the diffeerence between  SAPinst_SP_WAS640.exe and WebAS640SP9.zip

    What is the difference between  SAPinst_SP_WAS640.exe and WebAS640SP9.zip
    Dies tge SAOubst_SP_WAS640.exe include MaxDB, and what is the latest version and file size ?

    Hello
    Check if following links help:
    [1.|http://www.symantec.com/connect/articles/understanding-difference-between-exe-and-msi]
    [2.|http://social.msdn.microsoft.com/forums/en-US/winformssetup/thread/89699824-706e-44ea-9578-8866e6dfd058/]
    Thanks
    Saurabh

  • Any difference between Java and Javaw, thanks

    I can launch my program with java successfully. But on the same setting, javaw failed. WHY?
    Thanks

    the only difference between java.exe and javaw.exe is that javaw.exe does no (system) output.
    see http://java.sun.com/j2se/1.4.2/docs/tooldocs/windows/java.html
    "The javaw command is identical to java, except that with javaw there is no associated console window. Use javaw when you don't want a command prompt window to appear. The javaw launcher will, however, display a dialog box with error information if a launch fails for some reason. "

  • Whats is difference between Java JRE  and  Java SDK

    Hi,
    what is the difference between Java JRE and Java SDK...
    i think both of them have the same set of files to be installed...
    I am not able to understand where they differ

    The JRE (Java runtime Environment) contains just the stuff necessary to run Java and the SDK (System Development Kit) contains the extra stuff necessary (and also helpful) to develop in Java.

  • 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.

  • Question about main difference between Java bean and Java class in JSP

    Hi All,
    I am new to Java Bean and wonder what is the main difference to use a Bean or an Object in the jsp. I have search on the forum and find some post also asking the question but still answer my doubt. Indeed, what is the real advantage of using bean in jsp.
    Let me give an example to illustrate my question:
    <code>
    <%@ page errorPage="errorpage.jsp" %>
    <%@ page import="ShoppingCart" %>
    <!-- Instantiate the Counter bean with an id of "counter" -->
    <jsp:useBean id="cart" scope="session" class="ShoppingCart" />
    <html>
    <head><title>Shopping Cart</title></head>
    <body bgcolor="#FFFFFF">
    Your cart's ID is: <%=cart.getId()%>.
    </body>
    <html>
    </code>
    In the above code, I can also create a object of ShoppingCart by new operator then get the id at the following way.
    <code>
    <%
    ShoppingCart cart = new ShoppingCart();
    out.println(cart.getId());
    %>
    </code>
    Now my question is what is the difference between the two method? As in my mind, a normal class can also have it setter and getter methods for its properties. But someone may say that, there is a scope="session", which can be declared in an normal object. It may be a point but it can be easily solved but putting the object in session by "session.setAttribute("cart", cart)".
    I have been searching on this issue on the internet for a long time and most of them just say someting like "persistance of state", "bean follow some conventions of naming", "bean must implement ser" and so on. All of above can be solved by other means, for example, a normal class can also follow the convention. I am really get confused with it, and really want to know what is the main point(s) of using the java bean.
    Any help will be highly apprecaited. Thanks!!!
    Best Regards,
    Alex

    Hi All,
    I am new to Java Bean and wonder what is the main
    difference to use a Bean or an Object in the jsp. The first thing to realize is that JavaBeans are just Plain Old Java Objects (POJOs) that follow a specific set of semantics (get/set methods, etc...). So what is the difference between a Bean and an Object? Nothing.
    <jsp:useBean id="cart" scope="session" class="ShoppingCart" />
    In the above code, I can also create a object of
    ShoppingCart by new operator then get the id at the
    following way.
    ShoppingCart cart = new ShoppingCart();
    out.println(cart.getId());
    ...Sure you could. And if the Cart was in a package (it has to be) you also need to put an import statement in. Oh, and to make sure the object is accessable in the same scope, you have to put it into the PageContext scope. And to totally equal, you first check to see if that object already exists in scope. So to get the equivalant of this:
    <jsp:useBean id="cart" class="my.pack.ShoppingCart"/>Then your scriptlet looks like this:
    <%@ page import="my.pack.ShoppingCart %>
    <%
      ShoppingCart cart = pageContext.getAttribute("cart");
      if (cart == null) {
        cart = new ShoppingCart();
        pageContext.setAttribute("cart", cart);
    %>So it is a lot more work.
    As in my mind, a normal class can also
    have it setter and getter methods for its properties.True ... See below.
    But someone may say that, there is a scope="session",
    which can be declared in an normal object.As long as the object is serializeable, yes.
    It may be
    a point but it can be easily solved but putting the
    object in session by "session.setAttribute("cart",
    cart)".Possible, but if the object isn't serializable it can be unsafe. As the point I mentioned above, the useBean tag allows you to check if the bean exists already, and use that, or make a new one if it does not yet exist in one line. A lot easier than the code you need to use otherwise.
    I have been searching on this issue on the internet
    for a long time and most of them just say someting
    like "persistance of state", "bean follow some
    conventions of naming", "bean must implement ser" and
    so on. Right, that would go along the lines of the definition of what a JavaBean is.
    All of above can be solved by other means, for
    example, a normal class can also follow the
    convention. And if it does - then it is a JavaBean! A JavaBean is any Object whose class definition would include all of the following:
    1) A public, no-argument constructor
    2) Implements Serializeable
    3) Properties are revealed through public mutator methods (void return type, start with 'set' have a single Object parameter list) and public accessor methods (Object return type, void parameter list, begin with 'get').
    4) Contain any necessary event handling methods. Depending on the purpose of the bean, you may include event handlers for when the properties change.
    I am really get confused with it, and
    really want to know what is the main point(s) of
    using the java bean.JavaBeans are normal objects that follow these conventions. Because they do, then you can access them through simplified means. For example, One way of having an object in session that contains data I want to print our might be:
    <%@ page import="my.pack.ShoppingCart %>
    <%
      ShoppingCart cart = session.getAttribute("cart");
      if (cart == null) {
        cart = new ShoppingCart();
        session.setAttribute("cart", cart);
    %>Then later where I want to print a total:
    <% out.print(cart.getTotal() %>Or, if the cart is a JavaBean I could do this:
    <jsp:useBean id="cart" class="my.pack.ShoppingCart" scope="session"/>
    Then later on:
    <jsp:getProperty name="cart" property="total"/>
    Or perhaps I want to set some properties on the object that I get off of the URL's parameter group. I could do this:
    <%
      ShoppingCart cart = session.getAttribute("cart");
      if (cart == null) {
        cart = new ShoppingCart();
        cart.setCreditCard(request.getParameter("creditCard"));
        cart.setFirstName(request.getParameter("firstName"));
        cart.setLastName(request.getParameter("lastName"));
        cart.setBillingAddress1(request.getParameter("billingAddress1"));
        cart.setBillingAddress2(request.getParameter("billingAddress2"));
        cart.setZipCode(request.getParameter("zipCode"));
        cart.setRegion(request.getParameter("region"));
        cart.setCountry(request.getParameter("country"));
        pageContext.setAttribute("cart", cart);
        session.setAttribute("cart", cart);
      }Or you could use:
    <jsp:useBean id="cart" class="my.pack.ShoppingCart" scope="session">
      <jsp:setProperty name="cart" property="*"/>
    </jsp:useBean>The second seems easier to me.
    It also allows you to use your objects in more varied cases - for example, JSTL (the standard tag libraries) and EL (expression language) only work with JavaBeans (objects that follow the JavaBeans conventions) because they expect objects to have the no-arg constuctor, and properties accessed/changed via getXXX and setXXX methods.
    >
    Any help will be highly apprecaited. Thanks!!!
    Best Regards,
    Alex

  • 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 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

  • Difference between Java and C#?

    What's the difference between Java and C#?

    Triple(!) post
    http://forum.java.sun.com/thread.jspa?threadID=674331&tstart=0
    http://forum.java.sun.com/thread.jspa?threadID=674329&tstart=0

  • Difference between Java 1.2 and 1.4

    Can Anyone tell me the Difference between Java 1.2 and 1.4

    Hi,
    Well to start with, a hell lot of classes have been added, and others have been altered. The only change in the language is that the assert statement was added.
    An application written in 1.2 will most likely run under 1.4.
    /Kaj

  • Document for difference between java and c++ ?

    I want to know if there is a document that lists the difference between the features and syntax of java and c++ online. If somebody knows, please let me know.

    I want to know if there is a document that lists the
    difference between the features and syntax of java and
    c++ online. If somebody knows, please let me know.The difference is, there is no similarity. Don't even try to think of Java in relation to c++, you'll only end up confusing yourself.
    It's like trying to compare Windows and Linux, sure they do the same sort of thing, and some of the commands appear the same, but they really are completely different things.

  • Difference between Java and Perl?

    I'm new to Java and was wondering what is the difference between Java and Perl. Other than Java has to be compiled and Perl does not. Is one better than the other? Here is a link to my website. The languaged used is Perl. Can Java be used to write a program like this.
    http://www.i2r2.co.nr

    Perl - interpreted
    Java - compiled (essentially -- there is no eval statement)
    Perl - lots functionality built into the bare language
    Java - more functionality moved into libraries
    (both have huge libraries available though -- and Java's core language seems to get bigger with each new release)
    Perl - loosely typed
    Java - strongly typed
    IMHO:
    Perl - Baroque ornate language good for quick scripts
    Java - Calvinist spartan language good for huge projects
    I can't think of anything else to say that can't be expressed in one-liners.

  • Difference between Java EE 5 Platform and J2EE 1.4 Platform

    What are differences between Java EE 5 Platform and J2EE 1.4 Platform. How we can choose one for a specific environment.
    regards

    dont be phsyco. MAy be i m good in other topic than
    u. Its time restriction i am facing. OK leave it,
    dont reply any help. its ok.
    ake careEvery culture has rules under which it operates. This one is no exception. It is the unspoken policy of the forum regulars to heap scorn on people who demonstrate an unwillingness to do things for themselves, or to at least put forth an effort. Therefore you have been the target of a certain amount of vitribution. Perhaps you are the lazy worthless git your posting implies perhaps not. None of my business and I don't really care.
    You were pointed to a source of the information you asked for and rather than saying thank you, you demand that the rest of us sacrifice our time to synthesize the information and provide you with an answer about which we actually have very little information, namely what in the bloody <expletive deleted> you're interested in? Oh wait you did say you wanted us to tell you how to pick one or the other.
    And you still can't see why you would become the target of a certain amount of ire on the part of the forum regulars. Might want to give that one some thought.
    But now to your question, well sort of, I can give you a synopsis of what's changed between 1.4. and EE 5, but if I do that what you will know is that one person told you something. If you use the resources that you've already been given and arrive at your own conclusions and questions you will both know what you found and have a frame of reference with which to address specific questions relating to specific change topics. If you do that, most of us here will be more than happy to discuss adnauseum the ramifications of any and all of the changes.
    These are the kinds of topics that we will happily get wrapped up in, but after we've spent our effort and time learning the differences and how they relate to what we're doing why should we concern ourselves with someone who wants a spoon fed answer? Consider this, if you never move beyond bottle fed pablum (formula) you wouldn't be able to tolerate more robust food like say a steak. If you never learn to derive your own answers to questions like this, you will never move forward as a developer.
    Now that I've ranted for a while. Read the material you've already been pointed to, come back with comments and questions of your own and we'll be happy to help and comment.
    Cheers,
    PS.

Maybe you are looking for