Get JRE architecture

Hi,
How can i get the JRE architecture (x86 vs x64) outside the java code?
Is there any way to see this from the command line or is is stored somewhere in the registry?
Thx,
Radu

hi,
Here you go...
http://forum.java.sun.com/thread.jspa?threadID=5183961&messageID=9876540

Similar Messages

  • HI,  I need to jre 1.6 update 26 on my mac system to make some aaplication work. However latest available is jre 1.6 update 29. Could you suggest how I can get jre 1.6 update 26? I tried downloading older version on java. COuldn't find it on your site.

    HI,  I need to jre 1.6 update 26 on my mac system to make some aaplication work. However latest available is jre 1.6 update 29. Could you suggest how I can get jre 1.6 update 26? I tried downloading older version on java. COuldn't find it on your site.

    What are you missing?
    I inherited this app and signing the third party jars is how it was setup, I was wondering the same thing too, why was it necessary to sign the third party jars?
    The applet runs in either JRE 1.6.0_13 or JRE 1.6.0_27 depending on the other Java apps the user uses. JRE 1.6.0_13 does not have the mixed code security (so it is like is disable), but JRE 1.6.0_27 does have the mixed code security and the applet will not launch with mixed code security enable, so we have to disable it. With all the hacking going on in the last two years, is important to improve security; so this is a must.
    Yes, I always clear up the cache.
    Any idea on how to resolve this problem?

  • To get JRE or JDK version using Java Programs

    How do get JRE or JDK version using Java Programs?.
    Kindly Reply...
    By
    Mani

    If you're talking about current program's runtime environment (as opposed to all installed JDK/JRE) : System properties

  • To get JRE or JDK version in Programs

    How do get JRE or JDK version in Application Programming?. Kindly Reply...
    By
    Mani

    Hi Manivel.
    The System class has methods such as getProperties() and getProperty() that can be used to get almost any system info. To get the version of JRE, for example, you could use something like this:
    System.getProperty("java.version");
    Check the J2SE 1.5 API reference for more info. Use this URL to go directly to the API reference for the java.lang.System class:
    http://java.sun.com/j2se/1.5.0/docs/api/java/lang/System.html
    Hope this answers your question.
    By the way, this is the JDBC forum. In the future, please post such questions in the Java Essentials forum (http://forum.java.sun.com/category.jspa?categoryID=5) or the Core APIs forum (http://forum.java.sun.com/category.jspa?categoryID=32).
    Shakeel.
    :)

  • Where do I get JRE?

    Hello,
    I downloaded the 815shipstd.* files and unpacked them
    successfully. However, the installer uses a version of JRE that
    seems to be different from the only one out there for Linux
    (RedHat 6.0) that I could find.
    Where can I download the version the installer expects? I can't
    find it anywhere on the Oracle FTP site, and searching the Web
    site got me nowhere. All of the installation instructions assume
    you have the CD, which apparently has more files on it than are
    included in the FTP archives.
    null

    Dejo (guest) wrote:
    : Kevin Johnson (guest) wrote:
    : : Dan Wilga (guest) wrote:
    : : : Hello,
    : : : I downloaded the 815shipstd.* files and unpacked them
    : : : successfully. However, the installer uses a version of JRE
    : that
    : : : seems to be different from the only one out there for
    Linux
    : : : (RedHat 6.0) that I could find.
    : : : Where can I download the version the installer expects? I
    : can't
    : : : find it anywhere on the Oracle FTP site, and searching the
    : Web
    : : : site got me nowhere. All of the installation instructions
    : : assume
    : : : you have the CD, which apparently has more files on it
    than
    : are
    : : : included in the FTP archives.
    : : 1.Download and install JRE 1.1.6 v5 from
    : : http://www.blackdown.org. Install the JRE in any directory
    and
    : : create a symbolic link from /usr/local/jre to
    : : <jre_install_location>/jre116_v5.
    : : IT will be easier just to install it in the /usr/local/jre
    : : directory from the get go. Instead of making the link.
    : : This information is in the release guide for 8.1.5. I would
    : : suggesst that you read all of the release note before trying
    : the
    : : install.
    : Where exactly at the www.blackdown.org site is the JRE 1.1.6
    v5?
    : A complete URL would be nice. All I could find was links to
    : mirror sites.
    Hi!
    Try connect to:
    ftp://ftp.infomagic.com/pub/mirrors/linux/Java/JDK-
    1.1.6/i386/glibc/v5/jre_1.1.6-v5-glibc-x86.tar.gz
    Eugene
    null

  • Can't play videos on iPhoto after installing Yosemite, also getting JRE error. Are they related?

    When I start Mac, I get following error regarding JRE requirement. I have updated JRE 8 from Oracle website, but I still get the same error. This has started after I updated to Yosemite.
    Also when I click on video I get following error: "A necessary data reference could not be resolved." Hence am unable to play any videos.
    Are these related, can someone help?
    Do note that I have MacBook Pro (13-inch, Early 2011) with OS X Yosemite (10.10) and iPhoto 9.6.

    I'd ask about the JRE issue on the Using Mac OS X forum.
    The videos are not necessarily gone:
    Option 1
    Back Up and try rebuild the library: hold down the command and option (or alt) keys while launching iPhoto. Use the resulting dialogue to rebuild. Choose to Repair Database. If that doesn't help, then try again, this time using Rebuild Database.
    If that fails:
    Option 2
    Download iPhoto Library Manager and use its rebuild function. (In early versions of Library Manager it's the File -> Rebuild command. In later versions it's under the Library menu.)
    This will create an entirely new library. It will then copy (or try to) your photos and all the associated metadata and versions to this new Library, and arrange it as close as it can to what you had in the damaged Library. It does this based on information it finds in the iPhoto sharing mechanism - but that means that things not shared won't be there, so no slideshows, books or calendars, for instance - but it should get all your events, albums and keywords, faces and places back.
    Because this process creates an entirely new library and leaves your old one untouched, it is non-destructive, and if you're not happy with the results you can simply return to your old one.  
    Regards
    TD

  • Get JRE version

    Hi, all
    How to can get current JRE version from registry
    please help me
    thanks

    hi,
    Here you go...
    http://forum.java.sun.com/thread.jspa?threadID=5183961&messageID=9876540

  • Trying to get JRE for a month!!!!

    Hello,
    My name is Amber and I am in dire need of assistance! I am trying to download a plugin for an online course I am taking to school and I haven't been able to for at least a month. I have Mozilla firefox as a browser and all of my settings on my computer as well as on my browser show java enabled. However I am still getting an error message that is "This installation package could not be opened. Contact the application vendor to verify that this is a valid windows installer package." It has no error code with it. I then have received another error code from firefox that says this, "The installation of package http://java.sun.com/update/1.6.0jre-6.2-windows-i586-jc.xpi failed with -203" "Unexpected installation error." I don't know what to do anymore, so if someone could shed a little light on the subject that would be amazing. The one thing that is most annoying is that there is no phone number listed anywhere that I me be able to actually call Java and speak to a person regarding this. I have sent an email countless times already. Sorry to sound so grouchy, but I just want this over with. Thanks

    Hi lalanna
    Take a look at Mozilla Installation/Update docs: http://kb.mozillazine.org/Java
    What is happening smells like a Firefox bug or related to it. If so, try using another browser e.g. Opera.
    Mozilla has a good forum for Firefox (http://forums.mozillazine.org/), may be someone had the same problem in recent past.
    []'s.

  • I keep getting jre application error when launching a online live class

    Need help with fixing this problem.

    Refer to the JDK Installation Instructions. The error is discussed at the end. (The JRE Installation Instructions says refer to the JDK instructions for troubleshooting.)

  • MJB: I cannot get JRE to run in my Ubuntu Hardy installation.

    Installation of JRE has been verified. Sites that require JRE say it is not installed but all site tests confirm the installation. A technician in chat says it is installed properly as well but needs to be added to my profile. It was working properly a few days ago but some update changed a setting. I have also attempted to use Chromium as well with the same results. I know this is related to my installation but cannot find a consolidated set of instructions to complete the installation.
    I am a new linux user and am still learning. Assistance would be great.
    == Operating system ==
    Ubuntu Hardy

    total 8
    drwxr-xr-x 2 root root 4096 2010-02-16 19:34 .
    drwxr-xr-x 4 root root 4096 2008-07-02 05:21 ..
    lrwxrwxrwx 1 root root 37 2010-02-16 19:34 flashplugin-alternative.so -> /etc/alternatives/mozilla-flashplugin
    lrwxrwxrwx 1 root root 39 2009-03-04 19:01 libjavaplugin.so -> /etc/alternatives/mozilla-javaplugin.so

  • Getting JRE 1.6.0_01

    hello, i was wondering it there was any way to get a copy of jre1.6.0_01
    the reason why, i have an old computer that i had it installed on, but unfortunatly i had some virus problems and the exe file got infected, so i uninstalled it and deleted what not, is there any way to get a new copy?
    p.s. yes i know there are newer versions out but our old computer is quite terrible and that was the one we had previously installed
    thankyou for reading

    Use the archive:
    http://java.sun.com/products/archive/

  • Hard Time Getting JRE to work

    i dled j2re 1.4.2 and i install it and i dont know what to do next...i tried to do everything and cant get it to work....

    Got to give a lot more info than that. How are you trying to run it? I hope with an application.

  • How to build query to get tree architecture of self referencing table

    Dear all,
    I have the following table design :
    This is a self referencing table representing a set of SubCategories which can have parent sub categories or not. I did not show here the Category table.
    If the Subcategory has the ParentSubCategory ID = null, then this is a root subcategory otherwise it is a child of a parent sub category.
    What I am looking for is the easy way to display the structure level by ProductCategoryID ?
    Thanks for helps

    you can use a recursive logic based on CTE for that
    something like this would be enough
    ;WITH ProdSubCat_Hiererchy
    AS
    SELECT psc.ProductSubCategoryID,c.CategoryName,psc.ParentSubCategoryID, psc.Name,CAST(psc.Name AS varchar(max)) AS [Path],1 AS [level]
    FROM ProductSubCategory psc
    INNER JOIN Category c
    ON c.CategoryID = psc.ProductCategoryID
    WHERE psc.ParentSubCategoryID IS NULL
    UNION ALL
    SELECT psc.ProductSubCategoryID,c.CategoryName,psc.ParentSubCategoryID, psc.Name,CAST(psch.[Path] + '/' + psc.Name AS varchar(max)) AS [Path],psch.[level] + 1
    FROM ProductSubCategory psc
    INNER JOIN Category c
    ON c.CategoryID = psc.ProductCategoryID
    INNER JOIN ProdSubCat_Hiererchy psch
    ON psch.ProductSubCategoryID = psc.ParentSubCategoryID
    SELECT *
    FROM ProdSubCat_Hiererchy
    ORDER BY LEFT([Path],CHARINDEX('/',[Path]+'/')-1),[Level]
    OPTION (MAXRECURSION 0)
    Please Mark This As Answer if it helps to solve the issue Visakh ---------------------------- http://visakhm.blogspot.com/ https://www.facebook.com/VmBlogs

  • I keep getting the message Error 1722 when I install JRE.

    I keep getting the message:
    Error 1722.There is a problem with this Windows Installer package. A program run as part of the setup did not finish as expected. Contact your support personnel or package vendor.
    When I try to install this on my computer which is XP and I don't know how to get it on to my computer. I need it for an application and it won't work unless I get JRE on my computer.

    Refer to the JDK Installation Instructions. The error is discussed at the end. (The JRE Installation Instructions says refer to the JDK instructions for troubleshooting.)

  • 64-bit ColdFusion 9 ODBC drivers confusion? (architecture mismatch)

    Hi all - I'm having problems setting up ColdFusion ODBC sources in a pure 64-bit environment. Server specs:
    Windows 2008 R2 (64-bit)
    ColdFusion 9.01 (251028) Enterprise, 64-bit
    I have 64-bit ODBC drivers for all of my database sources:
    64-bit SQL Server (bundled with Windows 2008 R2)
    64-bit MS Access 2010 (with 64-bit Access ODBC driver from Office 2010 64-bit install)
    64-bit ODBC drivers for Sybase SQL Anywhere 11 (from SyBase)
    Using the (64-bit) ODBC Administrator, I can create system DSNs and they test out perfectly. (From my test Access database, I can use these DSNs to pull data from SQL Server and from SQL Anywhere.) Since this is working, I'm pretty confident that my drivers are all 64-bit and that everything is happy.
    Now for ColdFusion...
    When I try to create a new data source in the ColdFusion Administrator and I use, the "ODBC Socket" option, I am presented with a drop-down list of my 64-bit ODBC system DSNs (good!), but whenever I select one and save, I invariably get an "architecture mismatch" error like below:
    Connection verification failed for data source: MSSQLtestDatabase
    java.sql.SQLException: [Macromedia][SequeLink JDBC Driver][ODBC  Socket]internal error: The specified DSN contains an architecture mismatch  between the Driver and Application
    The root cause was that:  java.sql.SQLException: [Macromedia][SequeLink JDBC Driver][ODBC Socket]internal  error: The specified DSN contains an architecture mismatch between the Driver  and Application
    I am well aware that "architecture mismatch" errors mean that you're trying to mix 32-bit drivers with a 64-bit application (or vice-versa), but I'm pretty sure that everything in my environment is 64-bit.
    As a further test, I created a few 32-bit ODBC system DSNs and the ColdFusion Administrator does not present them as options in the drop-down list of ODBC DSNs (good!). So, it seems like the Administrator is smart enough to show only the 64-bit DSNs, but whenever you try to connect to one, it gets confused and kicks up an "architecture mismatch" error.
    So is there any obvious configuration error here? Is there a 32-bit subcomponent to ColdFusion (JDBC, etc.) that's confusing things? (I ran the ColdFusion_9_WWE_win64.exe setup downloaded from Adobe's site.) Is 64-bit ColdFusion ready for prime time? Any suggestions would be greatly appreciated. Thanks, Joe

    OK, just did a little Googling for you about this, Josie (and others). There seem to be a few alternative solutions, each with pros and cons.
    The easiest, though, may be to simply use the 32-bit (instead of default 64bit) ODBC control panel, and then again use the MS Access driver in the CF Admin (not the ODBC socket one) to point to that. This is discussed here:
    http://www.cfexecute.com/post/access-dsns-in-64bit-coldfusion
    There's also a little more that may help at the bottom of this:
    http://www.zidsoft.com/x64.html
    MS also covers the topic here:
    http://msdn.microsoft.com/en-us/library/ms712362%28VS.85%29.aspx
    Other CF-specific solutions include:
    - run CF instead in 32-bit mode (even on the 64-bit machine). See discussion at http://www.houseoffusion.com/groups/cf-talk/thread.cfm/threadid:60467
    - if you have 2 boxes available, you could run CF in 32-bit mode on one box (just for providing access to the 32-bit Access driver), then "proxy" the DSN setup from the 64-bit CF machine to access the DSN on the 32-bit machine (See http://www.coldfusionmuse.com/index.cfm/2009/4/7/MS.Access.Proxy)
    - get an alternative jdbc driver for Access (HXTT), mentioned in the threads above
    - did you happen to try the "microsoft access with Unicode" driver option in the CFAdmin? That is quite different from the one that is not "with Unicode", so worth a try if nothing else works for you.
    Let us know if any of these suit you.
    Also, I appreciate the annoyance of those who would think this should "just work" without workarounds. I think I have clarification there.
    First, the CF9 System Requirements page is unclear on this. While its systems support matrix lists 32 and 64 but windows (among others), those don't list what DBs are supported on each. Instead, there's a database support matrix at the bottom, which does indicate that Access is supported, but it doesn't break it down per OS, let alone bit-level of each OS.
    But I just found a clarificaiton in a devnet article (by an Adobe engineer) that does seem to put the nail in the coffin:
    "Most of the functionality and features of ColdFusion run just fine on 64-bit platforms, however, certain features like ColdFusion COM interoperability, ColdFusion Delphi interoperability, and Microsoft Access database connectivity do not work on a ColdFusion 64-bit platform. A few other features, such as ColdFusion .NET integration services and database drivers currently run in 32-bit mode." (http://www.adobe.com/devnet/coldfusion/articles/64_bit_print.html)
    I think most haven't noticed this or made much of it simply because Access has been eschewed by so many for so long.
    /charlie
    Providing CF troubleshooting services at carehart.org/consulting
    [email protected]

Maybe you are looking for