Which JRE type does the client have? (64bit or 32bit)

Hello all,
I'm needing a way to programmatically find out whether the client machine is running a 32bit or 64bit JRE.
The reasoning for this is down to this …a 32bit JRE will load only 32bit dll's and a 64bit JRE loads only 64dll's.
Problem occurs when a 32bit JRE is installed on a 64bit machine (64bit Windows), when the customer tries to use the 64bit program it fails because the installed 32bit JRE tries to load 32bit dll’s (which aren’t there as the program is 64bit).
Anyway as the Java code is different (different API for the 32/64 dll’s) so I would like to run a check before the program installs that the client has got version that matches their installed JVM.
Thanks in advance!

Examine [os.arch|http://pscode.org/prop/?prop=os.arch] or [sun.arch.data.model|http://pscode.org/prop/all.html?prop=sun.arch.data.model]?
I understand the first is what webstart uses to serve up natives according to the underlying hardware architecture.

Similar Messages

  • How much info about the cache-cluster does the client have and What would you recommend about putting the cluster behind virtual ip

    Hi,
    I will appreciate if someone can point me to some documentation as to how app-fabric client library accesses the app-fabric cluster.
    What I have found so far is that the list of hosts provided in the client configuration are used as an entry point into the Cache-Cluster. By connecting to one of hosts, the client will download information about all the hosts constituting the cluster.
    Since a named cache is distributed across the entire cluster, and the data can be stored on any node. How does the client decide which node it should connect to, to get the data from. Does the client have enough information to know which host has the data
    or the client will connect to one of the nodes, if the node has data, it will serve it otherwise redirect the client to the node that has the data.
    I also would like to know what do you say about the idea that we would like to put our cache-cluster behind a virtual ip, so that if needed, we can take down nodes or add more nodes. In fact the virtual ip will that of a load balancer, but we don't plan to
    use it for load balancing purposes but the idea is that the client will have the virtual ip address and we can repoint this IP address, if we need to take out a node for maintenance reason. 

    I'm not sure about the reason for putting the cache servers in a VIP, but one of the reasons why the cache servers should be made known to the servers is because of auto load balancing and throughput
    Imagine i have 10 cache servers running on 1G ethernet links, theoretically i have 10G usable bandwidth and the clients will be able to manage and load balance if any of the cache server fails or have performance issues
    Now if all these were parked behind a VIP
    1. The LB now does the load balancing, which may not be optimal
    2. The LB may not have 10G upstream and 10G downstream, even if it has, this is quite a waste of resource\

  • Which SIM card does the iPad mini take? Does it have to be specific type of SIM for the iPad mini?

    Which SIM card does the iPad mini take? Does it have to be specific type of SIM for the iPad mini?

    Welcome to the Support Communities. The answer to your question is available in Apple's website — see the Input/Output section here:
    http://www.apple.com/ipad-mini/specs/

  • I designer I want to create forms for web client, does each client have to purchase form central to access the data?

    I designer I want to create forms for web client, does each client have to purchase form central to access the data?

    Hi,
    In this scenario, you can share the document with the clients to and provide co-author privileges.
    Co-authors can edit the form design, options, responses, and summary report (everything that you can do).
    Note:- They do not require a paid subscription to view the responses, free subscription users can become co-authors.
    Please refer to the following thread to know how to share a form with others:-How do I share a form I created with others?
    Regards,
    Nakul

  • I have an iMac 17" 1.83ghz intel core from 2006. I need to reformat the hard drive. Which system do I install - the system disk in came with or can I install 10.6.8 which is what it's running now. And does the system have to be for an iMac?

    I have an iMac 17" 1.83ghz intel core from 2006. I need to reformat the hard drive. Which system do I reinstall - the system disk in came with or can I install 10.6.8 which is what it's running now. And does the system have to be for an iMac?

    Reformat usiing the original install disc then update to v10.6.8.
    Mac OS X 10.6: Reinstalling Mac OS X

  • Does the iPhone have the option of having a standard telephone type keyboard instead of the normal comp type

    Does the iPhone have the option of having a standard telephone type keyboard instead of the normal comp type

    phone icon/keyboard (at the bottom of the page )

  • Connecting a powerbook G3 to the internet via ethernet and a DSL modem. Does the G3 have the ability to do this?

    I am trying to connect an older powerbook G3 (M4753) to the internet via ethernet and a DSL modem. Does the G3 have the ability to do this? I'm having alot of trouble. G3 Dialog box states the DHCP server will populate IP address, etc. It does not. The G3 also insists I enter the DHCP client ID.

    Anything useful in the following articles?
    http://support.apple.com/kb/TA20782
    http://support.apple.com/kb/TA20785
    Jan

  • Does the Blackberry have built in memory?

    Does the Blackberry have built in memory?
    available memory?
    additional memory options?..Add-ons/ins?
    (spec. Blackberry Curve 8900)

    I believe the device has 128MB of device memory, 1Gb of built in storage memory and can accomodate up to a 32GB MicroSDHC memory card.
    1. Please thank those who help you by clicking the "Like" button at the bottom of the post that helped you.
    2. If your issue has been solved, please resolve it by marking the post "Solution?" which solved it for you!

  • Detect JRE version of the Client Browser fiom a JSP

    I have an Applet that is called from a JSP page that works only in certain JRE versions .
    I was wondering if there is a way of finding the Installed JRE version of the Client ...

    You could use some of the old traditional Javascript code that determines what browser it's running in, and have that code pass different parameters to the applet based on its determination.

  • How does the client edit their site after the freelancer stops hosting the site on their CC account?

    Once a freelancer stops hosting a client's site through their Creative Cloud Account, how does the client continue to edit their site? Do they need their own CC account or does the site have to be hosted on a BC plan?

    This forum is only to discuss how the forums operate, not products
    If you go to the Forums Index http://forums.adobe.com/index.jspa
    You will be able to select a forum for the Adobe product(s) that are
    use to edit/maintain the site

  • Which application area does the SHOP VISIT NOTIFICATION cover under..

    which application area does the SHOP VISIT NOTIFICATION cover under..
    if possible pass me some useful information reg this SVN.
    i require this information very urgent...

    Ok, I think I'm on the right track now. I was finally able to inspect the HTTP requests coming in to my destination page, and I do see the notification post coming in, with the expected form data. Here's a sample of the HTTP request that came in after submitting a new quote on my site, in case anyone's interested.
    JSON:
    {"connection":"keep-alive", "content-length":"32", "content-type":"application/x-www-form-urlencoded", "host":"notification.azurewebsites.net", "max-forwards":"10", "x-liveupgrade":"1", "x-original-url":"/", "x-forwarded-for":"192.150.2.7:17242", "x-arr-log-id":"ae52537a-df3b-4bc5-a386-f652c9a03ef2"}
    { ObjectID: '4448953', ObjectType: '2008' }

  • Does the PlayBook have a magnetic case activated "holster" mode like the smartphones?

    Title pretty much says it all.  While I'm waiting for my PlayBook, I'm wondering about accessories.  In particular the slip case from RIM.
    Under features are listed:
    •    Precision-fit protection
    •    Rigid panels and flexible sides with easy access to charging or media ports
    However, notably absent from that feature list is:
    •    RIM patented technology to sleep device while in case (from a Torch 9800 case feature description)
    So does the PlayBook have a "holster-mode" at all?  If so, which cases support/activate it?  It's a very cool feature of the smartphones and would be conspicuous by it's absence.
    Solved!
    Go to Solution.

    A few users in the IRC said that they could find no magnets in the device, and a teardown by iFixit revealed the same thing
    - If you like my response/post, or it helped you find an answer you were looking for, please provide a Kudo - white star to the bottom right of this post. -
    - Please use the search bar at the top, or check out the PlayBook FAQ's for help getting started -
    - Hockey DrillBook -

  • Help !!! why does the client need to specify codebase

    Anyone,
    I'm trying out a dynamic class loading tutorial.
    my question is why does the client need to define
    java.rmi.server.codebase.
    I can understand why the server needs it, as it is downloading classes
    it does not have information about. But why does the client need to specify the codebase

    Lets say you have a Remote interface with a method:
    void compute(Task task);
    Now, the clients of this remote interface want supply
    a zillion of custom tasks to be executed on the
    server, but how the hell the server knows where to get
    the actual classes for those tasks?You fool. its for the server to hand the client the reference to a stub, or to specify FOR the client where the stubs are, so that the CLIENT can get a reference to them, to make the call.
    This is where the
    client codebase comes to the scene. Client codebase......you mean codebase info that is sent TO the client, so it can find the classes.
    A client annotates
    it and it gets written to the manifest part of any
    serializable object (Task implentation) being passed
    over then net so the server could find and download
    the actual class of the object.
    Rubbish.
    I hope I made myself clear. as mud.
    You might want to check
    out this link also:
    http://java.sun.com/products/jdk/1.2/docs/guide/rmi/cod
    base.htmlI read this and i still dont see anything about CLIENT codebase. I see stuff about codebase, and the server trying to make the client aware of where it can get the relevant classes.
    What a fool you are. Dont bother replying. I have had enough of your autocratic rubbish.
    >

  • How do I make a DVD copy of a file? And does the file have to be converted from mpeg or mp4 or.MOV to a different format before it can be copied and is readable by DVD? Thanks.

    How do I make a DVD copy of a file? And does the file have to be converted from mpeg or mp4 or.MOV to a different format before it can be copied and is readable by DVD? Thanks.

    Great hearing for you all! I thought I was all alone this past weekend. I did learn a lot this weekend. I really like the InDesign product.(half-the-battle) But to be helped by the prestigious “Sandee Cohen” was an honor indeed.”  I ordered the InDesign CC today.  Peter, I appreciate all the feedback on Lynda too. They are loaded with lots of good videos. Derek too honed in on one of the most important aspects!  Since I have been working with Word for most of the first portion of the book this will be a big help. I looked at the comments big help ! Thanks a ton ALL!  Have a wonder day or evening whenever you read this reply.

  • Does the iMac have an AUDIO IN besides from the built-in mic?

    Does the iMac have an AUDIO IN aside from the built-in mic? 
    Also, are any special cables needed?
    Thanks,
    John

    Hi
    You should be able to check by going to about this mac from the Apple menu. Then click the more info button and then the system report button. Next, click on audio tab to the left. If you don't have an entry for built in input then you probably don't have line-in in your mac. As already mentioned though you should be able to defiantly find out with the model and year.
    Hope this helps

Maybe you are looking for