How to Find whether  JRE is installed in a system or not ?

I have to write an application in which I want my app to find whether jre is installed or not ?
Can any one help in this ? My E-Mail ID is
[email protected]
Kumanan.

For windows OS this is the solution.
Find out the following key in the registry.
HKEY_LOCALMACHINE/Software/javaSoft/Java Runtime Environment
if the key to javasoft is there then JRE is installed and to see the version of JRE look a level down further and you will find the versions.

Similar Messages

  • How to find whether Oracle is installed on any server or not.

    Hi,
    I am trying to use the following command to check if Oracle is installed on any Unix server or not. I am not sure whether it is right way or not. If not, is there any other way to find installation of Oracle or not?
    find . -name oraInst.loc >>/tmp/`uname -n`-swinv.txt
    Thanks
    Vipin Gupta

    Every installation of Oracle RDBMS in *nix will contain a bin directory in which you find the oracle executable which must be setuid to the 'oracle' owner.
    The inventory doesn't need to exist.
    The oraInst.log doesn;t need to exist
    The above are created when the Oracle Universal Installer has been used.
    The oratab doesn't need to exist.
    The above exists when the dbca has been used or the DBA was smart enough to plan for oraenv.
    However, every Oracle database needs the oracle executable, named oracle, in the ORACLE_HOME/bin directory, and that must be owned by a userid in the 'OS_DBA' group - usually dba. So
    find / -name oracle
    to find that, and then check whether it is in a ?/bin directory, and finally verify that it is setuid to the owner and setgid to the group.
    Of course that is the tip of the oracle iceberg - Oracle has a whale of a lot more products and the question to find whether 'Oracle' is installed might include Oracle App Server (look for opmnctl in ?/opmn/bin for the full install of Oracle App Server, or ?/bin/oc4j for just the J2EE engine) or Oracle JDeveloper (look for ?/bin/jdev) and so on.
    In Windows, append .exe to the search target.

  • How to find out jre version installed ,using a java program?

    Hello,
    Is there any way to find out the installed JRE version using a java program ?
    The requirement is as follows:
    There is a html page with 4 steps to install a software. each step is a link, which upon clicking does its work.
    the first step is to install jre 1.4.2_11 if its not installed in the system. But how can i find out whether jre 1.4.2_11 is installed or not ?
    Thanks in advance

    For the hell of it... here is a list of properties you can query:
    java.version Java Runtime Environment version
    java.vendor Java Runtime Environment vendor
    java.vendor.url Java vendor URL
    java.home Java installation directory
    java.vm.specification.version Java Virtual Machine specification version
    java.vm.specification.vendor Java Virtual Machine specification vendor
    java.vm.specification.name Java Virtual Machine specification name
    java.vm.version Java Virtual Machine implementation version
    java.vm.vendor Java Virtual Machine implementation vendor
    java.vm.name Java Virtual Machine implementation name
    java.specification.version Java Runtime Environment specification version
    java.specification.vendor Java Runtime Environment specification vendor
    java.specification.name Java Runtime Environment specification name
    java.class.version Java class format version number
    java.class.path Java class path
    java.library.path List of paths to search when loading libraries
    java.io.tmpdir Default temp file path
    java.compiler Name of JIT compiler to use
    java.ext.dirs Path of extension directory or directories
    os.name Operating system name
    os.arch Operating system architecture
    os.version Operating system version
    file.separator File separator ("/" on UNIX)
    path.separator Path separator (":" on UNIX)
    line.separator Line separator ("\n" on UNIX)
    user.name User's account name
    user.home User's home directory
    user.dir User's current working directory

  • How to find whether MI is installed in my landscape?

    Hi
    I would like to know, how/where can I check whether my landscape has mobile infrastructure components got installed or not? I've seen in sld - products where mdk all versions are there.
    Is it require to take any post installation steps for utilizing these mobile infrastructure applications?
    I was just browsing and came to know that Mobile client and server are existed. Mobile Client can be installed at Mobile devices and Laptops. Mobile server will be in WAS. Is this correct?
    Please explain in clearly.
    Thanks.

    Hi,
    Mobile 7.10 (DOE) is available with Netweaver 7.10 along with ABAP AS installation.
    Check whether you are able to assign SAP_DOE* to a user from tcode : SU01.
    Once the user is assigned, check the transaction SDOE_WB. If you see this , that means NW Mobile 7.10 is installed in your system.
    Mobile includes DOE (Data Orchestration Engine , ABAP based message oriented middleware)
    This constitutes of design time tool for defining data objects and distribution of data.
    A runtime to replicate,synchronize and distribute data between the components like Back End and Receiver of data.
    Along with DOE, Netweaver Mobile client is an additional installable unit.
    Mobile client is installed locally on mobile devices and has a webserver ,database layer and a framework for the mobile applications.
    This client framework can be seen as the default client that is shipped by SAP.
    Mobile applications can be built using the development environment NetWeaver Developer Studio .
    Regards,
    Liji

  • How to find whether the Oracle Apps Instance is ShredAppltop or not

    How shhould we find whether 11i/R12 is shared appltop/shared appstier enabled?
    Is there any table to find this info.
    How many ways we can find this?

    Hi,
    Please see this thread.
    In R12 shared appltop/distributed appltop
    In R12 shared appltop/distributed appltop
    Thanks,
    Hussein

  • How to Find whether a radiobutton is in button group or not.

    I have 6 radiobuttons.
    3 are added in buttongroup and rest not.
    I want to find whether the clicked button is added in the buttongroup or not.
    Can any one help me in finding the solution.
    Thanks in advance.

    Hi,
    AbstractButton has a method getModel that returns a ButtonModel.
    If the ButtonModel is of type DefaultButtonModel you can get the ButtonGroup by invoking getGroup. The API does not state what is returned when the button does not belong to a group, but I assume it will return null.
    Hope this helps
    Piet

  • How to programatically find whether excel is installed in a client system o

    Hi all,
    I am developing a web application and need to send the op as excell so that end user sees it in excel format..
    how could i find whether he is having excel instaled in the system or not...

    dont cross post

  • How to find whether the installed sap software is 32 bit or 64 bit?

    How to find whether the installed sap software is 32 bit or 64 bit?
    Hi Community,
    We have Windows machine - 64 bit - x64. So, we can install either 32 bit or 64 bit sap software, both are supported, right. Now, a sap system is already installed on this machine and i would like to find out whether the sap software is 32 bit or 64 bit, how can i check?
    I have already seen under Menu System - Status - Other Kernel Info & at OS level, with the command disp+work but i cant find the info iam looking for.
    Please help.
    Regards,
    Mohan.

    Hi Sunny,
    Thank you very much for your quick reply.
    Didnt know that one has to look under "Compiled for".
    Regards,
    Mohan.

  • How to find whether an Invoice is been posted for a particular PO

    Hi,
    How to find whether an Invoice is been posted for a particular PO.
    I have a scenario where I fetch data into an internal table T_CDHDR(It has PO and other details). For each and every entry(PO) in that internal table I have to see whether an Invoice is been posted or not. They told to use <b>EKBE(Purchasing document history)</b> table. But, I don't know which field to check for and based on what conditions.
    Can someone help me with sample code or some valuable inputs.
    Thanks in advance.
    Regards,
    Paddu.

    HI,
    TABLE IS RIGHT.
    IN THAT TABLE FOR THE FIELD BEWTP CHECK WHETHER ENTRY IS "Q".
    Q STANDS FOR IR-L THAT MEANS INVOICE IS DONE.
    ON THE SELECTION SCREEN OF EKBE TABLE ENTER THE PO NUMBER.
    THEN CHECK WHETHER IT HAS ENTRY FOR BEWTP 'Q'.
    YOU CAN CROSS-CHECK THIS DATA FROM TABLE WITH THAT IN ACTUAL PO IN T.CODE - ME23N.
    ENTER PO NUMBER ,THEN IN ITEM DETAILS , IN HISTORY TAB SEE FOR THAT INVOICE NO.

  • Hi guys,Explain how to find whether the user request is dialog or bc ...

    how to find whether the user request is dialog or bc or some other wp and where we can see that ?

    Hello Damodar,
    You can find out that in SM50.
    However one piece of advice. I have noticed that you are raising lots of questions about very basic questions. Either you new to SAP or dont know anything about SAP Basis and want to get in this area. Or else you are preparing for some interview. In either of these cases expecting solutions given at SDN are not going to be of much help. Better read yorself in SAP Help as most people do. SDN should not be overly used for such purposes. Basic questions are welcome but you want to learn SAP through SDN !!!
    Regards.
    Ruchit.

  • How to find whether MIRO is done for a PO

    Hi All,
    Is there any indicator attached to POs that indicates whether MIRO is done for that PO?
    I mean after PO creation in ME21N -> GR in MIGO -> Excise (if applicable) and -> MIRO... how to find whether MIRO is done for a particular PO?
    Helpful tips will be gratefully rewarded...
    Regards,
    Karthik

    See if an entry exist in EKBE for the PO Number and its items.
    The complete process though is, to find the GR Quantity for each PO Item and see if it matches with the PO Item quantity.
      SELECT EBELN
             EBELP
             MENGE
             LOEKZ
        FROM EKPO
        INTO TABLE LT_EKPO
       WHERE EBELN = P_EBELN.
      IF NOT LT_EKPO[] IS INITIAL.
        SELECT EBELN
               EBELP
               MENGE
               BEWTP
               GJAHR
               BELNR
               BUZEI
               SHKZG
          FROM EKBE
          INTO TABLE LT_EKBE
          FOR ALL ENTRIES IN LT_EKPO
         WHERE EBELN = LT_EKPO-EBELN
           AND EBELP = LT_EKPO-EBELP
           AND VGABE = '1'.
      ENDIF.
      LOOP AT LT_EKBE.
    * Change the sign of the quantity for debit
        IF LT_EKBE-SHKZG = C_SHKZG_H.
          LT_EKBE-MENGE = -1 * LT_EKBE-MENGE.
        ENDIF.
        MOVE-CORRESPONDING LT_EKBE TO LT_EKBE_SUM.
        COLLECT LT_EKBE_SUM INTO LT_EKBE_SUM.
        CLEAR LT_EKBE_SUM.
        ENDLOOP.
       loop at it_ekpo.
    ** For each line item, calculate the total GR Quanity
        READ TABLE LT_EKBE_SUM WITH KEY EBELN = LT_EKPO-EBELN
                                        EBELP = LT_AWKEY-EBELP.
        IF SY-SUBRC = 0.
    * If the PO Item Quantity is equal to GR Quantity
            IF LT_EKPO-MENGE <= LT_EKBE_SUM-MENGE.
    * The PO Item can be considered completed GRed
            ENDIF.
        ENDIF.
      ENDLOOP.

  • How to find whether my netbook is bluetooth enabled

    I want to connect to my Android Tablet via bluetooth to my netbook Aspire One running on Windows XP.
    How to find whether my netbook is bluetooth enabled ?
    K.R.Kumar

    Click Start, click Run, type bthprops.cpl, and then click OK.
    If your computer has bluetooth capabiliteis, it will launch "Bluetooth Devices". If you successfully opened Bluetooth Devices, then your computer does have Bluetooth capabilities, otherwise, it does not have...
    If it has:
    On the Options tab, click to select the Turn discovery on check box, and then click Apply. To enable Bluetooth devices to connect to your computer, click to select the Allow Bluetooth devices to connect to this computer check box, and then click OK.

  • How to find list of languages installed in the SAP system?

    Hi All,
    Please tell me, how to find list of languages installed in the SAP system?
    Thanks and Regards,
    Kumar.

    Hi Virgo Rhyme
    Hope the following info will be helpful
    3rd - SAP is the 3rd largest software company in the world
    30,000 - Total number of people employed by SAP
    5,400 - Number of programmers employed by SAP
    $7.024 billion - FY03 Revenue
    $1.077 million - FY03 Net Income
    12,000 - Number of companies using SAP
    79,800 - Number of SAP installations
    12,000,000 - Number of people using SAP
    120,000,000 - Total number of people in the 12,000 companies who are using SAP
    28 - Number of languages supported by SAP
    46 - Number of country-specific versions of SAP
    22 - Number of industry-specific versions of SAP
    1,000 - Number of pre-defined best practices contained in the SAP system
    10,000 - Number of tables requiring configuration in a full SAP implementation
    55,000 - Number of SAP experienced consultants worldwide
    28 - Number of years ago SAP was started
    Reward if helpful
    Regards
    Lakshman

  • How to find whether remote database is up or not (connected via dblink)

    Hi,
    I am using dblink to connect Biz database from Dev database.(Biz, Dev - database names)
    Running dbms job using the dblink from the Dev database to update data on Biz database...
    Problem is dbms job should run if and only if the Biz database is up for which i created the dblink...
    1) How to make sure or implement the check to find whether the Biz is database is up or not in Pl/sql or sql...
    2) How to reschedule the dbms jobs once the database is up
    pls suggest me how to find whether the database is up or not b4 running the dbms job?
    Using- Oracle 10g

    The only way to know whether the remote database is up (and whether the network between the two databases is up and whether the remote database's listener is up and whether the password configured in the database link is correct and whether the local TNS alias is correct, etc) would be to actually run a query against the remote database over the database link. In other words, the way to figure out whether the link is up is to let the job run and catch & handle exceptions when there are problems.
    By default, a job scheduled via DBMS_JOB will automatically reschedule itself if there is an unhandled exception by geometrically backing off (it waits 1 minute after the first failure, 2 minutes after the second, 4, 8, 16, 32 minutes, etc until it's marked as broken after 16 failures). You could, of course, catch appropriate exceptions and handle them in a reasonable fashion and manually reschedule jobs at intervals that make more sense for your particular job.
    Justin

  • How to find out if someone installed a keylogger on my iPad 1

    How to find out if someone installed a keylogger or malware on my iPad 1 with step by step directions for dummy's?

    Is your iPad jailbroken ? If not then I'm not aware of any malware, viruses or keylogging software that could have been installed on it.

Maybe you are looking for

  • Default password won't work...

    Hey all, So I have a Model WRT54GS wireless router.  When I go to the router site (192.168.1.1) I get a box to put in a user name and a password.  I type in "admin" for the password and user name (as is suggested in the user manual), but it does not

  • How do I delete music downloaded through iCloud on my iPhone?

    I am over capacity on my iPhone because i thought that iCloud allowed me to stream my iTunes music...I didnt know it was being downloaded on my phone! (dumb i know). So I plug it in to sync with my mac thinking that I can just take away the songs the

  • HT1848 Having trouble with transferring puchases

    iPod (5th generation) running firmware version 1.3 iTunes 11.0.1.12 Microsoft Windows 7 x64 Home Premium Edition (Build 7600) I have a new computer, I just installed ITunes, then plugged in my IPod.  I did FILE, DEVICES, Transfer Purchases from my ip

  • How to enable the List View tools tab in SharePoint Designer 2013 ?

    Customize the list view in SharePoint Designer 2013 . Unfortunately , i don't see List View Tools tab in my SharePoint Designer 2013. Even if i click anywhere in the web part code , i don't get it.

  • PDF Link Functionality

    Wasn't sure how to title this subject or even in which forum to post this, so forgive me if either is inappropriate. Is it possible to create a link in a PDF that behaves like a macro? For example, is it possible to insert a link at the bottom of a P