Unable to compile .c file which includes jni.h

I have implemented the native method in c program and saved it as JNIDemo.c.The problem is that when I compile the c file I get lots of error regarding jni.h file which I have placed inside the include dir of torbo c.Please tell me- is there any specific path setting of jni.h header file?? How to create the dll file of the JNIDemo.c?

Suggestions:
1) post the error messages
2) post the file (if small enough)
3) consider asking this in the JNI forum where you have a better chance of bumping into a JNI expert. If you do this, please have each thread refer to the other so as not to get flamed for cross-posting.

Similar Messages

  • Setup was unable to compile the file ccmclasses.mof

    First i have a access denied problem with push installation ;
    MSI: Setup was unable to create the WMI namespace CCM
    The error code is 80070005
    MSI: Warning 25101. Setup was unable to delete WMI namespace ccm\dcm
    The error code is 80070005
    Installation failed with error code 1603
    I've tried many actions include deleting repository directory and rebuilding dll and mof files ...
    Finally i've added LOCAL SERVICE, NETWORK SERVICE, and SYSTEM accounts to Local administrators group and now there is no 80070005 error.
    But i ve got a new error :)
    MSI: Setup was unable to compile the file ccmclasses.mof
    The error code is 8004402F
    MSI: Warning 25002. Failed to delete CCM_Service_ErrorHandlerRegistration.Clsid="{0F95BCE5-2209-488a-B4BC-4396AD233C8D}" from CCM
    The error code is 80041010
    Installation failed with error code 1603
    i ve almost 2000 clients with this situation and i think i lost my mind very soon.
    Any help is appreciated.

    Hi Bulent,
    Very glad to hear the issue resolved and thanks for sharing your experience, which can help other community members facing similar problems. Also, if you have any further concerns, please do not hesitate to let us know and we are happy to be of further
    assistance.
    Thanks,
    Yog Li -- Please remember to click “Mark as Answer” on the post that helps you, and to click “Unmark as Answer” if a marked post does not actually answer your question. This can be beneficial to other community members reading the thread.

  • Every time I open a pdf file which includes a javascript, a dialogue box pops up. I have a question why 'Do not show this message again' is not working even I checked on the checkbox. It should block the dialogue next time when I open the same pdf file bu

    Every time I open a pdf file which includes a javascript, a dialogue box pops up. I have a question why 'Do not show this message again' is not working even I checked on the checkbox. It should block the dialogue next time when I open the same pdf file but not working. What is the matter and how can I deal with it?

    I am trying it on Adobe Acrobat Reader 9.2.1. Tried to fix Hex code, and also tried 'edit-preference-trust manager'. I focusing on Adobe registries but still couldn't fix the problem.

  • Register XSD-Files which includes Other XSD-Files

    Hallo
    i have two XML-Schemata. One is included by the other.
    Here is an example:
    This is the XSD, which is included by the other (metadata.xsd):
    <xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" elementFormDefault="qualified">
         <!-- Metadatenbereich für das xml-Dokument selbst-->
         <xs:element name="metadata" type="metadataType">
              <xs:annotation>
                   <xs:documentation>ROOT ELEMENT von Metadata</xs:documentation>
              </xs:annotation>
         </xs:element>
         <!-- Glossar: Metadatenbereich + Glossarinhalt als Liste von Glossareinträgen -->
         <xs:complexType name="metadataType">
              <xs:sequence>
                   <xs:element ref="identifier"/>
                   <xs:element ref="category"/>
                   <xs:element ref="creator"/>
                   <xs:element ref="creation_date"/>
                   <xs:element ref="publisher"/>
                   <xs:element ref="language"/>
                   <xs:element ref="title"/>
                   <xs:element ref="basic_year"/>
                   <xs:element ref="statistic"/>
    This is the XSD, which include the other XSD (lexikon.xsd):
    <?xml version="1.0" encoding="UTF-8"?>
    <xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:xdb="http://xmlns.oracle.com/xdb" elementFormDefault="unqualified" attributeFormDefault="unqualified">
         <!-- Includieren der Metadaten-->
         <xs:include schemaLocation="metadata.xsd"/>
         <!-- ROOT Element von Lexikon-->
         <xs:element name="lexikon" type="lexikonType" xdb:defaultTable="LEXIKON">
              <xs:annotation>
                   <xs:documentation>ROOT ELEMENT</xs:documentation>
              </xs:annotation>
         </xs:element>
         <xs:complexType name="lexikonType">
              <xs:sequence>
                   <xs:element ref="metadata"/>
                   <xs:element ref="lexikonEntries"/>
              </xs:sequence>
              <xs:attribute name="lexikonKat" type="xs:integer">
                   <xs:annotation>
                        <xs:documentation>für spezielle UnterkategorienTypen zu den Lexikas</xs:documentation>
                   </xs:annotation>
              </xs:attribute>
         </xs:complexType>
         <!---->
         <!-- GLOSSAR-ELEMENTE -->
         <!---->
         <!-- ExplicationTxt-->
         <xs:element name="explicationTxt" type="explicationType"/>
         <xs:complexType name="explicationType">
              <xs:choice>
                   <xs:element ref="verweis"/>
                   <xs:element ref="txt"/>
                   <xs:element ref="para"/>
    Both documents have i copied to a webdav-folder. Now i want register the documents.
    BEGIN
    DBMS_XMLSchema.registerSchema(
    schemaurl=>'http://190.1.1.148:8080/home/DEV/xsd/lexikon.xsd',
    schemadoc=>sys.UriFactory.getUri('/home/DEV/xsd/lexikon.xsd'));
    END;
    The following error-message is displayed:
    ERROR at line 1:
    ORA-31000: Resource 'metadata.xsd' is not an XDB schema document
    ORA-06512: at "XDB.DBMS_XMLSCHEMA_INT", line 0
    ORA-06512: at "XDB.DBMS_XMLSCHEMA", line 166
    ORA-06512: at line 2
    I made the XSD-Files by XMLSpy. The Documents are well-formated and valid.
    When i make a new XML-File based ONLY (of course) on lexikon.xsd everything works fine with XMLSpy.
    How must i register these documents? Is it possible? Or can´t i register XSD-Files which includes others?
    Thank you very much
    cu
    Heidi

    Heidi,
    register the metadata.xsd first inthe same way and then register the lixikon.xsd.
    it should work.

  • I created a large Flash Pro file which includes buttons and I want to share it with others

    I created a large Flash Pro file which includes buttons and I want to share it with others. It's too big for e-mail and youtube and dropbox don't support fla files. I'm new to Flash and I would appreciate a simple solution!
    Thank you!

    Thank you! But based on the link you gave me it seems like I should only have to do step 1 since I am not trying to embed my file into a web page. After I uploaded the SWF file to the Google Drive it still will not play. It keeps opening in Adobe Device Central and won't play anything. Should I go ahead and do step 2?
    I really just want the video available to share with others. It seems like this shouldn't be very difficult.
    Thanks!

  • Unable to compile servlet files in javac

    i am unable to compile servlet *.java files in javac.as far as i can see my path is correct.
    Kindly provide a solution as soon as possible.
    My jdk1.3 is in my c drive and my tomcat in my d drive.
    if you are able to compile kindly let me know your path.
    it says symbol not resolved.i think that it is unable to import from javax

    Assuming that your jdk is in c drive as c:\jdk1.3 set the path and the classpath like as shown below. Remember that you have to set the classpath for the classes in the javax.servlet and javax.servlet.http packages. I know how to do it for JavaWebServer. JavaWebServer has a jar called servlet.jar that contains all these classes. What you need to do is to put this jar file in your classpath. There will be a similar jar file for Tomcat server also. You need to refer the Tomcat server documentation for that.
    The path and the classpath have to be set like this...
    d:\>path=%path%;.;c:\jdk1.3\bin;
    d:\>set classpath=%classpath%;.;c:\jdk1.3\lib;c:\JavaWebServer2.0\lib\servlet.jar;
    assuming tht JWS is installed in c:\JavaWebServer2.0
    Also note that there should be no spaces in between while setting the classpath. In your case you have to change the last part of the classpath to customize your requirement.
    Hope that will help.
    Regards
    Jaydeep

  • Unable to Compile .pll files in EBS R12 on PROD instance

    Hi All,
    We are facing Problem in our Prod instance. When we tried to compile pll files of any module we are not able to get compile in production, but these files easily compiled in our Test/DEV instance. We are not getting any solution from product support.
    OS version: Solaris 10
    EBS version 12.0.4 with 10.2.0.2.
    Any body please help us.

    No error message is coming up, adadmin session got hung. frmcmp_batch process are not getting killed through kill -9 command. All the times we rebooted the server to release these processes.Can you find any errors in the database log file?
    What if you move the file to any of the working instance, can you compile it then?
    Please compile it manually as per these docs and check then.
    How to Generate Form, Library and Menu for Oracle Applications (Doc ID 130686.1)
    Unable To Compile Custom Form Using Frmcmp Utility Receive FRM-91500 (Doc ID 563655.1)
    Thanks,
    Hussein

  • Problem compiling a  file which utilises a class I've created

    I am experimenting with creating my own classes. I've created my own class and I'm able to compile it. When I try to compile my test file to test the class I get a "cannot resolve symbol" error referring to where my class name is in the test file. The thing is, I've emailed the files to a friend and he is able to compile both files and subsequently run the test file. Has anyone got any ideas as to why my friend can compile the test file but I cannot?

    My XP machine is at home, so I cannot verify that. But for W2K, you can right-click on the My Computer icon, select Property. Then select Advanced tab. In the middle is Environment Variables. Click on the button to open up the User Variables and System variables. CLASSPATH is in the System Variables pane.
    XP should be similar to W2K. Give it a try.
    Hope this helps.

  • Unable to compile .jsp files with Jakarta Tomcat 5.5.3

    Hello,
    I am unable to reflect the changes that I am making in my .jsp files on my server. I am using Fedora core 4. It's like the .jsp files are not being compiled anymore. Please help! I would greatly appreciate any feedback. Thanks for your time.

    Thanks for your reply. My .jsp files where working just fine before I changed the layout of the output. Even making changes to a simple file that contains: <% out.println("Welcome to the jsp page!"); %> to the following: <% out.println("Welcome to the jsp page! Today is the day!"); %> does not work. I have cleared the browser by deleting all cookies, temp files, history, etc. The changes to my file are not being compiled. I thought that in JSP 2.0 changes to your files where compiled automatically. Am I missing something? Please help!

  • Unable to compile .ear file with an operation that returns an array

    Hi
    God, hopefully someone can help me.....
    I have a web service that has various operations, one of which is attempting to return an array of strings. I am declaring a complextype in the WSDL that should functions as the array like this:
    <schema.....
    <element name="result" type="string"/>
    <complexType name="searchResponseElement">
    <sequence>
    <element ref="tns:result" maxOccurs="unbounded"
    minOccurs="0"/>
    </sequence>
    The error I receive is utterly vague, just saying ' compilation error occurred' when I go to deploy the ear file. I did have this working with another methos of declaring an array i.e.
    <schema...
    <complexType name="searchResponseElement">
    <complexContent>
    <restriction base="soap11-enc:Array">
    <attribute ref="soap11-enc:arrayType" wsdl:arrayType="xsd:string[]"/>
    </restriction>
    </complexContent>
    </complexType>
    But, I was trying to consume the webservice in an APEX application and that method did not return a tree structure that APEX was able to handle.
    I really am losing my mind over this as I've had the same type of definition working before. Please, anyone - any clues???

    I answered this question that you also posted on stackoverflow.com.

  • Unable to execute a file which is shown to exist by ls

    Like I said, ls reports the file as existing, colors the filename green showing it's an executable, which was confirmed by `ls -l`. Normal file manipulation such as rm, mv, cp, etc all seem to work. Bash can not execute the file, reporting it as non-existant, and sh can't execute it either.
    It might be a permissions issue but I doubt it, the file's permissions are as follows: All can read, only the owner can execute, write, AND read.
    The file along with the others in the directory were extracted from a zip archive by the latest version of unzip (as pulled from the arch repos).
    Last edited by eulallia1 (2009-07-01 13:08:38)

    mcmillan wrote:gconf isn't a library file. It should probably work using the 64bit version of it, so pacman -S gconf
    Oh, thank you. I'm not entirely used to linux yet, even though I've used it for months.
    Well I'm having a different issue now at the moment. lib32-nss is installed but chrome is reporting an error stating that it's elf-class is ELFCLASS64, so the library is 64-bit. Where do I find the 32-bit nss Library (locally, as lib32-nss was installed by pacman)? At first, chrome threw an error because it couldn't find libnss3.so.1d, so I copied libnss3.so as libnss3.so.ld.
    (Edit)
    I fixed that issue.
    Chrome is now throwing an error before execution (before it was because it couldn't handle the 64-bit libraries so I had to copy the 32-bit versions from /opt/lib32/), about libgconf-2.so.4, because it is 64-bit. This may sound like a repeat of the issue before but it truly is not. This time, due to ambiguous naming conventions I can not replace the library it is complaining about because it is in a sense, a necessity. Things could quite easily go wrong if I replaced it with a 32-bit library just to satiate chrome.
    In short, Is there some prefix path variable or something, thus eliminating chrome's constant checks of /usr/lib and instead redirecting them to /opt/lib32?
    Because I believe I've heard of a variable which contains colon separated library directories for applications to check through but I can't remember what it was called, just that it was a part of ldconfig.
    Finally, (hopefully after this question and the prior question, there won't be anymore ),
    is there a way to install a 32-bit version of libdbus-glib? E.g., using make to compile a 32-bit version. (Edit: Compiling the latest dbus-glib doesn't work, as online forums seem to say that a 32-bit version 'libc9' (ubuntu forums) is necessary. Glibc is installed in both 32-bit and 64-bit versions on this system)
    Last edited by eulallia1 (2009-07-01 17:33:59)

  • Unable to compile mof files.

    When i am trying to run mofcomp -check file, it gives me error:
    Mofcomp fails with error 0X8004400c .
    Not sure about this error, plz help?
    Configuration.mof
    #pragma namespace ("\\\\.\\root\\cimv2")
    #pragma deleteclass("Radmin", NOFAIL)
    [DYNPROPS]
    Class Radmin
    [key] string KeyName;
    Boolean 1[];
    [DYNPROPS]
    Instance of Radmin
    KeyName="Radmin";
    [PropertyContext("Local|HKEY_LOCAL_MACHINE\\SOFTWARE\\Wow6432Node\\Radmin\\v3.0\\Shared\\Parameters\\XferParam\\1|1"),Dynamic,Provider("RegPropProv")] 1;
    #pragma namespace ("\\\\.\\root\\cimv2")
    #pragma deleteclass("Radmin_64", NOFAIL)
    [DYNPROPS]
    Class Radmin_64
    [key] string KeyName;
    Boolean 1[];
    [DYNPROPS]
    Instance of Radmin_64
    KeyName="Radmin";
    [PropertyContext("Local|HKEY_LOCAL_MACHINE\\SOFTWARE\\Wow6432Node\\Radmin\\v3.0\\Shared\\Parameters\\XferParam\\1|1"),Dynamic,Provider("RegPropProv")] 1;
    Sms_def.mof:
    #pragma namespace ("\\\\.\\root\\cimv2\\SMS")
    #pragma deleteclass("Radmin", NOFAIL)
    [SMS_Report(TRUE),SMS_Group_Name("Radmin"),SMS_Class_ID("Custom|Radmin|1.0"),
    SMS_Context_1("__ProviderArchitecture=32|uint32"),
    SMS_Context_2("__RequiredArchitecture=true|boolean")]
    Class Radmin: SMS_Class_Template
    [SMS_Report(TRUE),key] string KeyName;
    [SMS_Report(TRUE)] Boolean 1[];

    Hello Jason,
     MOFCOMP -check on both files did not turn up any errors.  Also did not see any errors in the dataldr.log file when I put them in. but now
    Hardware Inventory not available in Actions.
    Also i'm getting error in policyagent.log:
    Failed to trigger policy evaluation for CCM_Policy_Policy4.PolicyID="{e254f489-177f-4526-8342-7a51c2d90561}",PolicySource="SMS:RTP",PolicyVersion="12.00"
    Failed to apply policy rule {1212f5e9-0507-4706-ba68-d8bd5529c526}. PolicyAgent_PolicyEvaluator 12/16/2014 5:11:57 PM 3436 (0x0D6C)
    The policy CCM_Policy_Policy4.PolicyID="{e254f489-177f-4526-8342-7a51c2d90561}",PolicySource="SMS:RTP",PolicyVersion="12.00" failed to compile. State has been set to 'Error' and policy will be rolled back. PolicyAgent_PolicyEvaluator
    7/30/2008 5:11:56 PM 3436 (0x0D6C)
    Failed to update policy CCM_Policy_Policy4.PolicyID="{e254f489-177f-4526-8342-7a51c2d90561}",PolicySource="SMS:RTP",PolicyVersion="12.00" PolicyAgent_PolicyEvaluator 12/16/2014 5:11:57 PM 3436 (0x0D6C)
    I reverted back to the default MOFs and that fixed the issue.
    Any ideas, this inventory is turning out to be a pain?

  • Unable to access pdf files which were previously accessable.

    I have discovered a direcotry of PDF files that are archives of documents produced and accessable normally with even a reader version of Adobe. I have accessed these files easilly and without issue in the past. I have tried to access some of these documents today and they are all unaccessable.
    They are located on a network drive in one directory and its subdirectories.

    The message was
    "Acrobat could not open ........ because it is either not a supported file type or because the file has been damaged (for example, it was sent as an email attachment and wasn't correctly decoded).
    To create an Adobe PDF document, go to the source application. Then print the document to Adobe PDF"

  • Unable to find MP4 file which is loaded into the nano

    i bought a 6th gen nano.. and copied a MP4 file over via iTunes.. it went through..
    but after that, i cannot seem to find the MP4 file..
    can anyone help to tell me, how can i find the MP4 file? [even if i cannot view, then can i delete it?]
    thanks.

    Ok just search some support documenst here and they say how to do it for older models so I assume its ok.
    *_DO IT AT YOUR OWN RISK IF YOUR NOT SURE TAKE IT TO APPLE_*
    Un plug your Ipod for computer.
    Hold "Volume -" then "Standby button" then "Volume +"
    Keep holding all 3 till you get to Ipods diagnostic mode.
    Select "Standby" power button is the enter key.
    Tap standby button again and you will see the apple logo
    As soon as you see it hold both Vol - and Vol + at the same time.
    Hold them till you get a very generic looking " OK to disconnect" screen
    Connect ipod to computer
    Your now in disk mode.
    _IVE ONLY DONE THIS WITH WINDOWS AND HAVE LESS THE ZERO EXP WITH A MAC_
    Once again if your unsure _JUST TAKE IT TO APPLE_
    Make sure you follow proper methods to eject the Ipod before you disconnect it.
    Message was edited by: run-mofo

  • Finder unable to find some file which actually exist?

    My problem is .. I tried to look up several photo through Finder search function, I am sure they existing under Pictures and when I browse into Pictures. I see them there for sure.
    But no matter how many time i tried to put their name for search, Finder only able to pick up the thumbnail that generated by iphoto but not the original photo in my folder.
    I also tried to:
    1. re-index
    2. delete plist file for finder and spotlight
    still not working.
    I also tried to move the file to external hard disk to see if finder will pick it up.. but not
    the only way that finder will pick up the file again is.. either re-name it.. or save-as another copy.. then finder can finally pick that up.
    Is that something to do with the file permission on my file?? they are just ordinary photo file that imported by iphone.
    pls help

    The reason I asked what OS you are using is that you have not updated your Public Profile and still show that you are running 10.4.8 - Hate to waste time with useless suggestions.
    Anyway, are you searching for the names of the files as they are named by your camera or a title that you are assigning in iPhoto?
    If you are searching for a title that you've added to a photo then you need to do that from within iPhoto. Adding Titles doesn't change the original file name that Spotlight tracks, it just's adds a metatag that can be read, filtered, and searched for in iPhoto.

Maybe you are looking for

  • Font problem

    Hi, i am using reports 6i on windows. the generated pdf files have corrupted fonts so i have tried changing the font property in the report builder. but whether i change the font to Times New roman, times new roman turkish or arial & save, the select

  • What kind of software do I need to instal for AVI format?

    I cannot see AVI format movies from Windows ,so I need to know which is the best solution to solve this problem!

  • CLDC + MIDP

    Hello, I receive an error message (2 actually) that I don't understand. It occurs after preverifying a class file. (I followed the exact instructions from J. Muchows book: Core J2ME) compiling goed fine... preverify results in: Error preverifying cla

  • Insufficient Privilage?

    Hi all, I have some questions regarding the system privilege. Also I would like to thank you for your help in advance. In environment 1, I have a Win2k Sever and a Oracle 9i. I put my NT login under the DBA group in NT security. However, I still cann

  • Unable to Load Groups Launchpad

    Hi All,   When I hit Fiori Launchpad I got the error as show in Image.   Please find the attachment for error messge.   Kindly advice. Thanks, Babu Tags edited by: Michael Appleby