Questions regarding 32bit  / 64 bits architecture JDK/JRE

If I compile some classes with a 32 bit JDK, is it possible to run that bytecode on a 64bit JRE.
If I compile some classes with a 64 biy JDK, is it possible tu run that bytecode on a 32bit JRE.
If I try to install a 32 bit JRE on 64 bit machine is that JRE going to work ? If yes, will I encounter any performance issues ?
Edited by: nomemory on Oct 9, 2008 3:32 AM

nomemory wrote:
If I compile some classes with a 32 bit JDK, is it possible to run that bytecode on a 64bit JRE. yes.
If I compile some classes with a 64 biy JDK, is it possible tu run that bytecode on a 32bit JRE.yes.
If I try to install a 32 bit JRE on 64 bit machine is that JRE going to work ?I think so.
If yes, will I encounter any performance issues ?No, other than the 64 bit JRE, if available, may perform better.

Similar Messages

  • I'm tired of constantly reading "not yet" for any questions regarding a 64-bit Firefox. Exactly WHEN will there be a FF 64-bit?

    I'm tired of constantly reading the simplified answer of "not yet" for any questions regarding a 64-bit Firefox. Exactly WHEN will there be a Firefox 64-bit?

    That hasn't been decided yet for Windows PC's. So instead of "not yet", how about '''when it is ready for release'''?

  • Why this behaviour 32/64 bits installer jdk/jre behaviour

    Dear members
    usally i work with jdk 1.5 update 12
    so in this link
    http://java.sun.com/products/archive/j2se/5.0_12/index.html
    for my 32 bits pc machine
    i download this file
    Windows Platform - Java Development Kit 5.0 Update 12
    Windows Offline Installation, Multi-language      jdk-1_5_0_12-windows-i586-p.exe     51.33 MBsee the size of the installer 51.33Mb
    with this unique .exe installer i can install in peace the jdk and jre (how adition by default)
    now for 64 bits
    Windows x64 Platform - Java Development Kit 5.0 Update 12
    Windows x64 executable (use 32-bit version for applet and Java Web Start support)      jdk-1_5_0_12-windows-amd64.exe     32.96 MBsee the size file 32.96mb
    well with this i can only install the jdk but not the jre like the installer 32 bits case
    i must download apart the jre for 64 bits
    is normal this behaviour???
    thanks in advanced

    Hello jschell
    thanks for the reply
    >
    So if you are asking if you missed something then the answer is no - you need both pieces
    >
    sorry for my ignorance, but why for 32 bits i can download apart the jre if this coming by default with the jdk installer for 32 bits?
    i guess that some reason is for production enviroment
    regards

  • General Questions regarding Unity 7.x Architecture

    I am a seeking high-level information about how a decision to prevent a Unity 7.x system from delivering WAV files to users' OSTs/main Exchange email mailboxes would impact hardware requirements and server administration burdens if a company is using Exchange Server 2007.
    I would appreciate any suggestions on where to find prior discussions that address this issue, or other online resources.
    Thanks in advance for any assistance that you can offer, and my apologies in advance for lack of more technical language in this post.

    You can install Exchange on any of them, obviusly the recommendation is the secondary.
    Read this:
    Requirements for Cisco Unity Failover
    http://www.cisco.com/en/US/docs/voice_ip_comm/unity/7x/requirements/7xcusysreq.html#wp472908
    Installation Guide for Cisco Unity Release 5.x in a Unified Messaging Configuration with Microsoft Exchange (With Failover Configured)
    http://www.cisco.com/en/US/docs/voice_ip_comm/unity/5x/installation/guide/umexfo/5xcuigumefox.html
    HTH
    java
    If this helps, please rate
    www.cisco.com/go/pdihelpdesk

  • What is the difference between jdk,jre,jvm?

    hai friends
    i am new to java,
    can any body send the answer to this question
    what is the difference between jdk, jre, jvm?

    You know, you can search the Internet using google:
    http://www.google.com
    Type in What is the JVM? You'll be amazed at the results!!

  • Beginner question regarding 32-bit mixing and mixdown workflow

    Hello
    I have a beginner question regarding 32-bit mixing and mixdown.
    If I edit some 16Bit, 44.1kHz Stereo WAV Files and put them into multi-track view to do crossfades, how should I do the mixdown?
    Audition shows me in multi-track view, that it is doing 32-Bit mixing.
    Can I just mixdown to 16Bit, 44.1kHz Stereo without any dithering (as the files are 16Bit, 44.1kHz Stereo to begin with), or will I lose quality that way?
    I will be performing a normalization to 96% to the mixdown and then split to tracks in Audition, as in the end I want to to have an audio CD.
    I guess I could mixdown to 32Bit, then normalize and in the end save back to 16Bit, 44.1kHz Stereo WAV (with dithering, I suppose?), but I want to avoid any unnecessary converting steps.
    Greetings

    Any time you do any processing on a 16bit file in 16 bit only it will degrade the audio slightly due to rounding of the calculations. Working in 32 bit floating point (Audition's default) takes account of all bits generated due to processing.
    So it is always best to work in 32 bit, even if your originals were 16, all the way through until the last stage of saving the files for CD burning. Any losses due to conversion will be insignificant against those due to working 16 bit.

  • How to find out if I am using a 32 bits or 64 bits version of JRE?

    How to find out if I am using a 32 bits or 64 bits version of JRE?
    If I have 2 instances of Java installed in 2 seperate directories, one 32 bits and other 64 bits on Linux. How do I identify which directory holds which version?
    Is there any command that can output this info?
    Regards,
    Billamama

    With a Sun JDK or JRE, you can use java -version:
    $ java -version
    java version "1.6.0"
    Java(TM) SE Runtime Environment (build 1.6.0-b105)
    Java HotSpot(TM) Server VM (build 1.6.0-b105, mixed mode)
    ... switch to the 64-bit JDK ...
    $ java -version
    java version "1.6.0"
    Java(TM) SE Runtime Environment (build 1.6.0-b105)
    Java HotSpot(TM) 64-Bit Server VM (build 1.6.0-b105, mixed mode)
    The last line says "64-Bit."

  • Basic question regarding SSIS 2010 Package where source is Microsoft Excel 97-2005 and there is no Microsoft office or Excel driver installed in Production

    Hi all,
    I got one basic question regarding SSIS 2010 Package where source is Microsoft Excel 97-2005. I wanted to know How this package works in production where there is no Microsoft office or Excel driver installed. To check that there is excel driver installed
    or not, I followed steps: Start-->Administrative Tools--> Data Sources(ODBC)-->Drivers and I found only 2 drivers one is SQL Server and another one is SQL Server Native Client 11.0.
    Windows edition is Windows Server 2008 R2 Enterprise, Service Pack-1 and System type is 64-bit Operating System.
    We are running this package from SQL Server Agent and using 32-bit (\\Machine_Name\d$\Program Files (x86)\Microsoft SQL Server\110\DTS\Binn\DTExec.exe /FILE "\\Machine_Name\d$\ Folder_Name\EtL.dtsx" /CONFIGFILE "\\Machine_Name\d$\Folder_Name\Config.dtsConfig"
    /MAXCONCURRENT " -1 " /CHECKPOINTING OFF /REPORTING E) to run this package. I opened the package and tried to find out what connection we have used and found that we have used "Excel Connection Manager" and ConnectionString=Provider=Microsoft.Jet.OLEDB.4.0;Data
    Source=F:\Fares.xls;Extended Properties="EXCEL 8.0;HDR=YES"; and source is ‘Excel Source’
    I discussed with my DBA and He said that SSIS is having inbuilt Excel driver but I am not convinced.
    Could anyone please clear my confusion/doubt?
    I have gone through various links but my doubt is still not clear.
    Quick Reference:
    SSIS in 32- and 64-bits
    http://toddmcdermid.blogspot.com.au/2009/10/quick-reference-ssis-in-32-and-64-bits.html
    Why do I get "product level is insufficient..." error when I run my SSIS package?
    http://blogs.msdn.com/b/michen/archive/2006/11/11/ssis-product-level-is-insufficient.aspx
    How to run SSIS Packages using 32-bit drivers on 64-bit machine
    http://help.pragmaticworks.com/dtsxchange/scr/FAQ%20-%20How%20to%20run%20SSIS%20Packages%20using%2032bit%20drivers%20on%2064bit%20machine.htm
    Troubleshooting OLE DB Provider Microsoft.ACE.OLEDB.12.0 is not registered Error when importing data from an Excel 2007 file to SQL Server 2008
    http://www.mytechmantra.com/LearnSQLServer/Troubleshoot_OLE_DB_Provider_Error_P1.html
    How Can I Get a List of the ODBC Drivers that are Installed on a Computer?
    http://blogs.technet.com/b/heyscriptingguy/archive/2005/07/07/how-can-i-get-a-list-of-the-odbc-drivers-that-are-installed-on-a-computer.aspx
    Thanks Shiven:) If Answer is Helpful, Please Vote

    Hi S Kumar Dubey,
    In SSIS, the Excel Source and Excel Destination natively use the Microsoft Jet 4.0 OLE DB Provider which is installed by SQL Server. The Microsoft Jet 4.0 OLE DB Provider deals with .xls files created by Excel 97-2003. To deal with .xlsx files created by
    Excel 2007, we need the Microsoft ACE OLEDB Provider. SQL Server doesn’t install the Microsoft ACE OLEDB Provider, to get it we can install the
    2007 Office System Driver: Data Connectivity Components or
    Microsoft Access Database Engine 2010 Redistributable or Microsoft Office suit.
    The drivers listed in the ODBC Data Source Administrator are ODBC drivers not OLEDB drivers, therefore, the Excel Source/Destination in SSIS won’t use the ODBC driver for Excel listed in it by default. On a 64-bit Windows platform, there are two versions
    of ODBC Data Source Administrator. The 64-bit ODBC Data Source Administrator is C:\Windows\System32\odbcad32.exe, while the 32-bit one is C:\Windows\SysWOW64\odbcad32.exe. The original 32-bit and 64-bit ODBC drivers are installed by the Windows operating system.
    By default, there are multiple 32-bit ODBC drivers and fewer 64-bit ODBC drivers installed on a 64-bit platform. To get more ODBC drivers, we can install the 2007 Office System Driver: Data Connectivity Components or Microsoft Access Database Engine 2010 Redistributable.
    Besides, please note that 2007 Office System Driver: Data Connectivity Components only install 32-bit ODBC and OLEDB drivers because it only has 32-bit version, but the Microsoft Access Database Engine 2010 Redistributable has both 32- bit version and 64-bit
    version.
    If you have any questions, please feel free to ask.
    Regards,
    Mike Yin
    TechNet Community Support

  • 64 bit and 32 bit architecture

    Hello,
    I've been trying to understand the principal of MDT 64bit architecture and MDT 32 bit architecture.
    The architecture refers to the WIM boot image I'm adding to WDS (Boot image: Add Boot image) or to the MDT? If to MDT in what manner?
    The reason I'm asking is that I need to inject a package (Microsoft windows fix:
    kmdf-1.11-Win-6.1-x64.msu)
    to my image (according to this site) to fix a problem I'm having. When running the command and trying to
    inject the 64bit fix, the command fails, and when doing the same thing, but with the x86 fix, the operations succeed.
    So i guess my environment is 32
    bit, but I don't understand why for the OS
    I capture is 64 bit OS, My WAIK is 64bit.
    When performing what the site suggested (link above), I mount the WIM from my capture folder. Should I perform this on the WIM file from the DeploymentShare\Boot folder?
    This question link to another issue I'm having, when trying to open the unattend.xml file from within the MDT TS (TS - OS Info - Edit Unattend.xml) I'm getting an error, when looking for a solution on the net I encounter a solution where I need to open the
    'Windows System Image manager' from the WAIK installation, add the windows image
    i want and make the xml
    i want, but then I'm getting an error saying I cannot add 32 bit xml to 64
    bit (or vice versa).
    Thanks a lot

    Hi,
    I think it doesn’t matter which MDT architecture to use. It does matter the system architecture you are deploying.
    According to your description, you are trying to deploy windows 7 x64 version which is captured form another computer. I guess you chose the wrong boot image. In case any
    problem occur, use an original windows 7 x64 image. You can find boot.wim in sources folder.
    I recommend you use WSIM to create the unattended file, you won’t make any mistake with it.
    Hope this helps.

  • Oracle DB 9201 installation on AIX 5L with 32 bit architecture!!

    Hi,
    I have installed AIX 5L on 32 bit kernel machine.
    Thereafter I have installed Oracle 9.2.0.1 Database!!
    But whenever I am running sqlplus or listener it gives me an error that "you cannot run 64 bit application on 32 bit machine"
    but I am able to run DBCA or NETCA command from oracle home directory & it runs properly. It also create & configure the listener but due to the above mismatch it could not start!!
    Can any one help !!
    Regards,
    Indraneel

    Same thread into Installation Forum : Re: Oracle DB 9201 installation on AIX 5L with 32 bit architecture!!
    Nicolas.

  • Questions regarding Optimizing formulas in IP

    Dear all,
    This weekend I had a look at the webinar on Tips and Tricks for Implementing and Optimizing Formulas in IP.
    I’m currently working on an IP-implementation and encounter the following when getting more in-depth.
    I’d appreciate very much if you could comment on the questions below.
    <b>1.)</b> I have a question regarding optimization 3 (slide 43) about Conditions:
    ‘If the condition is equal to the filter restriction, then the condition can be removed’.
    I agree fully on this, but have a question on using the Planning Function (PF) in combination with a query as DataProvider.
    In my query I have a filter in the Characteristic restriction.
    It contains variables on fiscal year, version. These only allow single value entry.
    The DataProvider acts as filter for my PF. So I’d suppose I don’t need a condition for my PF since it is narrowed down on fiscal year and version by my query.
    <b>a.) Question: Is that correct?</b>
    I just one to make sure that I don’t get to many records for my PF as input. <u>How detrimental for performance is it to use conditions anyway?</u>
    <b>2.)</b> I read in training BW370 (IP-training) that a PF is executed for the currently set filter (navigational state) in the query and that characteristics that are used in restricted keyfigures are ignored in the filter.
    So, if I use version in the restr. keyfig it will be ignored.
    <b>Questions:
    a.) Does this mean that the PF is executed for all versions in the system or for the versions that are in the filter of the Characteristic Restrictions and not the currently set filter?</b>
    <b>b.) I’d suppose the dataset for the PF can never be bigger than the initial dataset that is selected by the query, right?
    c.) Is the PF executed anaway against navigational state when I use filtering? If have an example where I filter on field customer thus making my dataset smaller, but executing the PF still takes the same amount of time.
    d.) And I also encounter that the PF is executed twice. A popup comes up showing messages regarding the execution. After pressing OK, it seems the PF runs again...</b>
    <b>3.)</b> If I use variables in my Planning Function I don’t want to fill in the parameter VAR_VALUE with a value. I want to use the variable which is ready for input from the selection screen of the query.
    So when I run the PF it should use the BI-variable. It’s no problem to customize this in the Modeler. But when I go into the frontend the field VAR_VALUE stays empty and needs a value.
    <b>Question:
    a.) What do I enter here? For parameter VAR_NAME I use the variable name, but what do I use for parameter VAR_VALUE?  Also the variable name?</b>
    <b>4.)</b> Question regarding optimization 6 (slide 48) about Formulas on MultiProviders:
    'If the formula is using data of only one InfoProvider but is defined on a MultiProvider, the the complete formual should be moved to the single base InfoProvider'.
    In our case we have three cubes in the MP, two realtime and one normal one. Right now we have one AggrLevel (AL) on op of the MP.
    For one formula I can use one cube so it's better to cretae another AL with the formula based on that cube.
    For another formula I need the two <u>realtime</u> cubes. This is interesting regarding the optimization statement.
    <b>Question:
    a.) Can I use the AL on the MP then or is it better to create a <u>new</u> MP with only these two cubes and create an AL on top of that. And than create the formula on the AL based on the MP with the two cubes?</b>
    This makes the architecture more complex.
    Thanks a lot in advance for your appreciated answers!
    Kind regards, Harjan
    <b></b><b></b>

    Marc,
    Some additional questions regarding locking.
    I encounter that the dataset that is locked depends on the restrictions made in the 'Characteristic Restrictions'-part of the query.
    Restrictions in the 'Default Values'-part are not taken into account. In that case all data records of the characteristic are locked.
    Q1: Is that correct?
    To give an example: Assume you restrict customer on hierarchy node in Default Values. If you want people to plan concurrently this is not possible since all customers are locked then. When customer restriction is moved to Char Restr the system only locks the specific cutomer hier node and people can plan concurrently.
    Q2: What about variables use in restricted keyfigures like variable for fy/period? Is only this fy/period locked then?
    Q3: We'd like to lock on a navigational attribute. The nav attr is put as a variable in the filter of the Characteristic Restrictions. Does the system then only lock this selection for the nav.attr? Or do I have to change my locking settings in RSPLSE?
    Then question regarding locking of data for functions:
    Assume you use the BEx Analyzer and use the query as data_provider_filter for your planning function. You use restricted keyfigures with char Version. First column contains amount for version 1 and second column contains amount for version 2.
    In the Char Restrictions you've restricted version to values '1' and '2'.
    When executing the inputready query version 1 and 2 are locked. (due to the selection in Char Restr)
    But when executing the planning function all versions are locked (*)
    Q4: True?
    Kind regards, Harjan

  • Floating Point Representations on SPARC (64-bit architecture)

    Hi Reader,
    I got hold of "Numerical Computation Guide -2005" by Sun while looking for Floating Point representations on 64 bit Architectures. It gives me nice illustrations of Single and Double formats and the solution for endianness with
    two 32-bit words. But it doesn't tell me how it is for 64-bit SPARC or 64-bit x86.
    I might be wrong here, but having all integers and pointers of 64-bit length, do we still need to break the floating point numbers and store them in lower / higher order addresses ??
    or is it as simple as having a Double Format consistent in the bit-pattern across all the architectures (Intel, SPARC, IBMpowerPC, AMD) with 1 + 11 + 52 bit pattern.
    I have tried hard to get hold of a documentation that explains a 64-bit architecture representation of a Floating Point Number. Any suggestion should be very helpful.
    Thanks for reading. Hope you have something useful to write back.
    Regards,
    Regmee

    The representation of floating-point numbers is specified by IEEE standard 754. This standard contains the specifications for single-precision (32-bit), and double-precision (64-bit) floating-point numbers (There is also a quad-precision (128-bit) format as well). OpenSPARC T1 supports both single and double precision numbers, and can support quad-precision numbers through emulation (not in hardware). The fact that this is a 64-bit machine does not affect how the numbers are stored in memory.
    The only thing that affects how the numbers are stored in memory is endianness. SPARC architecture is big-endian, while x86 is little-endian. But a double-precision floating-point numer in a SPARC register looks the same as a double-precision floating-point number in an x86 register.
    formalGuy

  • Questions regarding Disk I/O

    Hey there, I have some questions regarding disk i/o and I'm fairly new to Java.
    I've got an organized 500MB file and a table like structure (represented by an array) that tells me sections (bytes) within the file. With this I'm currently retrieving blocks of data using the following approach:
    // Assume id is just some arbitary int that represents an identifier.
    String f = "/scratch/torum/collection.jdx";
    int startByte = bytemap[id-1];
    int endByte = bytemap[id];
    try {
              FileInputStream stream = new FileInputStream(f);
              DataInputStream in = new DataInputStream(stream);
                    in.skipBytes(startByte);
              int position = collectionSize - in.available();
              // Keep looping until the end of the block.
              while(position <= endByte) {
                  line  = in.readLine();
                  // some pocessing here
                  String[]entry = line.split(" ");
                  String docid = entry[1];
                  int tf = Integer.parseInt(entry[2]);
                  // update the current position within the file.
                  position = collectionSize - in.available();
       } catch(IOException e) {
              e.printStackTrace();
       }This code does EXACTLY what I want it to do but with one complication. It isn't fast enough. I see that using BufferedReader is the choice after reading:
    http://java.sun.com/developer/technicalArticles/Programming/PerfTuning/
    I would love to use this Class but BufferedReader doesn't have the function, "skipBytes(), which is vital to achieve what I'm trying to do. I'm also aware that I shouldn't really be using the readLine() function of the DataInputStream Class.
    So could anyone suggest improvements to this code?
    Thanks
    null

    Okay I've got some results and turns out DataInputStream is faster...
    EDIT: I was wrong. RandomAccessFile becomes a bit faster according to my test code when the block size to read is large.
    So I guess I could write two routines in my program, RAF for when the block size is larger than an arbitary value and FileInputStream for small blocks.
    Here is the code:
    public void useRandomAccess() {
         String line = "";
         long start = 1385592, end = 1489808;
         try {
             RandomAccessFile in = new RandomAccessFile(f, "r");
             in.seek(start);
             while(start <= end) {     
              line = in.readLine();     
              String[]entry = line.split(" ");
              String docid = entry[1];
              int tf = Integer.parseInt(entry[2]);
              start = in.getFilePointer();
         } catch(FileNotFoundException e) {
             e.printStackTrace();
         } catch(IOException ioe) {
             ioe.printStackTrace();
    public void inputStream() {
         String line = "";
         int startByte = 1385592, endByte = 1489808;
         try {
             FileInputStream stream = new FileInputStream(f);
             DataInputStream in = new DataInputStream(stream);
             in.skipBytes(startByte);
             int position = collectionSize - in.available();
             while(position <= endByte) {
              line  = in.readLine();
              String[]entry = line.split(" ");
              String docid = entry[1];
              int tf = Integer.parseInt(entry[2]);
              position = collectionSize - in.available();
         } catch(IOException e) {
             e.printStackTrace();
        }and the main looks like this:
       public static void main(String[]args) {
         DiskTest dt = new DiskTest();
         long start = 0;
         long end = 0;
         start = System.currentTimeMillis();
         dt.useRandomAccess();
         end = System.currentTimeMillis();
         System.out.println("Random: "+(end-start)+"ms");
         start = System.currentTimeMillis();
         dt.inputStream();
         end = System.currentTimeMillis();
         System.out.println("Stream: "+(end-start)+"ms");
        }The result:
    Random: 345ms
    Stream: 235ms
    Hmmm not the kind of result I was hoping for... or is it something I've done wrong?

  • Question regarding Command pattern

    Hi!
    I have a question regarding the Command pattern:
    //Invoker as defined in GOF Design Patterns
    public class SomeServer {
        //Receiver as defined in GOF Design Patterns.
        private Receiver receiver;
        //Request from a network client.
        public void service(SomeRequest request) {
            Command cmd = CommandFactory.createCommand(request);
            cmd.execute();
    }The concrete command which implements the Command needs a reference to Receiver in order to execute it's operation but how is the concrete command best configured? Should I send Receiver along with the request
    as a parameter to the createCommand method or should i configure the receiver inside the CommandFactory or
    send it as a paramter to the execute method? Since SomeServer acts as both client and invoker, SomeServer "knows" about the Commands receiver. Is this a bad
    thing?
    Regards
    /Fredrik

    #!/bin/bash
    DATE=$(date '+%y-%m-%d')
    if find | grep -q $DATE ; then
    echo "OK - Backup files found"
    exit 0
    else
    echo "Critical - No Backups found today!"
    exit 2
    fi
    should work too and it's a bit shorter.
    Please remember to mark the thread as solved.

  • Oracle 11i EBS migration from 32 bit architecture to 64 bit architecture

    Hii guys
    I'm in a fix
    Firstly clear me on this
    1.We have Oracle 11i EBS Software running on 32 bit architecture.If we do customization in it will it be ported easily on a 64 bit architecture.If not what changes will be required to make this migration successfull.
    Brief me from software as well as hard prespective
    Kindly guide me to a good metalink resource on this or any website.I'm googling and eating metalink anyways;)).
    2.Does Oracle 11i EBS software come seperately for the 32 bit and 64 bit architecture.
    Regards
    Fahad

    The EBS Applications tier is 32 bit no matter what your OS is. On Solaris 64-bit, there is a special edelivery.oracle.com version of 11.5.10.2 that ships with a 64-bit RDBMS directly via rapidwiz.
         Oracle® Applications 11i Release 10.2 for Solaris Operating System (SPARC 32-bit) with Solaris Operating System (SPARC 64-bit) Oracle® Database      10.2.0.0.0      B23090-06      MAR-05-2007      71 /30G
    Otherwise, you need to complete a word conversion of the database to 64-bit if you want to make use of 64-bit memory addressing.

Maybe you are looking for