Under what circumstances JNI_CreateJavaVM will return 0

Hello all,
Can any one please tell me "under what cicumstances JNI_CreateJavaVM returns 0" ?
The following code segment returns 0.
when I try to debug the code segment using VC++ 6.0. jdk 1.4.1 ON WINDOWS 2000 Prof. The debugger first shows status = -1 but once JNI_CreateJavaVM is executed the status changes to 0.
// ----- code segment ----------------
JavaVMOption options[3];
JavaVMInitArgs vm_args;
JavaVM *jvm;
JNIEnv *env;
options[0].optionString = "-Djava.compiler=NONE";
options[1].optionString = "-Djava.class.path=CLASSPATH";
options[2].optionString = "-verbose:jni";
vm_args.version=JNI_VERSION_1_4;
vm_args.options = options;
vm_args.nOptions = 3;
vm_args.ignoreUnrecognized = JNI_FALSE;
int status = -1;
status = (jint)JNI_CreateJavaVM(&jvm, (void**)&env, &vm_args);
if (status < 0)
printf("\nERROR : Creating JVM with status : %d.\n");
else if (status == JNI_ERR)
     printf("\nERROR : Creating Java Virtual Machine (JVM).\n");
else if (status == 0)
printf("\nJVM status is 0.\n\n");
else
printf("\nVM is created.");
Please help I could not get any clue.
Thanks.

Hello folks,
Now it is ok, it was not ststus=0 but it was some junk number
forget it

Similar Messages

  • Hi, I am getting a warning message on screen, saying that my iPad hasn't been backed up for 2 weeks, and saying under what circumstances the message appears. My problem is, is that I have backed up iCloud, but am unable to remove the warning.

    Hi,
    I am getting a warning message on screen, saying that myiPad hasn't been backed up to iCloud for two weeks, and advising under what circumstances the message appears. My problem is, is that I have backed it up, but am unable to remove the message, and whilst the message is there, the iPad is frozen, and I cannot do anything.
    Has any other user had such a problem, and if so, how did they rectify it.
    Any advice would be greatly appreciated.
    Thanks in advance.
    clarinet99

    Try this.
    Reboot the iPad by holding down on the sleep and home buttons at the same time for about 10-15 seconds until the Apple Logo appears - ignore the red slider if it appears on the screen - let go of the buttons. Let the iPad start up

  • If I have two undo tablespace, under what situation oracle will use another

    if I have two undo tablespaces, under what situation oracle will use another
    one is default undo tablespace, another is created manually
    will it use it when the default one is full?
    it seem like to be it won't use the second undo tablespace.
    thanks
    Edited by: user11402556 on Jul 3, 2010 2:18 PM

    You can have two Undo Tablespaces created with the CREATE UNDO TABLESPACE syntax.
    However, the current database instance will use the Undo Tablespace specified by the instance level parameter undo_tablespace.
    When you want to switch the datafiles of an undo tablespace from, say, one mount point to another (or when you want to "resize" an undo tablespace that has grown very large for specific one-off / adhoc jobs), you would create another undo tablespace, reset the instance level parameter to the new undo tablespace and wait for a decent interval (e.g. at least undo_retention or autotuned undo retention) before dropping the old undo tablespace.
    So yours is not a hypothetical question. Having two undo tablespaces is a real-world practice -- but the two are concurrently present for only a short duration, while transactions and queries switch from one to the other.
    (In RAC, each database instance must have it's own Undo tablespace as well).
    Hemant K Chitale

  • Under what circumstances will my iPhone be taken off the list of devices on find my iPhone app?

    My iPhone 5 and my iPad was all listed on find my iPhone app until this week I noticed my phone is no longer listed.  I checked the setting on my phone and everything seems to be turned on.

    It is possible to remove an iOS device from the find my iPhone list...
    http://support.apple.com/kb/PH2702
    I would go through the process of setting up the feature again to resume using the service...
    http://support.apple.com/kb/PH2697

  • Under what circumstances are recursion more efficient than loops

    Although recursion do provide a cleaner code and often suggests a more interesting approach to a problem, it nonetheless is relatively more resource consuming for solving some of the more novice programming feats (such as facorial calculation or binary conversion). Can somebody give me an example of a more practical and efficient use of recursion?

    Can somebody give me an example
    of a more practical and efficient use of recursion?What do you mean by practical or efficient? Most tree traversal implementations are recursive since it's much easier to traverse trees using recursion.
    Kaj

  • Samples Not Acquired on NI 660x or NI 6624 Devices When using pulse width, semi-period or two-edge separation buffered measurements with the NI 660x and NI 6624 on counters 0 and 1, some samples may not be acquired under certain circumstances.

    In the DAQmx 9.4 Readme the following is stated:
    Samples Not Acquired on NI 660x or NI 6624 Devices When using pulse width, semi-period or two-edge separation buffered measurements with the NI 660x and NI 6624 on counters 0 and 1, some samples may not be acquired under certain circumstances.
    Could anyone elaborate on this? I am particularly interested in knowing under what circumstances this problem arises for the 6602 PCI devices.
    How should I understand 'NI 660x and NI 6624 on counters 0 and 1'. Is it only a problem on counter 0 and 1 for the 660x or does this only apply for the 6624 devices.
    /mola 

    Are there any NI Product Support Engineers out there who has an answer to this question and who are willing to share it with me?

  • PB00 conditon type in PO with document type NB-under what condition?

    Hi,
    Can anyone tell me under what circumstances PB00 condition type appears in a standard purchase order (doc. type NB) ?
    My understanding is condition records in Inforecord & contracts are always PB00,i.e. time dependant.
    & condition records in RFQs & Scheduling agreements can be made PB00 or, PBXX (time independant) through SPRO settings.
    I thought that condition type in a PO has to always be PBXX ,i.e time independant but when I create this particular PO, condition type PB00 gets populated!
    Please advise.
    Thanks,
    Kaveri

    you have worng understanding about the PB00 and PBxx conditon
    PB00 will come to PO if you have created info record or if you are creating PO reference to contract, RFQ or SA.
    but when you create the PO and there is no info record is created than system will defualt the PBxx conditon becuse the system search first all the access sequence and does not find Pb00 in than it will populate PBXX conditon
    you can review in the PO how the system is determine the condition
    to do that click on the conditon tab and hit analysis
    here the right side you will see conditon record found for PB00 andleft side youwill see from where the system find the conditon by opening the arrow.
    If po has PBXx than you want see any access seq on left

  • In what circumstance i can ask for replacement or full refund money when it is under warranty?

    In what circumstance i can ask for replacement or full refund money when it is under warranty?

    Other than the return period the Apple Store offers if you purchased from them, 14 days for most of the year and longer during the holidays, there is no official written policy on returning any Mac or getting a replacement. The official terms of the warranty is that Apple will repair a defective Mac.
    If your Mac has suffered repeated instances of the same failure for which Apple has been unable to provide a permanent fix, in some cases Apple Customer Relations has agreed to replacing the Mac. This is taken solely on a case-by-case basis and only when there have been repeated failures and is absolutely not guaranteed. Otherwise Apple will repair the system as stated in the warranty terms. I've never heard of Apple authorizing a refund outside of their standard return period.
    Regars.

  • I try to go to itunes to see how much I  m spent on itunes and app store and I can not and tries several times! I was told that they charged me wrong and I will return the money as they will do in what way? I need to know how much I have spent urgent plea

    I try to go to itunes to see how much I  m spent on itunes and app store and I can not and tries several times! I was told that they charged me wrong and I will return the money as they will do in what way? I need to know how much I have spent urgent plea

    You can sign into the iTune Store and check your Purchase History.
    http://support.apple.com/kb/ht2727

  • Return what ? IS IF UPDATE (Column_name) parameter in a trigger definition will return TRUE ?

    The IF UPDATE (Column_name) parameter in a trigger definition will return TRUE in case of an INSERT statement being executed on the triggered table: 
    Which option is correct ?
    a. YES
    b. NO
    c. It returns TRUE only if an UPDATE query is executed
    d. Both b and c

    See MSDN: UPDATE() (Transact-SQL)
    "Returns a Boolean value that indicates whether an INSERT or UPDATE
    attempt was made on a specified column .."
    Olaf Helper
    [ Blog] [ Xing] [ MVP]

  • Under what circmustances, is BodyContent null?

    Hi,
    I got a problem with BodyContent in my custom tag. I created the class that extends BodyTagSupport, and I use bodyContent object, which is a field of BodyTagSupport, in doEndTag method.
    The problem is "bodyContent is always null." Why is that? Does somebody tell me, under what circumustances, bodyContent is null? And how can I get bodyContent object appropriately?
    thanks.

    Body content refers to what is between your start/end tags of your custom tag.
    ie
    <my:tag>This is some body content</my:tag>
    So obviously you need to put something in the body before getBodyContent() will return anything.

  • Am I Entitled To A New iPod Under These Circumstances.

    First of all, Hi guys I'm new to these forums I hope that I help you all as I hope you can answer some of my queries
    I'm a fanatic Apple Fan, I have bought over 6 different iPod, just bought the new iMac 20inch 2.4ghz and have purchased loads of other extra software and hardware.
    __Right here is my question...__
    I purchased the new iPod nano 3rd gen PRODUCT(RED) 8GB from the apple website about 40 days ago, I also got my name on the back (If this changes anything). The iPod was in my bag and unfortunately later when getting it out, I discovered that there was a crack in the screen, the was a black mark across the screen caused by the crack. Although the product still turns on and does play music It is very difficult to navigate around the nano and I cannot see what is playing.
    I was not please with the product overall and I would prefer to swap the product back in and pay the extra $100 and get the iPod touch.Under the circumstances, with apples free 90 day protection, am I entitled to do so? If not what "damages" would the iPod have to of sustained to be entitled to the swap?
    ALSO: What number must I phone to speak to someone who I could explain the situation and I could arrange the exchange (if possible) or discuss other options. (im located in the UK)
    Thanks Guys for all your help

    The warranty doesn't cover accidental damage, it covers manufacturing defects. I think it's unlikely that Apple will accept that it was defective since it wasn't cracked when you received it. I suspect they'll put this down to accidental damage that occurred while the iPod was in your bag. However you can contact them and see what they say, you'll get contact information for the UK and Ireland on this page: Contacting Apple

  • I have a iMac (20-inch, Mid 2009). On start up It will sit at the White screen with the logo and the wheel that spins under it. It will not go past this point? Any ideas?

    I have a iMac (20-inch, Mid 2009). On start up It will sit at the white screen with the logo and the wheel that spins under it. It will not go past this point? Any ideas?

    Question (?) Mark, Blinking Folder, or Gray Screen at Startup
    These are related but not identical issues. Their causes are outlined in Intel-based Mac- Startup sequence and error codes, symbols. Solutions may be found in:
    A flashing question mark appears when you start your Mac
    Mac OS X- Gray screen appears during startup
    In most cases the problems may be caused by one or more of these:
    a. Problem with the computer's PRAM - See Resetting your Mac's PRAM and NVRAM.
    b. Boot drive's directory has been corrupted - Repair with Disk Utility.
    c. Critical system files are damaged or deleted - Reinstall OS X.
    d. The disk drive is physically non-functional - Replace the hard drive.
    Note that the information I have provided is what Apple recommends, If other users suggest different solutions than found here, then be sure what they recommend does not impact on your warranty, if any, or ability to get continuing Apple service.
    Please don't start removing drives or changing cables unless you know what you are doing and have exhausted other non-invasive alternatives outlined here. If you perform any work yourself that is unapproved by Apple, then you will void any warranty you may have and lose all further Apple Support.
    Repair the Hard Drive and Permissions
    Boot from your Snow Leopard Installer disc. After the installer loads select your language and click on the Continue button. When the menu bar appears select Disk Utility from the Utilities menu. After DU loads select your hard drive entry (mfgr.'s ID and drive size) from the the left side list.  In the DU status area you will see an entry for the S.M.A.R.T. status of the hard drive.  If it does not say "Verified" then the hard drive is failing or failed. (SMART status is not reported on external Firewire or USB drives.) If the drive is "Verified" then select your OS X volume from the list on the left (sub-entry below the drive entry,) click on the First Aid tab, then click on the Repair Disk button. If DU reports any errors that have been fixed, then re-run Repair Disk until no errors are reported. If no errors are reported click on the Repair Permissions button. Wait until the operation completes, then quit DU and return to the installer.
    If DU reports errors it cannot fix, then you will need Disk Warrior and/or Tech Tool Pro to repair the drive. If you don't have either of them or if neither of them can fix the drive, then you will need to reformat the drive and reinstall OS X.
    The main difference if you are using Lion or Mountain Lion is that you must first boot from the Recovery HD. Simply boot from the Recovery HD to perform the above.
    Reinstall Snow Leopard Without Erasing The drive
    1. Repair the Hard Drive and Permissions
    Boot from your Snow Leopard Installer disc. After the installer loads select your language and click on the Continue button. When the menu bar appears select Disk Utility from the Utilities menu. After DU loads select your hard drive entry (mfgr.'s ID and drive size) from the the left side list.  In the DU status area you will see an entry for the S.M.A.R.T. status of the hard drive.  If it does not say "Verified" then the hard drive is failing or failed. (SMART status is not reported on external Firewire or USB drives.) If the drive is "Verified" then select your OS X volume from the list on the left (sub-entry below the drive entry,) click on the First Aid tab, then click on the Repair Disk button. If DU reports any errors that have been fixed, then re-run Repair Disk until no errors are reported. If no errors are reported click on the Repair Permissions button. Wait until the operation completes, then quit DU and return to the installer.
    If DU reports errors it cannot fix, then you will need Disk Warrior and/or Tech Tool Pro to repair the drive. If you don't have either of them or if neither of them can fix the drive, then you will need to reformat the drive and reinstall OS X.
    2. Reinstall Snow Leopard
    If the drive is OK then quit DU and return to the installer.  Proceed with reinstalling OS X.  Note that the Snow Leopard installer will not erase your drive or disturb your files.  After installing a fresh copy of OS X the installer will move your Home folder, third-party applications, support items, and network preferences into the newly installed system.
    Download and install Mac OS X 10.6.8 Update Combo v1.1.
    Reinstalling Lion/Mountain Lion Without Erasing The Drive
    Boot to the Recovery HD: Restart the computer and after the chime press and hold down the COMMAND and R keys until the menu screen appears. Alternatively, restart the computer and after the chime press and hold down the OPTION key until the boot manager screen appears. Select the Recovery HD and click on the downward pointing arrow button.
    Repair the Hard Drive and Permissions: Upon startup select Disk Utility from the main menu. Repair the Hard Drive and Permissions as follows.
    When the recovery menu appears select Disk Utility. After DU loads select your hard drive entry (mfgr.'s ID and drive size) from the the left side list.  In the DU status area you will see an entry for the S.M.A.R.T. status of the hard drive.  If it does not say "Verified" then the hard drive is failing or failed. (SMART status is not reported on external Firewire or USB drives.) If the drive is "Verified" then select your OS X volume from the list on the left (sub-entry below the drive entry,) click on the First Aid tab, then click on the Repair Disk button. If DU reports any errors that have been fixed, then re-run Repair Disk until no errors are reported. If no errors are reported click on the Repair Permissions button. Wait until the operation completes, then quit DU and return to the main menu.
    Reinstall Lion/Mountain Lion: Select Reinstall Lion/Mountain Lion and click on the Continue button.
    Note: You will need an active Internet connection. I suggest using Ethernet if possible because it is three times faster than wireless.

  • What html code will start an EXE (program) with a click on a webpage link?

    The code in bold below worked. After I switched my browser from IE 11 to Firefox to get the hover on hotspots to work, the program gave me this error message. I moved the EXE file to my local file folder and tried it as shown below. Still no success. Any suggestions?
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    <html xmlns="http://www.w3.org/1999/xhtml">
    <head>
    <title>Family Tree Charts</title>
    <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" /><style type="text/css">
    <!--
    body,td,th {
        color: #000;
    -->
    </style></head>
    <body link=blue vlink=blue>
    <table width="100%" height="25" border="0" cellpadding="4" cellspacing="0">
      <tr>
        <td width="93%" height="27" bgcolor="#EFEFEF"> <div align="center"><font color="#999999">
        <b>This Software Allows You To Review Neat Charts of Your Family Tree </b></font></div></td>
        <td width="7%" bgcolor="#CCFFFF"> <div align="center"><A href="Mementos_Menu.html"><font size="2">Back</font></a></div></td>
      </tr>
    </table><BR><center>
    <br>
    <FONT color=#ff00ff><strong>Click the link below to download a special software program for your PC.</strong></FONT><br>
    <br>
    <a href="http://jdmcox.com/"><strong>Cox Website</strong></a><br><br>
    <strong>ITEM 1</strong> (AT THIS  WEBSITE) IS  THE <strong>FAMILY TREE CHART</strong> PROGRAM.<br>
    It is called <strong>Simple Family Tree</strong><br>
    <table width="80%" border="2" cellspacing="2" cellpadding="2">
      <tr>
        <td width="49%" align="left" valign="top"><FONT color=#ff00ff><strong>Click the link below to use this special software program after you download and install the program.</strong></FONT><br>
    <br>
    <!--<a href="C:\Program Files (x86)\Simple Family Tree\Simple Family Tree.exe"><strong>Family Tree Charts Program by Doug Cox</strong></a><br><FONT color=#ff00ff>
    -->
    <a href="C:\Users\Tom and Polly\Documents\Genealogy CD\Simple Family Tree\Simple Family Tree.exe"><b>Family Tree Charts Program</b></a><br><br>
    <FONT color=#ff00ff><strong>Click  the &quot;run&quot; button for both warning messages.<br>
    Click the &quot;READ THIS!&quot; menu option when the program opens.<br>
    Click  "X" in the upper right to close the program.<br><br>
    You can update the family data in future years with this program too.</strong></FONT>
    <br></td>
        <td width="51%" align="left" valign="top"><FONT color=#ff00ff><strong>NOTE 1: Be sure your HTML code for this webpage has a proper line to link to the location where the software was installed. You can use NOTEPAD to make HTML code changes. My existing line is: </strong></FONT><br>
          "c:\<u>program files (x86)</u>\simple family tree\simple family tree.exe"<br><br>
          <FONT color=#ff00ff><strong>The underlined portion will need to agree with where the program was installed. Just change the directory (see underlined sample above). Good luck. If I am still living, call me.<br><br>
          NOTE 2: After you download, install, and try to use the program, you may get an error message window that looks like this -&quot;0 FAMS @F191 @ FAM&quot;. This means you have an individual record in your GEDCOM file that does not have a parent. Be sure all GEDCOM records have at least one parent even if you must name the parent UNKNOWN.</strong></FONT></td>
      </tr>
    </table>
    <br></center> 
    <table width="100%" border="0" cellpadding="2" cellspacing="0" bgcolor="#CCCCCC">
        <tr>
          <td bgcolor="#EFEFEF"> <font size="2">&copy;2002 Sales and People</font></td>
        </tr>
    </table></body>
    </html>

    Herbert:
    Here is my latest code attempt, but I get messages about the lines in BOLD that I do not understand.
    Perhaps you will see what I need to fix. Sure appreciate what you have found and shared with such a neophyte (aka dumbo).
    Tom
    <!--
    body,td,th
    -->
    function RunExe(path) {
    try {
    var ua = navigator.userAgent.toLowerCase();
    if (ua.indexOf("msie") != -1) {
    MyObject = new ActiveXObject("WScript.Shell")
    MyObject.Run(path);
    } else {
    netscape.security.PrivilegeManager.enablePrivilege("UniversalXPConnect");
    var exe = window.Components.classes['@mozilla.org/file/local;1'].createInstance(Components.interfaces.nsILocalFile);
    exe.initWithPath(path);
    var run = window.Components.classes['@mozilla.org/process/util;1'].createInstance(Components.inteinterfaces.nsIProcess);
    run.init(exe);
    var parameters = ["/c start Simple Family Tree.exe"];
    run.run(false, parameters, parameters.length);
    } catch (ex) {
    alert(ex.toString());
    This Software Allows You To Review Neat Charts of Your Family Tree
    Back
    Click the link below to download a special software program for your PC and your GED file.
    *Cox Website*
    ITEM 1 (AT HIS  WEBSITE) IS  HIS FAMILY TREE CHART PROGRAM.
    It is called Simple Family Tree
    Click the link below to look at my GEDCOM file contents.<br>Instructions are provided in the READ THIS menu option at the top of the window.
      *Show Yarnall Chart*
    *Return to this webpage by clicking on the backarrow after looking at the chart.
    You can update the family data in future years with this program too.*
    ©2002 Sales and People
    Date: Thu, 2 Jan 2014 02:09:18 -0800
    From: [email protected]
    To: [email protected]
    Subject: What html code will start an EXE (program) with a click on a webpage link?
        Re: What html code will start an EXE (program) with a click on a webpage link?
        created by Herbert2001 in Dreamweaver support forum - View the full discussion
    Perhaps this might be helpful:
    https://addons.mozilla.org/en-US/firefox/addon/opendownload-10902/
    It allows executables in Firefox to be run - it is an extenstion, though, so it must be installed in Firefox before your page will work.
    Another option is this solution, but it will still require a manual change in Firefox:
    http://forums.mozillazine.org/viewtopic.php?f=19&t=803615
    Or this: http://stackoverflow.com/questions/6472435/running-exe-in-firefox-why- do-i-get-an-error
    However, you will still have problems with getting it to work cross-browser. Honestly, browsers are not supposed to have access like that to the client side file system, which absolutely makes sense for the web.
    That is why you may have to approach the solution from a different angle - perhaps create a server side cloud version of your application(s) which can be easily accessed and run by your family members. I believe you used C to develop the applications? Although I have no experience with this framework, Wt might be a solution to convert your projects to server side applications:
    http://www.webtoolkit.eu/wt
    Good luck!
         Please note that the Adobe Forums do not accept email attachments. If you want to embed a screen image in your message please visit the thread in the forum to embed the image at http://forums.adobe.com/message/5972893#5972893
         Replies to this message go to everyone subscribed to this thread, not directly to the person who posted the message. To post a reply, either reply to this email or visit the message page: http://forums.adobe.com/message/5972893#5972893
         To unsubscribe from this thread, please visit the message page at http://forums.adobe.com/message/5972893#5972893. In the Actions box on the right, click the Stop Email Notifications link.
               Start a new discussion in Dreamweaver support forum at Adobe Community
      For more information about maintaining your forum email notifications please go to http://forums.adobe.com/thread/416458?tstart=0.

  • HT201415 After a months of stable work my new IPad suddenly denies to find cell network under any circumstances.Please advice if anyone familiar with that problem?

    After a months of stable work my new IPad suddenly denies to find cell network under any circumstances.Please advice if anyone familiar with that problem?

    It sounds like there are a couple things going on here.  First check if you have a successful install of SQL Server, then we'll figure out the connection issues.
    Can you launch SQL Server Configuration Manager and check for SQL Server (MSSQLSERVER) if default instance or SQL Server (other name) if you've configured your instance as a named instance.  Once you find this, make sure the service is started. 
    If not started, try to start it and see if it throws an error.  If you get an error, post the error message your hitting.  If the service starts, you can then launch SSMS and try to connect.  If you have a default instance, you can use the machine
    name in the connection dialog.  Ex:  "COWBOYS" where Cowboys is the machine name.  However, if you named the SQL Server instance during install, you'll need to connect using the machine\instance format.  Ex:  COWBOYS\Romo (where Romo
    is the instance name you set during install).
    You can also look at the summary.txt file in the SQL Server setup error logs to see what happened on the most recent install.  Past install history is archived in the log folder if you need to dig those up to help troubleshoot, but the most
    recent one may help get to the bottom of it if there is an issue with setup detecting a prior instance that needs to be repaired.
    Thanks,
    Sam Lester (MSFT)
    http://blogs.msdn.com/b/samlester
    This posting is provided "AS IS" with no warranties, and confers no rights. Please remember to click
    "Mark as Answer" and
    "Vote as Helpful" on posts that help you. This can be beneficial to other community members reading the thread.

Maybe you are looking for