Differences of JDK x86 and JDK x64

Dear all,
I am in the progress on studying Java update with existing program.
For previous, the program is complied in eclipse under JDK 1.4.2.
We are now updating the JRE and JDK 1.6 update 30, however, there are several questions. Most appreciated if any one can provide a direction or guidance on it.
1. As my understanding, Java should be able to compile and run under x86 and x64 platform, and it should be no difference on the compiled classes. The only difference should be x86 JVM and x64 JVM (for example, x86 JVM has better than x64 JVM, and x64 JVM should be support larger address range than x86 JVM). If not, what will be differences among classes compiled under x86 and that of x64?
2. The x86 classes can be executed under x64 JVM. Can the x64 classes be executed under x86 JVM? Although, the classes will be read into byte stream into VM...
3. If we need the x64 classes to execute under x86 environment, what should we do? If the x64 classes cannot be run in x86 JVM.

929805 wrote:
Is there documentation or reference (e.g. Java Knowledge Base, etc) stating this issue?There is documentation which states how Java compiled code must be handled within a JVM. (The Java Virtual Machine Specification.) Here's a quote from very close to the beginning:
The Java virtual machine is an abstract machine.So you shouldn't expect it to mention specific machine architectures, or to specify how it should work on any particular machine architecture. On the contrary, you should expect it to ignore the existence of different machine architectures. And likewise when it gets around to describing the class file format, it simply provides an abstract description. It's up to the implementers to write something which runs in a particular machine architecture and which faithfuylly implements the JVM specification.

Similar Messages

  • What is the difference between JRE,JVM and JDK?

    plz reply me to the following question
    (1)what is JRE,JVM and JDK?

    The JRE is a java distribution for running java programs. It does not contain the development tools needed to compile and debug java programs.
    The JDK is a java distribution for both running and developing java programs. In includes the deveopment tools.
    The JVM is part of both the JDK and the JRE. It is the 'engine' that executes java bytecodes, performs garbage collection and does just-in-time compilation.
    HTH

  • Difference between SUN JDK V1.4.2_05 and JDK V1.4.2_07

    difference between SUN JDK V1.4.2_05 and JDK V1.4.2_07 and I want to the link in SUN for that. I want to know the bug fixes between them.

    Perhaps you should look at the documentation which comes with JDK 1.4.2_08.
    It has the bugs fixed listed.

  • What's the difference between Java SE 6 Update 10 RC and JDK 6 Update 7

    I want to download jdk and do some java development. But I saw "Java SE 6 Update 10 RC" and "JDK 6 Update 7" are both there for me to download. I don't know which one should I download. I used to think JDK is Java SE. Can someone explain it to me? Great thanks!

    [Java 6 Update 10|http://java.sun.com/developer/technicalArticles/javase/java6u10/] provides some nice enhancements for deploying Java to the Desktop, a nice new look and feel and some other nice additions.
    Also, JDK 6 Update 7 is the latest, officially released version at the moment. The Update 10 is only a release candidate (that means it is what might become the final Update 10, but can still change).
    For normal development (and especially when you're just starting to learn) there shouldn't be too much difference, so choose whichever you want.

  • Jre and jdk differences

    can anybody give the differences between jre and jdk

    [Click Me|http://www.google.com/search?hl=en&q=difference+between+jdk+and+jre&btnG=Search]

  • 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 JVM and JRE and JDK?

    Hi , I want to know what actually is JVM,JRE and JDK ? and the difference between them?

    They should at least try. When it comes to
    terminology, if they can find this site, they should
    be able to find google, wikipedia, etc. It's
    reasonable to expect them to try there first, and
    then, if they still have questions, post here,
    indicating what they looked at and how it fell short,
    what they're still confused about, etc.Perhaps this is a valid point.
    I believe physical JVM hardware has also been
    manufactured. I wonder what we'd call that? A JPM
    (Java Pysical Machine)?No. It is simply a hardware implementation of the abstract Java Virtual Machine.
    .class files are executed by software (in fact,the
    software that executes the .class files is calledthe
    JRE and is short for the Java
    Runtime Environment). The JavaRuntime
    Environment is a native program (i.e. it is run by
    hardware) which provides the ability to executejava
    bytecodes (.class files)That's the JVM.No it's not. The JVM is an abstract architecture.
    The JRE is the JVM plus native libraries plus core
    API Java classes.The JRE is an implementation of the JVM along with some additional facilities. The JVM may be used to describe concrete implementations in industry vernacular, but this is not a technically accurate usage of the term per the specification and is therefore incorrect.
    From the preface to the Java Virtual Machine Specification, Second Edition, viewable at http://java.sun.com/docs/books/jvms/second_edition/html/Preface.doc.html:
    "The Java virtual machine is an abstract machine."
    From Wikipedia (http://en.wikipedia.org/wiki/JVM):
    "A Java Virtual Machine (JVM) is a set of computer software programs and data structures which implements a specific virtual machine model."
    Perhaps this misconception is the source of the confusion. This is one reason why I answered deepakorsun rather than refer him to somewhere else: anywhere that would be reliable and/or completely accurate would be too dense to readily understand, and anywhere understood easily enough might not be completely accurate.
    >
    The Java Development Kit (JDK) just provides the
    facilities necessary to write programs that willrun
    on the Java Virtual Machine. It contains acompiler
    It also contains tools such as jar and javap, the API
    docs for the core API classes, the source code for
    the API classes, probably a few other things, and
    generally the JRE (though I'm not sure if that's
    officially a required part of the JDK).I never said it didn't contain jar, javap, javac, java, jdb, jconsole, or any of the other programs or resources shipped with jdk. I simply stated affirmatively something it did contain. As I implied before, technical comprehensiveness is exactly what makes resources such as the JVM specification almost unusable for answering questions like this. That is why I omitted such details in my description. And since we're being all technical here, the API documentation does not ship with the Java Development Kit (at least not as of JDK 5.0), it is a separate download. It is the core API source files that ship in a .zip file with the JDK.
    Don't get me wrong, I do understand that you have probably seen a lot more people come and go from these forums than I may ever understand and that you have helped more people than you can remember, and I don't mean to disrespect that. I understand that dealing with so many people over such a long period of time and hearing the same questions over and over again can probably start to wear on your patience, but I don't think the right approach is to treat anyone that tries to help them with utter contempt and sarcasm. That's not constructive or useful to anyone. I understand why you would be upset if somebody was purposely trying to be lazy, I probably would be too, but you have no real way of determining whether or not they are being lazy or just don't know something and don't know how to figure it out for themselves so they are asking a question. And if they are honestly just asking a question in good faith and looking up the answer on Wikipedia just did not occur to them (or they couldn't understand what it said), yet they somehow ended up on this site, they have done nothing wrong and there is no reason to get angry at them.
    Oh come on, that wasn't nice. Not everybody isable
    to answer their own questions. WTF are you talking about?!? Why waste the time to
    type something out when they can click on a link and
    find 1000 times more information than you can fit
    into one post? Either way - they're
    STILL going to have to read the
    information themselves...
    Ridiculous.So I suppose you've either read the Java Virtual Machine Specification, the Java Language Specification, and the Java Native Interface Specification in their entireties, or absolutely nothing about programming in Java. This is because, by your reasoning, these three books contain 1000 times more than anyone can fit on a tutorial, Wikipedia entry, mailing list, forum, blog, or anything else.
    Criticizing somebody who isn't doing something the exact way you think it should be done is often quite idiotic and non-constructive. I believe this is this case here. Please post something more useful, meaningful, and/or polite next time. And just for future reference, yelling at a beginner does not help them learn faster or better. It just makes them hate you.
    Oh come on, that wasn't nice. Not everybody isable
    to answer their own questions. Java terminologycan
    be confusing and difficult to understand in part
    because of all the acronyms used and all the name
    changes undergone by the various development kitsand
    platforms.Point taken. You have much more patience than
    I, but with lots of intensive therapy and proper
    adjustment of my medications, I may get better.Thank you for this post. A display of wisdom and patience. You single handedly caused me to reconsider participating in a flame war.

  • Difference between SDK and JDK

    Who can tell me what is the difference between SDK and JDK?

    JDK (Java Development/Developer's Kit)
    SDK (Software Development/Developer's Kit)
    The JDK is one variety of SDK.
    Chuck

  • Difference between, jre, jdk, sdk and j2se

    Dear Sir/Madam,
    I want to do some java and j2ee development and run these applications in a java application server environment. Can anyone give me some advices on what should i need to download? Moreover, what is the difference between, jre, jdk, sdk and j2se? Should i need to download all of jre, jdk, sdk and j2se?
    thanks and regards,
    david

    JRE is the 'java runtime environment'. It is responsible for creating a Java Virtual Machine to execute Java class files (e.g., run Java programs)
    JDK is the 'java development kit'. It is the same as the 'SDK' (at least in my mind). It normally comes bundled with a JRE and also allows you to compile Java source files into Java class files. The JDK allows you to both write and run programs.
    J2SE is "Java 2 Standard Edition". It can refer to either a JDK or JRE. This is 'core' Java. There is also J2EE "Java 2 Enterprise Edition" which allows you to write middleware or server code more easily.
    Your final choice will be which version. If you want the current, most common implementation:
    J2SE 1.4.2, J2EE 1.3
    If you want to skip ahead to the next generation, the latest releases would be:
    J2SE 1.5 (also called J2SE 5.0) and J2EE 1.4
    - Saish

  • Which is the difference between Windows server on IA64 and on x64?

    Hello,
    I want to download the last update of MaxDB 7.6 on servers 32bit and 64bit.
    For the version 32bit there exists only for Windows server IA32.
    For the version 64bit there exists for Window server IA64 and x64.
    Which is the difference between Windows server on IA64 and on x64?
    The version 32bits for Windows IA32bit functions for any type of server?.
    Best regards
    Frédéric Blaise
    e-Kenz S.A.

    For the version 32bit there exists only for Windows server IA32.
    IA32 is basically x86
    Which is the difference between Windows server on IA64 and on x64?
    IA64 is based on Itanium processors while x64 are x86 compatible.
    The version 32bits for Windows IA32bit functions for any type of server?.
    For any Windows 32bit server.
    Regards
    Juan

  • How to identify the installed Weblogic Server and JDK are 32bit or 64bit?

    Hi everyone,
    I have a question ~
    Both Weblogic Server and JAVA JDK are installed on the server already, but I only know the Weblogic Server is 10.3.4.0 and JAVA JDK version is 1.6.0_25.
    I know the 64bit Weblogic Server installation file is a wlsXXXX_generic.jar package and 64bit JAVA JDK needed also.
    But, since the Weblogic installed already, there are no such installation files on the Linux Server now.
    I have tried the "java -version" for java version and check the Weblogic version from Weblogic console.
    How to identify the installed Weblogic Server and JDK are 32bit or 64bit with Linux command? Or is there any way to check it?

    What you can try to do is use WLST (or an MBean browser, such as JConsole or JRockit Mission Control) and connect to the adminserver.
    For example when using WLST:
    # set the environment by using setWLSEnv.sh (located in the ${WL_HOME}/server/bin directory).
    # start WLST by using: java weblogic.WLST
    # connect to the adminserver
    connect('adminusername','adminpassword');
    # change to the serverruntime environment
    serverRuntime();
    # show the attributes
    ls();
    # Here an attribute is shown called WebLogicVersion that shows the version of WebLogic
    -r--   WeblogicVersion                              WebLogic Server 10.3.5.0  Fri Apr 1 20:20:06 PDT 2011 1398638
    # Note that this does not show if is 32 bits or 64 bits to retrieve this information you have obtain the JVM version
    # change the directory
    cd('JVMRuntime/AdminServer');
    # show the attributes
    ls();
    -r--   Version                                      R28.0.1-21-133393-1.6.0_20-20100512-2126-linux-x86_64
    # when you have something like x86 at the you are running a 32 bit version, if you have something like x86_64 you are running a 64 bits versionAs mentioned above you can also retrieve this information by using a MBean browser.

  • Why does the JDK come with a JRE and JDK?

    I was wondering why when I download the JDK does it install a JRE and JDK. The JDK (I believe) includes all the JRE files as well as the compiler files. I can just as easily get rid of the JRE and as far as I know it wouldn't make a difference so why both?

    I thought it was a 2-for-1 deal ;-)
    Seriously, it doesn't make sense for me either. What
    would make more sense
    is for the JDK installation to install that separate
    JRE, but to use that JRE instead of
    installing a second one inside its folders.That would make much more sense, but I am guessing there is some intracacies that I'm not aware of or speed reason or something of the sort that would explain this. The first thing that comes to mind is knowing people might be copying the jre, someone might accidentally pull the jre out so they still wanted the sdk to work with the built in one. This is a pretty big stretch i know but there must be a reason somewhere.

  • Windows 8.1 standad (not-Pro/Enterprise) x86 and x64 bit client support

    Can someone from the team please clarify if Windows 8.1 standard (not pro/ent) x86 and x64 computers are supported as full Intune computers?
    I want my small business customers who have BYOD (home computers) that have Windows 8.1 standard (NOT RT) be monitored, managed, AND have the same anti-malware system as the Windows 8.1 Pro/Ent computers.
    This was clearly (and surprisingly) addressed at the Build 2013 conference this year in San Francisco when Intune and OpenMDM was discussed but the updated TechNet pages such as
    http://technet.microsoft.com/en-us/library/jj676630.aspx show that Pro/Ent is required.
    Is there another Intune service update coming that adds support for home computers, is the documentation wrong, or did I misunderstand the keynote and the answers to my follow up questions from that event?
    Thanks!
    -Neil
    neilgo

    Jon,
    Can you address if there is technical issue or if this is a licensing/policy issue?
    I have a lot of prospects who do not have licensing with Home Use Rights - not to mention the management and licensing control of home use rights of the OS is not "cloud controlled". (i.e. nothing easily in place that offers the level of control that say
    Office 365 Pro Plus - which handles provisioning/activation AND deactivation should someone leave the company).
    I find the message hard to explain to customers that home computers running Windows 8 standard clients can't support/run software that Windows 8 Pro clients can. There was a body of messaging that took years to build up about the advantages of domain
    joined clients needing to be "Pro or higher" but in this case the message don't ring correct given we are talking about "personal owned" rather than company owned devices.
    How do I explain that as far as Windows Intune is concerned that Windows 8 standard computers and iOS tablets are the same?
    neilgo

  • Dreamspark Windows 8.1 Pro x86 and x64 Product Key Issue

    Hello people,
    I am having trouble with DreamSpark. I have an account from DreamSpark and want to use windows 8.1 pro x64 in my laptop. The problem is that dreamspark gives me only one product key for both x64 and x86 versions of windows 8.1 pro but when I try to install
    x64, it asks me to validate x64 via that product key. After typing the key, it gives me an error saying sth "could not validate". However, in the x86 version, it is able to validate. It is annoying because it says  "Microsoft
    Windows 8.1 Professional 32/64-bit (English) - DreamSpark - Download" in the title. Does not it mean that the product key below in the page is for both x86 and x64? :S 

    Hi,
    I agree with Yannick, both x64 and x86 should work fine, but only one is installed at a time,
    for example,  before you install the 64bit version, you will need to uninstall the 32bit version, even if it is on another computer.
    You can also run
    MGADiag tool - Microsoft to view the detailed Activation Dagnostic Report.
    Regards,
    Yolanda
    Yolanda
    TechNet Community Support

  • Oracle 8.1.5 and JDK 1.2 Thin Driver

    We are doing some prototyping with Oracle 8.1.5, BEA WebLogic
    6.1, and JDK 1.3. We needed to know what is the latest version
    supported by the oracle thing client drivers for that
    configuration.
    Or are we the only users doing this and is it mandatory that we
    migrate to Oracle 8.1.7?
    Thanks,
    Nikhil Kumar
    Lead Architect
    Delta Dental Plan of Michigan
    [email protected]

    Check out the SQLJ FAQ at:
    http://technet.oracle.com/tech/java/sqlj_jdbc/htdocs/faq.html
    "ExceptionInInitializerError: NullPointerException"
    (This is likely a general configuration issue, not something specific to your code.)
    If you see the following stack trace:
    unexpected error occurred... java.lang.ExceptionInInitializerError: java.lang.NullPointerException
    at sqlj.framework.ClassFileReader.attribute_info(Compiled Code) ...
    at sqlj.tools.Sqlj.statusMain(Compiled Code)
    at sqlj.tools.Sqlj.main(Sqlj.java:117)
    then you are likely running SQLJ version 8.1.5 or earlier under JDK 1.2.x or later.
    You need to download the SQLJ 8.1.6 SDK patch, which contains a new translator.zip
    version that you can use to replace the translator.zip from 8.0.5/7.3.4 or from JDeveloper 3.0.
    null

Maybe you are looking for

  • How to call smartform FM after using SSF_FUNCTION_MODULE_NAME?

    Hi Experts, How to call smartform FM after using SSF_FUNCTION_MODULE_NAME? I mean, in driver program i called SSF_FUNCTION_MODULE_NAME to get the related FM  for my smart form. after that How do I call it(smartform fm) . I tried to call by pressing P

  • Connect to monitor samsung bx2450

    I just unpacked Mac Mini to replace aging PC. How do I connect to my monitor, a Samsung BX2450?

  • RCA vs. S-video

    Being that the new displays only work with the new generation MBP's (I think, right?) I found a great compromise. I'm now looking for a great t.v. that will serve two purposes. Being my television and main display for the MBP. I just need to know who

  • Strategic sourcing scenario-issues

    Hi,    We are working on SRM 5.0.I  have a few questions regarding the Strategic Sourcing scenario for the foll configuration points: 1-<b>Define objects in backend system:</b> what value should I maintain here? I am creating the contract from Bid an

  • Scoring Simulation Quiz

    Hi All, I have created several software simulation captivate quizzes. I have 5 slides, each worth 1 pt each if correctly answered (clicked) therefore the entire Captivate quiz should be worth 5 points. One of the slides has two click boxes - both go