• RELEVANCY SCORE 3.48

    DB:3.48:Compilation Of Jni Programs 77




    Hi there,

    am getting the following errors when compiling my JNI programs.

    HOME cc -I/opt/java1.3/include -I/opt/java1.3/include/hp-ux -L/opt/java1.3/jre/lib/PA_RISC2.0/libjava.sl -ljava invoke.c
    cc: "invoke.c", line 34: warning 604: Pointers are not assignment-compatible.
    cc: "invoke.c", line 34: warning 563: Argument #2 is not the correct type.
    /usr/ccs/bin/ld: Can't find library: "java"

    The invoke.c program is from http://java.sun.com/docs/books/tutorial/native1.1/invoking/invo.html
    Have set my CLASSPATH to include the *.h and libjava.sl files. Am using JVM 1.3.1 on HU-UX.

    Appreciate any help here. Thank you.

    - Sakthi

    DB:3.48:Compilation Of Jni Programs 77

    hi there,

    tks for the reply.

    But from the JNI tutorial, when invoking the JVM from a native program, there is no need to create a header file.

    But, I get the same error when the header file is created.

    - sakthi

  • RELEVANCY SCORE 3.40

    DB:3.40:Calling Jni Function cx




    I do have a question:

    there are two possibilities to make a JNI call,

    i.e. in C:
    jsting jstr = (*env)-NewStringUTF(env, "");

    or in C++:
    jsting jstr = env-NewStringUTF("");

    when i compile using (gcc, g++ respectively) the first line produces an
    base operand of `-' has non-pointer type `JNIEnv_'
    error while the compilation with the second line works without any problem.

    there are many example programs that use the syntax of the first line, but how does one get these things to work?

    DB:3.40:Calling Jni Function cx

    env is defined as follows:

    JNIEnv *env;

    sure, i could use the other syntax but as the most examples in the web use the syntax as denoted in the first line i thought that it should work too. otherwise i would have to replace the syntax in these programs.

  • RELEVANCY SCORE 3.05

    DB:3.05:Using Jni? pc




    Hello all,
    I am writing a program that has to set focus in different applications. The only way i found to do this so far, is by simulating the alt+tab keys but its not realy a safe way to do this. I know that it would be possible to set focus on the different programs by using some of windows API, but from what i have read so far, i need to use JNI. I have been reading and cant seem to find a good example of how to use the JNI or even how it works.

    Dose anybody have a clue on where i could get some good information, or if anybody knows of a way to setfocus without having to use the JNI it would be even better.

    Thanks alot

    DB:3.05:Using Jni? pc

    1) Please don't resurrect dead threads. If you have a question, start a new thread.
    2) You will likely have a better response if you ask this in the JNI forum and if you use code tags.
    3) A JNI C++ method gets parameters passed by value just like a Java method. So just as a Java method with the same signature cannot change the values of the double parameters, (I believe) neither can the C++ method. Why not have the JNI method return an object with the required information?

  • RELEVANCY SCORE 3.04

    DB:3.04:Any Limitations Regarding Number Of Jni Functions Used? x8


    Are there any limitations regarding the number of JNI functions used?
    Is there any performance\footprint\other issue when using over 500 JNI functions?
    Thanks you
    Noa.

    DB:3.04:Any Limitations Regarding Number Of Jni Functions Used? x8

    Noa111 wrote:
    Thank you for your prompt reply! I'm acutally not aiming at a computer platform, but an embedded mobile device one. I'm currently at the design phase and trying to figure out whether its good practice to use a large number of JNI functions (over 500) or it may have some performance\footprint implications that needs to be considered. I couldn't find any such warning in JNI docuemntation.. Myself the first question I would ask would be whether the mobile device allows JNI at all.

  • RELEVANCY SCORE 3.02

    DB:3.02:Debug C++ Code And Jni 9d


    Hi,
    I am getting "0xC0000005: Access Violation" in my C++ code which is part of DLL.
    I call C++ methods using JNI from Java.
    Is there any way to debug C++ code (DLL) while calling it thru JNI.
    I use Visual C++ to compile and generate DLLs.

    Thanks,
    Ashish

    DB:3.02:Debug C++ Code And Jni 9d

    This question has been asked before: http://forum.java.sun.com/thread.jsp?forum=31thread=238390

  • RELEVANCY SCORE 2.96

    DB:2.96:Jni Jlong jj


    What native data type doest JNI used for "jlong?" I do

    printf("%ld", jlong_value) and gets warning of incompatible type by gcc compiler.

    DB:2.96:Jni Jlong jj

    thanks for the pointer.

    %lld works on Linux. I did't know "long long int" exist in c and supported by printf ;)

  • RELEVANCY SCORE 2.89

    DB:2.89:Jace c7


    Hi Folks,

    I'd like to officially announce the 1.0.3a release of Jace.

    Jace is a free, open-source toolkit and library designed to make it easier for software engineers to develop JNI programs. JavaWorld, http://www.javaworld.com, is running an article about Jace, where you can get a better idea about what it does. You can also visit the Jace homepage at, http://jace.reyelts.com/jace

    God bless,
    -Toby Reyelts

    DB:2.89:Jace c7

    Is that good or bad?

    God bless,
    -Toby Reyelts

  • RELEVANCY SCORE 2.89

    DB:2.89:Why Jni? f3


    I've talked to several people. Some people say that they would never use JNI. They say CORBA is the better way to go? Is this true? Would you always want to use CORBA instead of JNI? What are some instances that JNI would be good for?

    DB:2.89:Why Jni? f3

    Using JNI you can throw exceptions directly from C++ into java and many other things that are not possible via CORBA. JNI can easily be retrofitted onto existing code. You can also use JNI to expose a Java Module to C++ just as easily.

    JNI is usually pretty painful to write by hand. For example, to throw an exception, you'd have to write something like: jclass exClass = env-FindClass( "com/foo/MyException" );
    jmethodID constructor = env-GetMethodID( exClass, "init", "(Ljava/lang/String;)V" );
    jstring msg = env-NewStringUTF( "My exception!" );
    jobject exception = env-NewObject( constructor, msg );
    env-Throw( exception );And that doesn't even include error handling or reference management. On the other hand, there are tools (like Jace) that make this stuff trivial. For example: throw MyException( "My exception!" );I'd say that the OP has been talking to people who haven't used a good JNI tool. In general, you're probably 10x more productive with Jace then straight JNI, because you write about 1/10th the amount of code, the code itself is easier to write, and it is more typesafe (which means you have less debugging to do later).

    As the other posters have mentioned, the benefits you gain from using JNI (over say CORBA) is much tighter and flexible integration and orders of magnitude speed improvements. JNI with a toolkit is also much easier to design and develop with as compared to writing a new CORBA layer for your native code. For example, nobody would write a CORBA layer to access OpenGL. Instead, we all use java4gl (well - jogl nowadays) which are purely JNI bindings.

    God bless,
    -Toby Reyelts

    Check out the free, open-source, JNI toolkit, Jace - http://jace.reyelts.com/jace

  • RELEVANCY SCORE 2.87

    DB:2.87:Using Stl 'List' In Jni sf


    How do I use the Standard Template Library's 'list' template(of gcc) in JNI? Any small piece of code will help. Thanks.

    DB:2.87:Using Stl 'List' In Jni sf

    thanks but what i meant was that which interface/class in Java wud be apt when i have a Cpp class that uses 'list' from gcc STL so I may achieve interaction between the two classes

  • RELEVANCY SCORE 2.85

    DB:2.85:Java Native Interface (Jni) To Oracle Service Bus Connectivity 87


    Hi All,We have a legacy database and it's functionalities are exposed by some C/C++ API programs. Our requirement is to make use of those APIs and integrate it with Oracle Service Bus (ESB of Oracle Fusion Middleware)/BPEL As of now, those C/C++ APIs have been compiled into a library and been called from a JNI JAVA class. So as per the JNI concepts, the java class is simply calling the native methods which are implemented in C/C++, by calling that library.Here is the sample of one implementation:public class DatabaseConnector {public native String establishConnection( String ServerName, String UserName, String Password );static { System.loadLibrary(LIBRARRY_NAME);}public static void main(String[] args) { DatabaseConnector dbconn = new DatabaseConnector(); String result = dbconn.establishConnection(args[0], args[1], args[2]); System.out.println("Result of Connection Establishment: " + result);}}LIBRARY_NAME (libLIBRARY_NAME.so) contains the all native method implementation for creating connection, refreshing connection, sending message etc.Now, what is the best possible way to incorporate this functionality of JNI into a Oracle Service Bus/BPEL?Legacy Db -- C/C++ API -- JNI JAVA -- ? -- OSB/BPELIs it really possible to write some session bean in EJB based on this JNI? I understand, EJB standards are against loading native libraries directly into Java class, like JNI does.Is it possible to write any custom JCA adapter for this? What are the possible areas I need to address then?Any other possible way which you think would be suitable one?There is a requirement of scheduling as well. Like a connection refresh method has to be called every X minutes to keep the connection open. Topology wise there is no restriction of running the native code and Weblogic container on same machine.Any suggestions highly appreciated. Let me know if you need more information.Regards,Bhaskar

    DB:2.85:Java Native Interface (Jni) To Oracle Service Bus Connectivity 87

    Thanks Vlad for this idea. I will mark the thread as closed now, will come back if any further question comes during development. Thanks,Bhaskar

  • RELEVANCY SCORE 2.82

    DB:2.82:Java - Jni zx


    How to call methods of windows dll (tapi.dll) from java ?

    DB:2.82:Java - Jni zx

    Write a JNI wrapper. Or buy/acquire a 3rd party java library that already does it for you.

  • RELEVANCY SCORE 2.82

    DB:2.82:Creating Shared Library Of Native Method Implementation Using Gcc mj


    Hi
    I am using Dev-C++ IDE for writing and compiling C Programs. It supports gcc.
    I have to build a shared library of a native method implementation using gcc compiler.
    In JNI tutorial build script is given for VC++ which is as follows
    cl -Ic:\java\include -Ic:\java\include\win32
    -LD HelloWorldImp.c -Fehello.dll

    Similarly I wanted build script for gcc compiler.

    Thanks
    Shailesh

    DB:2.82:Creating Shared Library Of Native Method Implementation Using Gcc mj

    Here is an example of building a library from one module with CygWin's gcc:
    # Must set JAVA_HOME and LIBRARY_MODULE before
    gcc -mno-cygwin -D__int64="long long" -I $JAVA_HOME/include/win32 -I $JAVA_HOME/include -shared -Wl,--kill-at -o $LIBRARY_MODULE.dll $LIBRARY_MODULE.c

  • RELEVANCY SCORE 2.81

    DB:2.81:Can Ramdisk Raise My Compilation Speed? 1x


    I am new to .NET programming. I found that compilation of some really SMALL programs are already very SLOW. It is said that many intermediate files is created and accessed during the compilation. And the harddisk, does too much work.
     
    So can I do some setting to put the intermediate file into RAM (if I use ramdisk), which will be faster?
     
    Anyone has any experience?
    Thanks.

    DB:2.81:Can Ramdisk Raise My Compilation Speed? 1x


    For fast compiles try this companies RAMDISK.
    http://www.superspeed.com/

    No matter what you try there is little that will be faster than this for a variety of reasons.
    1. Compiling causes fragmentation of your disk and only the best cache can help this.
    2. Your hardisk is big and the cache isn't tuned to your compiling. Therefore the cache doesnt consider your compiled files any more important than IE temp files.
    3.Once you do have to go to disk, you have to go through the hardware bus X, where ramdisk is local.

    Superspeeds software will let 32bit OS access extra memory.
    I run 64bit Windows 7 and have 12GB. 5GB are compile space.
    SuperSpeed's ramdisk automatically, saves and restores on reboots.
    The only downside is unexpected power loss, and I have a UPS.
    For over night, code lives in source control and every night I shelve my code just in case of power failure.

    Other than this.. the big advantage or a ramdisk is consistantly fast compile times!
    Caches can be fast some times.. but sometimes they are not.
    Ramdisk is always fast!
    I watch my disks with Drive meter and its weirds compiling a big solution (69 projects total ) and not seeing or hearing the hardisk at all.
    Also, remember to move your temp folder to the ramdisk also, because visual studio uses this location for compiler temp files.
    Hope this helps someone.

    Christopher

  • RELEVANCY SCORE 2.81

    DB:2.81:Not Able To Create Vm ss


    When invoking the JNI after successful compilation on solaris, it gives

    ld.so.1: dmpro: fatal: libjvm.so: open failed: No such file or directory
    Killed

    Any ideas... abt the problem...

    -Ranjan

    DB:2.81:Not Able To Create Vm ss

    Hi,
    Make sure that the native library resides in one of the directories in the native library path. On Solaris uses LD_LIBRARY_PATH;
    in shell sh/ksh type:
    LD_LIBRARY_PATH=/$JAVADIR/lib
    export LD_LIBRARY_PATH
    in C shell:
    setenv LD_LIBRARY_PATH /$JAVADIR/lib

    Fabio

  • RELEVANCY SCORE 2.80

    DB:2.80:Jni jp


    We are trying to integrate JNI code with our jsp and servlets.
    When we run the servlet ,it comesup with an error of Unsatisifed link error.

    Do we need to set up any path for the JNI class.?????

    Thanks for any help in advance,

    DB:2.80:Jni jp

    There are several possible problem areas:

    1.By default, if you run an application using external execution from the IDE, it leaves all of your environment variables untouched. This would include %PATH% (Win32) / $LD_LIBRARY_PATH (Unix) which is used to control JNI library loading. (The IDE lets you specify environment variables on the external executor, in the Expert tab, but
    beware that due to a restriction in Java if you do so, you must specify all of them that you want, as it will not just append your changes to the IDE's own environment variables.)

    2.If you were relying on the *.dll (*.so) files being in your working directory when running the program, probably this will not work within the IDE. (If using JDK 1.3 you can explicitly request a working directory from the executor, but it is better to just set your binary path properly in the first place.)

    3.To specify Java system properties (as opposed to environment variables), use the normal -D flag to the Java command, in the external executor's process template. But I don't think -Djava.library.path=... would work anyway, you probably need to use %PATH%/$LD_LIBRARY_PATH when starting Java.

    If you think (1) is not working--that is, that you have your path set right and it comes out wrong only when executed from within the IDE--then you can test for it. In the main() method of your app, print a list of system properties (System.getProperties). See if java.library.path is set correctly when run from the command line but not from the IDE. If not, then file a bug in category "openide" on http://www.netbean s.org/

  • RELEVANCY SCORE 2.79

    DB:2.79:Problems With Javah 7k


    Hi,
    I'm starting with JNI.
    I've created the .java file. I've compiled it with javac.

    The problems start when I use javah.
    How should I specified the classpath of the class file?
    Let's supose, once the compilation has finished, the .class file is in C:\myproject\build\classes\myproject.class

    I've changed the classpath like this: C:\myproject\build\classes;.

    So, I execute: javah myproject

    But it says it doesn't find the class.

    I would appreciate any help.

    Thanks in advance.

    DB:2.79:Problems With Javah 7k

    Hi,
    I'm starting with JNI.
    I've created the .java file. I've compiled it with javac.

    The problems start when I use javah.
    How should I specified the classpath of the class file?
    Let's supose, once the compilation has finished, the .class file is in C:\myproject\build\classes\myproject.class

    I've changed the classpath like this: C:\myproject\build\classes;.

    So, I execute: javah myproject

    But it says it doesn't find the class.

    I would appreciate any help.

    Thanks in advance.

  • RELEVANCY SCORE 2.78

    DB:2.78:Problems In Helloworldimp.C Compilation 98


    Hi I'm newbie to this JNI.

    i wrote a sample program "HelloWorld.java" as guided in sun's jni tutorial. but when i come to creating shared libraries step i'm getting error like

    [root@B138 JNI]# cc -G -I/opt/j2sdk_nb/j2sdk1.4.2/include -I/opt/j2sdk_nb/j2sdk1.4.2/include/linux \HelloWorldImp.c -o libhello.so cc: unrecognized option `-G' /usr/lib/gcc-lib/i386-redhat-linux/3.2.2/../../../crt1.o(.text+0x18): In function `_start': ../sysdeps/i386/elf/start.S:77: undefined reference to `main'
    collect2: ld returned 1 exit status

    actually i'm doing this under redhat linux 9. and using j2sdk1.4.2 i installed j2sdk-1_4_2-nb-3_5_1-bin-linux.bin (j2sdk + netbeans pack) and installed in /opt/j2sdk_nb directory. all my java programs are working normally. no probs with them.

    actually i don't know what that -G and -I options will do. i tried "cc --help" but no option like -G so i just experiment with some more possibilities like .. and their outputs

    [root@B138 JNI]# gcc -G -I/opt/j2sdk_nb/j2sdk1.4.2/include -I/opt/j2sdk_nb/j2sdk1.4.2/include/linux \HelloWorldImp.c -o libhello.so gcc: unrecognized option `-G' /usr/lib/gcc-lib/i386-redhat-linux/3.2.2/../../../crt1.o(.text+0x18): In function `_start': ../sysdeps/i386/elf/start.S:77: undefined reference to `main'
    collect2: ld returned 1 exit status

    [root@B138 JNI]# gcc -g -I/opt/j2sdk_nb/j2sdk1.4.2/include -I/opt/j2sdk_nb/j2sdk1.4.2/include/linux \HelloWorldImp.c -o libhello.so /usr/lib/gcc-lib/i386-redhat-linux/3.2.2/../../../crt1.o(.text+0x18): In function `_start': ../sysdeps/i386/elf/start.S:77: undefined reference to `main'
    collect2: ld returned 1 exit status

    every time i'm getting this error...i don't know how to solve this...should i include main function in that HelloWorlsImp.c file?.

    I know this might be a silly thing.. but as a newbie i don't know what to do.
    plz help me... Vali

    DB:2.78:Problems In Helloworldimp.C Compilation 98

    Try:
    cc -shared -I/...

    With the option -I you tell the compiler where to look for the files jni.h and jni_md.h

  • RELEVANCY SCORE 2.77

    DB:2.77:Compliation Issue With Java 1.5 kc


    Following Compilation warning is seen only with Java 1.5 for the code using JNI -

    --------------
    /sw/CRFS/solaris2.8-sunpro5.3/THIRDPARTY_SUNSTUDIO9/0_0_3/bin/SUNWspro/prod/bin/stdlibfilt -stderr /tmp/c++filt.27205.1.err
    ld: warning: file /share/prime/JDK/jdk1.5.0_06/jre/lib/sparc/libjvm.so: section .SUNW_dof has invalid type 0x6ffffff4
    rm /tmp/c++filt.27205.1.err

    sgs36a-0032 [share/prime/JDK/jdk1.5.0_06/jre/lib/sparc]#dump -Cv libjvm.so | egrep SUNW_dof
    [8037] 0x535f50 54756 OBJT LOCL 2 15 __SUNW_dof

    -------------------
    Whereas no such warning with Java 1.4.2. Can anyone help me in getting rid of this or any thoughts.

    DB:2.77:Compliation Issue With Java 1.5 kc

    I've just run into this same issue. Did you find a solution?

  • RELEVANCY SCORE 2.77

    DB:2.77:[Jni: Java To C Connectivity] .So File Creation From G++ 98


    Hello Everyone,
    I am trying to run a simple JNI based example taken from JNI's specifications. I am running it on a Fedora OS based server. All the steps go fine but when I try to make a .so file from the C code, I get an error.

    I took the compilation command from the JNI specifications again. That command is for Solaris OS: cc -G -I/java/include -I/java/include/solaris
    HelloWorld.c -o libHelloWorld.so

    I have updated the command just to replace cc with g++ because I have g++ installed on the server.

    The error is:
    =============================================================
    -bash-3.1# g++ -G -I/opt/jdk1.6.0_24/include -I/opt/jdk1.6.0_24/include/linux HelloWorld.c -o libHelloWorld.so
    HelloWorld.c:10:2: warning: no newline at end of file
    /usr/lib/gcc/i386-redhat-linux/4.1.1/../../../crt1.o: In function `_start':
    (.text+0x18): undefined reference to `main'
    collect2: ld returned 1 exit status
    =============================================================

    Would you please guide how I can successfully compile the C code and make a .so file to be able to call C code from Java.

    Thanks Regards,
    Ahsan

    DB:2.77:[Jni: Java To C Connectivity] .So File Creation From G++ 98

    Well, you've specified the NAME of your .so file, not the path to it: don't put the filename in the java.library.path

    I would recommend commenting out all references to the JNI code, recompile and see if

    java HelloWorld

    works first. ONce you've got that, just uncomment the cladd to loadLibrary() and make sure that compiles and runs

    then uncomment calls into the JNI and see if that works

  • RELEVANCY SCORE 2.77

    DB:2.77:Jni Support For Oci Driver jj


    Oracle documentation at:
    http://oradoc.photo.net/ora816/java.816/a81354/overvw5.htm#1000980

    claims that the release 8.1.6 OCI JDBC driver supports JNI, but that is not the case.

    What is the status of JNI support for the OCI driver? My company is prepared to help Oracle test or even implement JNI support.

    Rock Howard
    CTO
    Tower Technology Corporation
    rock@twr.com
    null

    DB:2.77:Jni Support For Oci Driver jj

    Oracle documentation at:
    http://oradoc.photo.net/ora816/java.816/a81354/overvw5.htm#1000980

    claims that the release 8.1.6 OCI JDBC driver supports JNI, but that is not the case.

    What is the status of JNI support for the OCI driver? My company is prepared to help Oracle test or even implement JNI support.

    Rock Howard
    CTO
    Tower Technology Corporation
    rock@twr.com
    null

  • RELEVANCY SCORE 2.76

    DB:2.76:Jni Driver For Solaris 10 md


    Hi

    Is JNI driver still supported in solaris 10. I have problem with one of my box because im having a drvier unknown type error.

    Please help.

    DB:2.76:Jni Driver For Solaris 10 md

    even though it says unknown, you can just hit enter and it gets installed. I hasn't given us any problem doing this.

  • RELEVANCY SCORE 2.76

    DB:2.76:Re: Jni Not Detecting Nullpointerexception 8s



    Any ideas?Most likely you have a memory problem in your JNI
    code. It is messing up the application itself, and
    the exhibited behavior that you see it the result (but
    not the problem.)That's what I thought too and I am doing more testings on it.

    You are of course checking return values on all of
    your JNI calls. And also checking for exceptions in
    any JNI call that 'calls' java correct?My JNI code does not "call" java at all. It works sort like one way only. The JNI code creates a C++ object and returns the address of this object to Java. Next time, the JNI code will get this address using GetFieldID/GetLongField and casts it back to the object it points to and performs some functions. The return values of JNI calls are mostly primitives, nothing fancy. I made sure no null is returned from JNI calls.

    DB:2.76:Re: Jni Not Detecting Nullpointerexception 8s

    Best guess then...

    Try your code (the reduced sample) with some different versions of the JVM. 14.1 and 1.3.x would be good.

    If the problem goes away with one of them then it is at least more likely that this is a bug in the JVM (or at least not in your code.)

    If it shows up in all versions then one of the following is likely.
    - Something is wrong in SQL library.
    - Somehow you are using the SQL library incorrectly - perhaps a compiler option is wrong.

  • RELEVANCY SCORE 2.76

    DB:2.76:Rmi &Amp; Jni xk


    Does anyone out there have an example of code that uses both RMI and JNI?? Please post it if you do.

    DB:2.76:Rmi &Amp; Jni xk

    You might want to be more specific.

    For instance if you want JNI code then go to the Native Methods forum. For RMI go to the Remote Method Invocation forum.

    I would guess that you want RMI used in JNI. It isn't all that difficult once you understand JNI and RMI seperately.

  • RELEVANCY SCORE 2.76

    DB:2.76:I Use Jni Or Jna ad


    Hello every body
    I have a C application, which I want to add a java wraper.

    I had an idea to do it with 'JNI'
    But when I began to see it, I found a link 'JNA is easier to use'.
    I have no idea of JNA.it is better than JNI?
    What is the difference between 'JNI' and 'JNA'
    I want some idea please.
    Thank you in advance.

  • RELEVANCY SCORE 2.75

    DB:2.75:Jni Problem,,, Working Sommetimes ,,,Not Working Sometimes 8d


    hi everyone,
    i have a simple jni program that i am trying to run,,,i got the intitial code on the web,,,
    the main function of the c++ jni method is to load a external dictionary.
    code

    JNIEXPORT jboolean JNICALL Java_jniexample_validUser( JNIEnv *env, jclass cls, jstring user )
    {

    jboolean retVal= JNI_FALSE;
    void *dict=NULL;

    dict = loadDict();
    //my other codes, now all commented
    closeDict(dict);
    return retVal;
    }this code works sometimes ,,,sometimes it dosent ...i mean sometimes the program loads the dict sometimes it dosen't ... what might be the problem?

    btw,, how can i debug jni programs..

    thank in advance
    -prakash

    DB:2.75:Jni Problem,,, Working Sommetimes ,,,Not Working Sometimes 8d

    prakash0104 wrote:
    it is a big dictionary that takes about 10 sec to work. if it doesnt load, the program terminates immediately..That suggests to me that it terminates, not that it doesn't load. And the code that you posted does not
    demonstrate how it exits.

    I suggest you either debug, log or use println to determine specifically what is happening.

  • RELEVANCY SCORE 2.75

    DB:2.75:Ne10 Header Include Errors sf



    Hello,

    I'm trying to integrate NE10 into an application for Android. The version I downloaded was projectNe10-Ne10-v1.1.2-0-g75740a7.zip from the project ne10 website. I followed the instructions to create libNE10.a using this script :

    #!/bin/bash

    export ANDROID_NDK=/Users/my_user/android-ndk-r9d

    export ANDROID_API_LEVEL=18

    export ARM_ANDROID_TOOLCHAIN_VERSION=4.8

    export ANDROID_TOOLCHAIN_PATH=/Users/my_user/android-ndk-r9d/toolchains/arm-linux-androideabi-4.8/prebuilt/darwin-x86_64/bin

    mkdir build cd build

    cmake -DCMAKE_TOOLCHAIN_FILE=/Users/my_user/android-ndk-r9d/sources/projectNe10/android/android_config.cmake -DNE10_ENABLE_MATH=ON

    make

    I put the libNE10.a in projectNE10/lib in my JNI folder and copied the "inc" folder from the projectNE10 directory to projectNE10/include in my JNI folder.

    I have added the library to my Android project by adding the following in my Android.mk:

    include $(CLEAR_VARS)

    LOCAL_MODULE := libNE10

    LOCAL_SRC_FILES := projectNE10/lib/libNE10.a

    include $(PREBUILT_STATIC_LIBRARY)

    And I added the header files to my project by adding the following in my Android.mk:LOCAL_C_INCLUDES += $(LOCAL_PATH)/projectNE10/include

    I have used this exact format for using ffmpeg and it works. However, with NE10 when I add #include "NE10.h" or #include "NE10_math.h" I get a ton of errors and the project does not compile.

    If anyone can tell me what I am doing wrong or how to get rid of these errors that would really help me out! Thanks.

    Here are the errors:

    expected '=', ',', ';', 'asm' or 'attribute' before 'asm' NE10_math.h /test/jni/test-jni/projectNE10/include line 87 C/C++ Problem

    expected '=', ',', ';', 'asm' or 'attribute' before 'asm' NE10_math.h /test/jni/test-jni/projectNE10/include line 566 C/C++ Problem

    expected '=', ',', ';', 'asm' or 'attribute' before 'asm' NE10_math.h /test/jni/test-jni/projectNE10/include line 1080 C/C++ Problem

    expected '=', ',', ';', 'asm' or 'attribute' before 'asm' NE10_math.h /test/jni/test-jni/projectNE10/include line 99 C/C++ Problem

    expected '=', ',', ';', 'asm' or 'attribute' before 'asm' NE10_math.h /test/jni/test-jni/projectNE10/include line 1109 C/C++ Problem

    expected '=', ',', ';', 'asm' or 'attribute' before 'asm' NE10_math.h /test/jni/test-jni/projectNE10/include line 542 C/C++ Problem

    expected '=', ',', ';', 'asm' or 'attribute' before 'asm' NE10_math.h /test/jni/test-jni/projectNE10/include line 1058 C/C++ Problem

    expected '=', ',', ';', 'asm' or 'attribute' before 'asm' NE10_math.h /test/jni/test-jni/projectNE10/include line 554 C/C++ Problem

    expected '=', ',', ';', 'asm' or 'attribute' before 'asm' NE10_math.h /test/jni/test-jni/projectNE10/include line 1069 C/C++ Problem

    expected declaration specifiers before 'asm' NE10_math.h /test/jni/test-jni/projectNE10/include line 75 C/C++ Problem

    storage class specified for parameter 'ne10_abs_vec2f' NE10_math.h /test/jni/test-jni/projectNE10/include line 1170 C/C++ Problem

    storage class specified for parameter 'ne10_abs_float_asm' NE10_math.h /test/jni/test-jni/projectNE10/include line 1162 C/C++ Problem

    storage class specified for parameter 'ne10_add_vec2f_asm' NE10_math.h /test/jni/test-jni/projectNE10/include line 138 C/C++ Problem

    expected '=', ',', ';', 'asm' or 'attribute' before 'asm' NE10_math.h /test/jni/test-jni/projectNE10/include line 137 C/C++ Problem

    expected '=', ',', ';', 'asm' or 'attribute' before 'asm' NE10_math.h /test/jni/test-jni/projectNE10/include line 1161 C/C++ Problem

    storage class specified for parameter 'ne10_abs_float_c' NE10_math.h /test/jni/test-jni/projectNE10/include line 1160 C/C++ Problem

    storage class specified for parameter 'ne10_add_vec2f_c' NE10_math.h /test/jni/test-jni/projectNE10/include line 136 C/C++ Problem

    storage class specified for parameter 'ne10_abs_vec3f' NE10_math.h /test/jni/test-jni/projectNE10/include line 1181 C/C++ Problem

    storage class specified for parameter 'ne10_abs_vec2f_asm' NE10_math.h /test/jni/test-jni/projectNE10/include line 1173 C/C++ Problem

    storage class specified for parameter 'ne10_add_vec3f_asm' NE10_math.h /test/jni/test-jni/projectNE10/include line 150 C/C++ Problem

    expected '=', ',', ';', 'asm' or 'attribute' before 'asm' NE10_math.h /test/jni/test-jni/projectNE10/include line 149 C/C++ Problem

    expected '=', ',', ';', 'asm' or 'attribute' before 'asm' NE10_math.h /test/jni/test-jni/projectNE10/include line 654 C/C++ Problem

    expected '=', ',', ';', 'asm' or 'attribute' before 'asm' NE10_math.h /test/jni/test-jni/projectNE10/include line 1172 C/C++ Problem

    storage class specified for parameter 'ne10_abs_vec2f_c' NE10_math.h /test/jni/test-jni/projectNE10/include line 1171 C/C++ Problem

    storage class specified for parameter 'ne10_add_vec3f_c' NE10_math.h /test/jni/test-jni/projectNE10/include line 148 C/C++ Problem

    expected '=', ',', ';', 'asm' or 'attribute' before 'asm' NE10_physics.h /test/jni/test-jni/projectNE10/include line 113 C/C++ Problem

    storage class specified for parameter 'ne10_add_float' NE10_math.h /test/jni/test-jni/projectNE10/include line 123 C/C++ Problem

    expected '=', ',', ';', 'asm' or 'attribute' before 'asm' NE10_physics.h /test/jni/test-jni/projectNE10/include line 104 C/C++ Problem

    expected '=', ',', ';', 'asm' or 'attribute' before 'asm' NE10_math.h /test/jni/test-jni/projectNE10/include line 111 C/C++ Problem

    expected '=', ',', ';', 'asm' or 'attribute' before 'asm' NE10_math.h /test/jni/test-jni/projectNE10/include line 1120 C/C++ Problem

    storage class specified for parameter 'ne10_abs_float' NE10_math.h /test/jni/test-jni/projectNE10/include line 1159 C/C++ Problem

    storage class specified for parameter 'ne10_add_vec2f' NE10_math.h /test/jni/test-jni/projectNE10/include line 135 C/C++ Problem

    storage class specified for parameter 'ne10_add_float_asm' NE10_math.h /test/jni/test-jni/projectNE10/include line 126 C/C++ Problem

    expected '=', ',', ';', 'asm' or 'attribute' before 'asm' NE10_math.h /test/jni/test-jni/projectNE10/include line 125 C/C++ Problem

    expected '=', ',', ';', 'asm' or 'attribute' before 'asm' NE10_math.h /test/jni/test-jni/projectNE10/include line 1131 C/C++ Problem

    storage class specified for parameter 'ne10_add_float_c' NE10_math.h /test/jni/test-jni/projectNE10/include line 124 C/C++ Problem

    expected '=', ',', ';', 'asm' or 'attribute' before 'asm' NE10_math.h /test/jni/test-jni/projectNE10/include line 690 C/C++ Problem

    expected '=', ',', ';', 'asm' or 'attribute' before 'asm' NE10_math.h /test/jni/test-jni/projectNE10/include line 1223 C/C++ Problem

    expected '=', ',', ';', 'asm' or 'attribute' before 'asm' NE10_math.h /test/jni/test-jni/projectNE10/include line 720 C/C++ Problem

    expected '=', ',', ';', 'asm' or 'attribute' before 'asm' NE10_math.h /test/jni/test-jni/projectNE10/include line 1235 C/C++ Problem

    storage class specified for parameter 'ne10_abs_vec4f' NE10_math.h /test/jni/test-jni/projectNE10/include line 1192 C/C++ Problem

    storage class specified for parameter 'ne10_abs_vec3f_asm' NE10_math.h /test/jni/test-jni/projectNE10/include line 1184 C/C++ Problem

    expected '=', ',', ';', 'asm' or 'attribute' before 'asm' NE10_math.h /test/jni/test-jni/projectNE10/include line 161 C/C++ Problem

    expected '=', ',', ';', 'asm' or 'attribute' before 'asm' NE10_math.h /test/jni/test-jni/projectNE10/include line 666 C/C++ Problem

    expected '=', ',', ';', 'asm' or 'attribute' before 'asm' NE10_math.h /test/jni/test-jni/projectNE10/include line 1183 C/C++ Problem

    storage class specified for parameter 'ne10_abs_vec3f_c' NE10_math.h /test/jni/test-jni/projectNE10/include line 1182 C/C++ Problem

    storage class specified for parameter 'ne10_abs_vec4f_asm' NE10_math.h /test/jni/test-jni/projectNE10/include line 1195 C/C++ Problem

    expected '=', ',', ';', 'asm' or 'attribute' before 'asm' NE10_math.h /test/jni/test-jni/projectNE10/include line 678 C/C++ Problem

    expected '=', ',', ';', 'asm' or 'attribute' before 'asm' NE10_math.h /test/jni/test-jni/projectNE10/include line 1194 C/C++ Problem

    storage class specified for parameter 'ne10_abs_vec4f_c' NE10_math.h /test/jni/test-jni/projectNE10/include line 1193 C/C++ Problem

    expected '=', ',', ';', 'asm' or 'attribute' before 'asm' NE10_math.h /test/jni/test-jni/projectNE10/include line 775 C/C++ Problem

    expected '=', ',', ';', 'asm' or 'attribute' before 'asm' NE10_math.h /test/jni/test-jni/projectNE10/include line 1307 C/C++ Problem

    expected '=', ',', ';', 'asm' or 'attribute' before 'asm' NE10_math.h /test/jni/test-jni/projectNE10/include line 787 C/C++ Problem

    expected '=', ',', ';', 'asm' or 'attribute' before 'asm' NE10_math.h /test/jni/test-jni/projectNE10/include line 1318 C/C++ Problem

    old-style parameter declarations in prototyped function definition NE10_math.h /test/jni/test-jni/projectNE10/include line 75 C/C++ Problem

    expected '=', ',', ';', 'asm' or 'attribute' before 'asm' NE10_math.h /test/jni/test-jni/projectNE10/include line 733 C/C++ Problem

    expected '=', ',', ';', 'asm' or 'attribute' before 'asm' NE10_math.h /test/jni/test-jni/projectNE10/include line 1247 C/C++ Problem

    expected '=', ',', ';', 'asm' or 'attribute' before 'asm' NE10_math.h /test/jni/test-jni/projectNE10/include line 746 C/C++ Problem

    expected '=', ',', ';', 'asm' or 'attribute' before 'asm' NE10_math.h /test/jni/test-jni/projectNE10/include line 1278 C/C++ Problem

    expected '=', ',', ';', 'asm' or 'attribute' before 'asm' NE10_math.h /test/jni/test-jni/projectNE10/include line 319 C/C++ Problem

    expected '=', ',', ';', 'asm' or 'attribute' before 'asm' NE10_math.h /test/jni/test-jni/projectNE10/include line 1368 C/C++ Problem

    expected '=', ',', ';', 'asm' or 'attribute' before 'asm' NE10_math.h /test/jni/test-jni/projectNE10/include line 331 C/C++ Problem

    expected '=', ',', ';', 'asm' or 'attribute' before 'asm' NE10_math.h /test/jni/test-jni/projectNE10/include line 1379 C/C++ Problem

    expected '=', ',', ';', 'asm' or 'attribute' before 'asm' NE10_math.h /test/jni/test-jni/projectNE10/include line 295 C/C++ Problem

    expected '=', ',', ';', 'asm' or 'attribute' before 'asm' NE10_math.h /test/jni/test-jni/projectNE10/include line 799 C/C++ Problem

    expected '=', ',', ';', 'asm' or 'attribute' before 'asm' NE10_math.h /test/jni/test-jni/projectNE10/include line 1329 C/C++ Problem

    expected '=', ',', ';', 'asm' or 'attribute' before 'asm' NE10_math.h /test/jni/test-jni/projectNE10/include line 307 C/C++ Problem

    expected '=', ',', ';', 'asm' or 'attribute' before 'asm' NE10_math.h /test/jni/test-jni/projectNE10/include line 1357 C/C++ Problem

    expected '=', ',', ';', 'asm' or 'attribute' before 'asm' NE10_math.h /test/jni/test-jni/projectNE10/include line 890 C/C++ Problem

    expected '=', ',', ';', 'asm' or 'attribute' before 'asm' NE10_math.h /test/jni/test-jni/projectNE10/include line 1429 C/C++ Problem

    expected '=', ',', ';', 'asm' or 'attribute' before 'asm' NE10_math.h /test/jni/test-jni/projectNE10/include line 902 C/C++ Problem

    expected '=', ',', ';', 'asm' or 'attribute' before 'asm' NE10_math.h /test/jni/test-jni/projectNE10/include line 1456 C/C++ Problem

    make.exe: *** [obj/local/armeabi/objs/test-jni/Platform.o] Error 1 test C/C++ Problem

    expected '=', ',', ';', 'asm' or 'attribute' before 'asm' NE10_math.h /test/jni/test-jni/projectNE10/include line 1407 C/C++ Problem

    expected '=', ',', ';', 'asm' or 'attribute' before 'asm' NE10_math.h /test/jni/test-jni/projectNE10/include line 878 C/C++ Problem

    expected '=', ',', ';', 'asm' or 'attribute' before 'asm' NE10_math.h /test/jni/test-jni/projectNE10/include line 1418 C/C++ Problem

    expected '=', ',', ';', 'asm' or 'attribute' before 'asm' NE10_math.h /test/jni/test-jni/projectNE10/include line 956 C/C++ Problem

    expected '=', ',', ';', 'asm' or 'attribute' before 'asm' NE10_math.h /test/jni/test-jni/projectNE10/include line 968 C/C++ Problem

    expected '=', ',', ';', 'asm' or 'attribute' before 'asm' NE10_math.h /test/jni/test-jni/projectNE10/include line 914 C/C++ Problem

    expected '=', ',', ';', 'asm' or 'attribute' before 'asm' NE10_math.h /test/jni/test-jni/projectNE10/include line 1466 C/C++ Problem

    expected '=', ',', ';', 'asm' or 'attribute' before 'asm' NE10_math.h /test/jni/test-jni/projectNE10/include line 944 C/C++ Problem

    expected '=', ',', ';', 'asm' or 'attribute' before 'asm' NE10_math.h /test/jni/test-jni/projectNE10/include line 1476 C/C++ Problem

    expected '=', ',', ';', 'asm' or 'attribute' before 'asm' NE10_math.h /test/jni/test-jni/projectNE10/include line 530 C/C++ Problem

    storage class specified for parameter 'ne10_len_vec3f' NE10_math.h /test/jni/test-jni/projectNE10/include line 1067 C/C++ Problem

    storage class specified for parameter 'ne10_len_vec2f_asm' NE10_math.h /test/jni/test-jni/projectNE10/include line 1059 C/C++ Problem

    expected '=', ',', ';', 'asm' or 'attribute' before 'asm' NE10_math.h /test/jni/test-jni/projectNE10/include line 1058 C/C++ Problem

    storage class specified for parameter 'ne10_len_vec2f_c' NE10_math.h /test/jni/test-jni/projectNE10/include line 1057 C/C++ Problem

    storage class specified for parameter 'ne10_len_vec4f' NE10_math.h /test/jni/test-jni/projectNE10/include line 1078 C/C++ Problem

    storage class specified for parameter 'ne10_len_vec3f_asm' NE10_math.h /test/jni/test-jni/projectNE10/include line 1070 C/C++ Problem

    expected '=', ',', ';', 'asm' or 'attribute' before 'asm' NE10_math.h /test/jni/test-jni/projectNE10/include line 1069 C/C++ Problem

    storage class specified for parameter 'ne10_len_vec3f_c' NE10_math.h /test/jni/test-jni/projectNE10/include line 1068 C/C++ Problem

    storage class specified for parameter 'ne10_setc_vec4f' NE10_math.h /test/jni/test-jni/projectNE10/include line 1028 C/C++ Problem

    storage class specified for parameter 'ne10_setc_vec3f_asm' NE10_math.h /test/jni/test-jni/projectNE10/include line 1020 C/C++ Problem

    storage class specified for parameter 'ne10_setc_vec3f_neon' NE10_math.h /test/jni/test-jni/projectNE10/include line 1019 C/C++ Problem

    storage class specified for parameter 'ne10_setc_vec3f_c' NE10_math.h /test/jni/test-jni/projectNE10/include line 1018 C/C++ Problem

    storage class specified for parameter 'ne10_len_vec2f' NE10_math.h /test/jni/test-jni/projectNE10/include line 1056 C/C++ Problem

    storage class specified for parameter 'ne10_setc_vec4f_asm' NE10_math.h /test/jni/test-jni/projectNE10/include line 1031 C/C++ Problem

    storage class specified for parameter 'ne10_setc_vec4f_neon' NE10_math.h /test/jni/test-jni/projectNE10/include line 1030 C/C++ Problem

    storage class specified for parameter 'ne10_setc_vec4f_c' NE10_math.h /test/jni/test-jni/projectNE10/include line 1029 C/C++ Problem

    storage class specified for parameter 'ne10_normalize_vec4f' NE10_math.h /test/jni/test-jni/projectNE10/include line 1129 C/C++ Problem

    storage class specified for parameter 'ne10_normalize_vec3f_asm' NE10_math.h /test/jni/test-jni/projectNE10/include line 1121 C/C++ Problem

    expected '=', ',', ';', 'asm' or 'attribute' before 'asm' NE10_math.h /test/jni/test-jni/projectNE10/include line 1120 C/C++ Problem

    storage class specified for parameter 'ne10_normalize_vec3f_c' NE10_math.h /test/jni/test-jni/projectNE10/include line 1119 C/C++ Problem

    storage class specified for parameter 'ne10_abs_float' NE10_math.h /test/jni/test-jni/projectNE10/include line 1159 C/C++ Problem

    storage class specified for parameter 'ne10_normalize_vec4f_asm' NE10_math.h /test/jni/test-jni/projectNE10/include line 1132 C/C++ Problem

    expected '=', ',', ';', 'asm' or 'attribute' before 'asm' NE10_math.h /test/jni/test-jni/projectNE10/include line 1131 C/C++ Problem

    storage class specified for parameter 'ne10_normalize_vec4f_c' NE10_math.h /test/jni/test-jni/projectNE10/include line 1130 C/C++ Problem

    storage class specified for parameter 'ne10_normalize_vec2f' NE10_math.h /test/jni/test-jni/projectNE10/include line 1107 C/C++ Problem

    storage class specified for parameter 'ne10_len_vec4f_asm' NE10_math.h /test/jni/test-jni/projectNE10/include line 1081 C/C++ Problem

    expected '=', ',', ';', 'asm' or 'attribute' before 'asm' NE10_math.h /test/jni/test-jni/projectNE10/include line 1080 C/C++ Problem

    storage class specified for parameter 'ne10_len_vec4f_c' NE10_math.h /test/jni/test-jni/projectNE10/include line 1079 C/C++ Problem

    storage class specified for parameter 'ne10_normalize_vec3f' NE10_math.h /test/jni/test-jni/projectNE10/include line 1118 C/C++ Problem

    storage class specified for parameter 'ne10_normalize_vec2f_asm' NE10_math.h /test/jni/test-jni/projectNE10/include line 1110 C/C++ Problem

    expected '=', ',', ';', 'asm' or 'attribute' before 'asm' NE10_math.h /test/jni/test-jni/projectNE10/include line 1109 C/C++ Problem

    storage class specified for parameter 'ne10_normalize_vec2f_c' NE10_math.h /test/jni/test-jni/projectNE10/include line 1108 C/C++ Problem

    storage class specified for parameter 'ne10_abs_vec4f' NE10_math.h /test/jni/test-jni/projectNE10/include line 1192 C/C++ Problem

    storage class specified for parameter 'ne10_abs_vec3f_asm' NE10_math.h /test/jni/test-jni/projectNE10/include line 1184 C/C++ Problem

    expected '=', ',', ';', 'asm' or 'attribute' before 'asm' NE10_math.h /test/jni/test-jni/projectNE10/include line 1183 C/C++ Problem

    storage class specified for parameter 'ne10_abs_vec3f_c' NE10_math.h /test/jni/test-jni/projectNE10/include line 1182 C/C++ Problem

    storage class specified for parameter 'ne10_dot_vec2f' NE10_math.h /test/jni/test-jni/projectNE10/include line 1221 C/C++ Problem

    storage class specified for parameter 'ne10_abs_vec4f_asm' NE10_math.h /test/jni/test-jni/projectNE10/include line 1195 C/C++ Problem

    expected '=', ',', ';', 'asm' or 'attribute' before 'asm' NE10_math.h /test/jni/test-jni/projectNE10/include line 1194 C/C++ Problem

    storage class specified for parameter 'ne10_abs_vec4f_c' NE10_math.h /test/jni/test-jni/projectNE10/include line 1193 C/C++ Problem

    storage class specified for parameter 'ne10_abs_vec2f' NE10_math.h /test/jni/test-jni/projectNE10/include line 1170 C/C++ Problem

    storage class specified for parameter 'ne10_abs_float_asm' NE10_math.h /test/jni/test-jni/projectNE10/include line 1162 C/C++ Problem

    expected '=', ',', ';', 'asm' or 'attribute' before 'asm' NE10_math.h /test/jni/test-jni/projectNE10/include line 1161 C/C++ Problem

    storage class specified for parameter 'ne10_abs_float_c' NE10_math.h /test/jni/test-jni/projectNE10/include line 1160 C/C++ Problem

    storage class specified for parameter 'ne10_abs_vec3f' NE10_math.h /test/jni/test-jni/projectNE10/include line 1181 C/C++ Problem

    storage class specified for parameter 'ne10_abs_vec2f_asm' NE10_math.h /test/jni/test-jni/projectNE10/include line 1173 C/C++ Problem

    expected '=', ',', ';', 'asm' or 'attribute' before 'asm' NE10_math.h /test/jni/test-jni/projectNE10/include line 1172 C/C++ Problem

    storage class specified for parameter 'ne10_abs_vec2f_c' NE10_math.h /test/jni/test-jni/projectNE10/include line 1171 C/C++ Problem

    storage class specified for parameter 'ne10_cross_vec3f' NE10_math.h /test/jni/test-jni/projectNE10/include line 1276 C/C++ Problem

    storage class specified for parameter 'ne10_dot_vec4f_asm' NE10_math.h /test/jni/test-jni/projectNE10/include line 1248 C/C++ Problem

    expected '=', ',', ';', 'asm' or 'attribute' before 'asm' NE10_math.h /test/jni/test-jni/projectNE10/include line 1247 C/C++ Problem

    storage class specified for parameter 'ne10_dot_vec4f_c' NE10_math.h /test/jni/test-jni/projectNE10/include line 1246 C/C++ Problem

    storage class specified for parameter 'ne10_detmat_4x4f' NE10_math.h /test/jni/test-jni/projectNE10/include line 1305 C/C++ Problem

    storage class specified for parameter 'ne10_cross_vec3f_asm' NE10_math.h /test/jni/test-jni/projectNE10/include line 1279 C/C++ Problem

    expected '=', ',', ';', 'asm' or 'attribute' before 'asm' NE10_math.h /test/jni/test-jni/projectNE10/include line 1278 C/C++ Problem

    storage class specified for parameter 'ne10_cross_vec3f_c' NE10_math.h /test/jni/test-jni/projectNE10/include line 1277 C/C++ Problem

    storage class specified for parameter 'ne10_dot_vec3f' NE10_math.h /test/jni/test-jni/projectNE10/include line 1233 C/C++ Problem

    storage class specified for parameter 'ne10_dot_vec2f_asm' NE10_math.h /test/jni/test-jni/projectNE10/include line 1224 C/C++ Problem

    expected '=', ',', ';', 'asm' or 'attribute' before 'asm' NE10_math.h /test/jni/test-jni/projectNE10/include line 1223 C/C++ Problem

    storage class specified for parameter 'ne10_dot_vec2f_c' NE10_math.h /test/jni/test-jni/projectNE10/include line 1222 C/C++ Problem

    storage class specified for parameter 'ne10_dot_vec4f' NE10_math.h /test/jni/test-jni/projectNE10/include line 1245 C/C++ Problem

    storage class specified for parameter 'ne10_dot_vec3f_asm' NE10_math.h /test/jni/test-jni/projectNE10/include line 1236 C/C++ Problem

    expected '=', ',', ';', 'asm' or 'attribute' before 'asm' NE10_math.h /test/jni/test-jni/projectNE10/include line 1235 C/C++ Problem

    storage class specified for parameter 'ne10_dot_vec3f_c' NE10_math.h /test/jni/test-jni/projectNE10/include line 1234 C/C++ Problem

    storage class specified for parameter 'ne10_divc_float' NE10_math.h /test/jni/test-jni/projectNE10/include line 828 C/C++ Problem

    storage class specified for parameter 'ne10_mulcmatvec_cm2x2f_v2f_asm' NE10_math.h /test/jni/test-jni/projectNE10/include line 800 C/C++ Problem

    expected '=', ',', ';', 'asm' or 'attribute' before 'asm' NE10_math.h /test/jni/test-jni/projectNE10/include line 799 C/C++ Problem

    storage class specified for parameter 'ne10_mulcmatvec_cm2x2f_v2f_c' NE10_math.h /test/jni/test-jni/projectNE10/include line 798 C/C++ Problem

    storage class specified for parameter 'ne10_divc_vec2f' NE10_math.h /test/jni/test-jni/projectNE10/include line 840 C/C++ Problem

    storage class specified for parameter 'ne10_divc_float_asm' NE10_math.h /test/jni/test-jni/projectNE10/include line 831 C/C++ Problem

    storage class specified for parameter 'ne10_divc_float_neon' NE10_math.h /test/jni/test-jni/projectNE10/include line 830 C/C++ Problem

    storage class specified for parameter 'ne10_divc_float_c' NE10_math.h /test/jni/test-jni/projectNE10/include line 829 C/C++ Problem

    storage class specified for parameter 'ne10_mulcmatvec_cm3x3f_v3f' NE10_math.h /test/jni/test-jni/projectNE10/include line 785 C/C++ Problem

    storage class specified for parameter 'ne10_mulcmatvec_cm4x4f_v4f_asm' NE10_math.h /test/jni/test-jni/projectNE10/include line 776 C/C++ Problem

    expected '=', ',', ';', 'asm' or 'attribute' before 'asm' NE10_math.h /test/jni/test-jni/projectNE10/include line 775 C/C++ Problem

    storage class specified for parameter 'ne10_mulcmatvec_cm4x4f_v4f_c' NE10_math.h /test/jni/test-jni/projectNE10/include line 774 C/C++ Problem

    storage class specified for parameter 'ne10_mulcmatvec_cm2x2f_v2f' NE10_math.h /test/jni/test-jni/projectNE10/include line 797 C/C++ Problem

    storage class specified for parameter 'ne10_mulcmatvec_cm3x3f_v3f_asm' NE10_math.h /test/jni/test-jni/projectNE10/include line 788 C/C++ Problem

    expected '=', ',', ';', 'asm' or 'attribute' before 'asm' NE10_math.h /test/jni/test-jni/projectNE10/include line 787 C/C++ Problem

    storage class specified for parameter 'ne10_mulcmatvec_cm3x3f_v3f_c' NE10_math.h /test/jni/test-jni/projectNE10/include line 786 C/C++ Problem

    storage class specified for parameter 'ne10_div_float' NE10_math.h /test/jni/test-jni/projectNE10/include line 876 C/C++ Problem

    storage class specified for parameter 'ne10_divc_vec4f_asm' NE10_math.h /test/jni/test-jni/projectNE10/include line 867 C/C++ Problem

    storage class specified for parameter 'ne10_divc_vec4f_neon' NE10_math.h /test/jni/test-jni/projectNE10/include line 866 C/C++ Problem

    storage class specified for parameter 'ne10_divc_vec4f_c' NE10_math.h /test/jni/test-jni/projectNE10/include line 865 C/C++ Problem

    storage class specified for parameter 'ne10_vdiv_vec2f' NE10_math.h /test/jni/test-jni/projectNE10/include line 888 C/C++ Problem

    storage class specified for parameter 'ne10_div_float_asm' NE10_math.h /test/jni/test-jni/projectNE10/include line 879 C/C++ Problem

    expected '=', ',', ';', 'asm' or 'attribute' before 'asm' NE10_math.h /test/jni/test-jni/projectNE10/include line 878 C/C++ Problem

    storage class specified for parameter 'ne10_div_float_c' NE10_math.h /test/jni/test-jni/projectNE10/include line 877 C/C++ Problem

    storage class specified for parameter 'ne10_divc_vec3f' NE10_math.h /test/jni/test-jni/projectNE10/include line 852 C/C++ Problem

    storage class specified for parameter 'ne10_divc_vec2f_asm' NE10_math.h /test/jni/test-jni/projectNE10/include line 843 C/C++ Problem

    storage class specified for parameter 'ne10_divc_vec2f_neon' NE10_math.h /test/jni/test-jni/projectNE10/include line 842 C/C++ Problem

    storage class specified for parameter 'ne10_divc_vec2f_c' NE10_math.h /test/jni/test-jni/projectNE10/include line 841 C/C++ Problem

    storage class specified for parameter 'ne10_divc_vec4f' NE10_math.h /test/jni/test-jni/projectNE10/include line 864 C/C++ Problem

    storage class specified for parameter 'ne10_divc_vec3f_asm' NE10_math.h /test/jni/test-jni/projectNE10/include line 855 C/C++ Problem

    storage class specified for parameter 'ne10_divc_vec3f_neon' NE10_math.h /test/jni/test-jni/projectNE10/include line 854 C/C++ Problem

    storage class specified for parameter 'ne10_divc_vec3f_c' NE10_math.h /test/jni/test-jni/projectNE10/include line 853 C/C++ Problem

    storage class specified for parameter 'ne10_divmat_4x4f' NE10_math.h /test/jni/test-jni/projectNE10/include line 942 C/C++ Problem

    storage class specified for parameter 'ne10_vdiv_vec4f_asm' NE10_math.h /test/jni/test-jni/projectNE10/include line 915 C/C++ Problem

    expected '=', ',', ';', 'asm' or 'attribute' before 'asm' NE10_math.h /test/jni/test-jni/projectNE10/include line 914 C/C++ Problem

    storage class specified for parameter 'ne10_vdiv_vec4f_c' NE10_math.h /test/jni/test-jni/projectNE10/include line 913 C/C++ Problem

    storage class specified for parameter 'ne10_divmat_3x3f' NE10_math.h /test/jni/test-jni/projectNE10/include line 954 C/C++ Problem

    storage class specified for parameter 'ne10_divmat_4x4f_asm' NE10_math.h /test/jni/test-jni/projectNE10/include line 945 C/C++ Problem

    expected '=', ',', ';', 'asm' or 'attribute' before 'asm' NE10_math.h /test/jni/test-jni/projectNE10/include line 944 C/C++ Problem

    storage class specified for parameter 'ne10_divmat_4x4f_c' NE10_math.h /test/jni/test-jni/projectNE10/include line 943 C/C++ Problem

    storage class specified for parameter 'ne10_vdiv_vec3f' NE10_math.h /test/jni/test-jni/projectNE10/include line 900 C/C++ Problem

    storage class specified for parameter 'ne10_vdiv_vec2f_asm' NE10_math.h /test/jni/test-jni/projectNE10/include line 891 C/C++ Problem

    expected '=', ',', ';', 'asm' or 'attribute' before 'asm' NE10_math.h /test/jni/test-jni/projectNE10/include line 890 C/C++ Problem

    storage class specified for parameter 'ne10_vdiv_vec2f_c' NE10_math.h /test/jni/test-jni/projectNE10/include line 889 C/C++ Problem

    storage class specified for parameter 'ne10_vdiv_vec4f' NE10_math.h /test/jni/test-jni/projectNE10/include line 912 C/C++ Problem

    storage class specified for parameter 'ne10_vdiv_vec3f_asm' NE10_math.h /test/jni/test-jni/projectNE10/include line 903 C/C++ Problem

    expected '=', ',', ';', 'asm' or 'attribute' before 'asm' NE10_math.h /test/jni/test-jni/projectNE10/include line 902 C/C++ Problem

    storage class specified for parameter 'ne10_vdiv_vec3f_c' NE10_math.h /test/jni/test-jni/projectNE10/include line 901 C/C++ Problem

    storage class specified for parameter 'ne10_setc_vec2f' NE10_math.h /test/jni/test-jni/projectNE10/include line 1006 C/C++ Problem

    storage class specified for parameter 'ne10_setc_float_asm' NE10_math.h /test/jni/test-jni/projectNE10/include line 998 C/C++ Problem

    storage class specified for parameter 'ne10_setc_float_neon' NE10_math.h /test/jni/test-jni/projectNE10/include line 997 C/C++ Problem

    storage class specified for parameter 'ne10_setc_float_c' NE10_math.h /test/jni/test-jni/projectNE10/include line 996 C/C++ Problem

    storage class specified for parameter 'ne10_setc_vec3f' NE10_math.h /test/jni/test-jni/projectNE10/include line 1017 C/C++ Problem

    storage class specified for parameter 'ne10_setc_vec2f_asm' NE10_math.h /test/jni/test-jni/projectNE10/include line 1009 C/C++ Problem

    storage class specified for parameter 'ne10_setc_vec2f_neon' NE10_math.h /test/jni/test-jni/projectNE10/include line 1008 C/C++ Problem

    storage class specified for parameter 'ne10_setc_vec2f_c' NE10_math.h /test/jni/test-jni/projectNE10/include line 1007 C/C++ Problem

    storage class specified for parameter 'ne10_divmat_2x2f' NE10_math.h /test/jni/test-jni/projectNE10/include line 966 C/C++ Problem

    storage class specified for parameter 'ne10_divmat_3x3f_asm' NE10_math.h /test/jni/test-jni/projectNE10/include line 957 C/C++ Problem

    expected '=', ',', ';', 'asm' or 'attribute' before 'asm' NE10_math.h /test/jni/test-jni/projectNE10/include line 956 C/C++ Problem

    storage class specified for parameter 'ne10_divmat_3x3f_c' NE10_math.h /test/jni/test-jni/projectNE10/include line 955 C/C++ Problem

    storage class specified for parameter 'ne10_setc_float' NE10_math.h /test/jni/test-jni/projectNE10/include line 995 C/C++ Problem

    storage class specified for parameter 'ne10_divmat_2x2f_asm' NE10_math.h /test/jni/test-jni/projectNE10/include line 969 C/C++ Problem

    expected '=', ',', ';', 'asm' or 'attribute' before 'asm' NE10_math.h /test/jni/test-jni/projectNE10/include line 968 C/C++ Problem

    storage class specified for parameter 'ne10_divmat_2x2f_c' NE10_math.h /test/jni/test-jni/projectNE10/include line 967 C/C++ Problem

    storage class specified for parameter 'ne10_invmat_4x4f' NE10_math.h /test/jni/test-jni/projectNE10/include line 1355 C/C++ Problem

    storage class specified for parameter 'ne10_detmat_2x2f_asm' NE10_math.h /test/jni/test-jni/projectNE10/include line 1330 C/C++ Problem

    expected '=', ',', ';', 'asm' or 'attribute' before 'asm' NE10_math.h /test/jni/test-jni/projectNE10/include line 1329 C/C++ Problem

    storage class specified for parameter 'ne10_detmat_2x2f_c' NE10_math.h /test/jni/test-jni/projectNE10/include line 1328 C/C++ Problem

    storage class specified for parameter 'ne10_invmat_3x3f' NE10_math.h /test/jni/test-jni/projectNE10/include line 1366 C/C++ Problem

    storage class specified for parameter 'ne10_invmat_4x4f_asm' NE10_math.h /test/jni/test-jni/projectNE10/include line 1358 C/C++ Problem

    expected '=', ',', ';', 'asm' or 'attribute' before 'asm' NE10_math.h /test/jni/test-jni/projectNE10/include line 1357 C/C++ Problem

    storage class specified for parameter 'ne10_invmat_4x4f_c' NE10_math.h /test/jni/test-jni/projectNE10/include line 1356 C/C++ Problem

    storage class specified for parameter 'ne10_detmat_3x3f' NE10_math.h /test/jni/test-jni/projectNE10/include line 1316 C/C++ Problem

    storage class specified for parameter 'ne10_detmat_4x4f_asm' NE10_math.h /test/jni/test-jni/projectNE10/include line 1308 C/C++ Problem

    expected '=', ',', ';', 'asm' or 'attribute' before 'asm' NE10_math.h /test/jni/test-jni/projectNE10/include line 1307 C/C++ Problem

    storage class specified for parameter 'ne10_detmat_4x4f_c' NE10_math.h /test/jni/test-jni/projectNE10/include line 1306 C/C++ Problem

    storage class specified for parameter 'ne10_detmat_2x2f' NE10_math.h /test/jni/test-jni/projectNE10/include line 1327 C/C++ Problem

    storage class specified for parameter 'ne10_detmat_3x3f_asm' NE10_math.h /test/jni/test-jni/projectNE10/include line 1319 C/C++ Problem

    expected '=', ',', ';', 'asm' or 'attribute' before 'asm' NE10_math.h /test/jni/test-jni/projectNE10/include line 1318 C/C++ Problem

    storage class specified for parameter 'ne10_detmat_3x3f_c' NE10_math.h /test/jni/test-jni/projectNE10/include line 1317 C/C++ Problem

    storage class specified for parameter 'ne10_transmat_3x3f' NE10_math.h /test/jni/test-jni/projectNE10/include line 1416 C/C++ Problem

    storage class specified for parameter 'ne10_transmat_4x4f_asm' NE10_math.h /test/jni/test-jni/projectNE10/include line 1408 C/C++ Problem

    expected '=', ',', ';', 'asm' or 'attribute' before 'asm' NE10_math.h /test/jni/test-jni/projectNE10/include line 1407 C/C++ Problem

    storage class specified for parameter 'ne10_transmat_4x4f_c' NE10_math.h /test/jni/test-jni/projectNE10/include line 1406 C/C++ Problem

    storage class specified for parameter 'ne10_transmat_2x2f' NE10_math.h /test/jni/test-jni/projectNE10/include line 1427 C/C++ Problem

    storage class specified for parameter 'ne10_transmat_3x3f_asm' NE10_math.h /test/jni/test-jni/projectNE10/include line 1419 C/C++ Problem

    expected '=', ',', ';', 'asm' or 'attribute' before 'asm' NE10_math.h /test/jni/test-jni/projectNE10/include line 1418 C/C++ Problem

    storage class specified for parameter 'ne10_transmat_3x3f_c' NE10_math.h /test/jni/test-jni/projectNE10/include line 1417 C/C++ Problem

    storage class specified for parameter 'ne10_invmat_2x2f' NE10_math.h /test/jni/test-jni/projectNE10/include line 1377 C/C++ Problem

    storage class specified for parameter 'ne10_invmat_3x3f_asm' NE10_math.h /test/jni/test-jni/projectNE10/include line 1369 C/C++ Problem

    expected '=', ',', ';', 'asm' or 'attribute' before 'asm' NE10_math.h /test/jni/test-jni/projectNE10/include line 1368 C/C++ Problem

    storage class specified for parameter 'ne10_invmat_3x3f_c' NE10_math.h /test/jni/test-jni/projectNE10/include line 1367 C/C++ Problem

    storage class specified for parameter 'ne10_transmat_4x4f' NE10_math.h /test/jni/test-jni/projectNE10/include line 1405 C/C++ Problem

    storage class specified for parameter 'ne10_invmat_2x2f_asm' NE10_math.h /test/jni/test-jni/projectNE10/include line 1380 C/C++ Problem

    expected '=', ',', ';', 'asm' or 'attribute' before 'asm' NE10_math.h /test/jni/test-jni/projectNE10/include line 1379 C/C++ Problem

    storage class specified for parameter 'ne10_invmat_2x2f_c' NE10_math.h /test/jni/test-jni/projectNE10/include line 1378 C/C++ Problem

    storage class specified for parameter 'ne10_identitymat_2x2f' NE10_math.h /test/jni/test-jni/projectNE10/include line 1474 C/C++ Problem

    storage class specified for parameter 'ne10_identitymat_3x3f_asm' NE10_math.h /test/jni/test-jni/projectNE10/include line 1467 C/C++ Problem

    expected '=', ',', ';', 'asm' or 'attribute' before 'asm' NE10_math.h /test/jni/test-jni/projectNE10/include line 1466 C/C++ Problem

    storage class specified for parameter 'ne10_identitymat_3x3f_c' NE10_math.h /test/jni/test-jni/projectNE10/include line 1465 C/C++ Problem

    storage class specified for parameter 'ne10_identity_mat2x2f_asm' NE10_math.h /test/jni/test-jni/projectNE10/include line 1477 C/C++ Problem

    expected '=', ',', ';', 'asm' or 'attribute' before 'asm' NE10_math.h /test/jni/test-jni/projectNE10/include line 1476 C/C++ Problem

    storage class specified for parameter 'ne10_identitymat_2x2f_c' NE10_math.h /test/jni/test-jni/projectNE10/include line 1475 C/C++ Problem

    storage class specified for parameter 'ne10_identitymat_4x4f' NE10_math.h /test/jni/test-jni/projectNE10/include line 1454 C/C++ Problem

    storage class specified for parameter 'ne10_trans_mat2x2f_asm' NE10_math.h /test/jni/test-jni/projectNE10/include line 1430 C/C++ Problem

    expected '=', ',', ';', 'asm' or 'attribute' before 'asm' NE10_math.h /test/jni/test-jni/projectNE10/include line 1429 C/C++ Problem

    storage class specified for parameter 'ne10_transmat_2x2f_c' NE10_math.h /test/jni/test-jni/projectNE10/include line 1428 C/C++ Problem

    storage class specified for parameter 'ne10_identitymat_3x3f' NE10_math.h /test/jni/test-jni/projectNE10/include line 1464 C/C++ Problem

    storage class specified for parameter 'ne10_identitymat_4x4f_asm' NE10_math.h /test/jni/test-jni/projectNE10/include line 1457 C/C++ Problem

    expected '=', ',', ';', 'asm' or 'attribute' before 'asm' NE10_math.h /test/jni/test-jni/projectNE10/include line 1456 C/C++ Problem

    storage class specified for parameter 'ne10_identitymat_4x4f_c' NE10_math.h /test/jni/test-jni/projectNE10/include line 1455 C/C++ Problem

    storage class specified for parameter 'ne10_addc_vec2f' NE10_math.h /test/jni/test-jni/projectNE10/include line 85 C/C++ Problem

    storage class specified for parameter 'ne10_addc_float_asm' NE10_math.h /test/jni/test-jni/projectNE10/include line 76 C/C++ Problem

    expected declaration specifiers before 'asm' NE10_math.h /test/jni/test-jni/projectNE10/include line 75 C/C++ Problem

    storage class specified for parameter 'ne10_add_float' NE10_math.h /test/jni/test-jni/projectNE10/include line 123 C/C++ Problem

    storage class specified for parameter 'ne10_addc_vec4f_asm' NE10_math.h /test/jni/test-jni/projectNE10/include line 112 C/C++ Problem

    expected '=', ',', ';', 'asm' or 'attribute' before 'asm' NE10_math.h /test/jni/test-jni/projectNE10/include line 111 C/C++ Problem

    storage class specified for parameter 'ne10_addc_vec4f_c' NE10_math.h /test/jni/test-jni/projectNE10/include line 110 C/C++ Problem

    storage class specified for parameter 'ne10_add_vec2f' NE10_math.h /test/jni/test-jni/projectNE10/include line 135 C/C++ Problem

    storage class specified for parameter 'ne10_add_float_asm' NE10_math.h /test/jni/test-jni/projectNE10/include line 126 C/C++ Problem

    expected '=', ',', ';', 'asm' or 'attribute' before 'asm' NE10_math.h /test/jni/test-jni/projectNE10/include line 125 C/C++ Problem

    storage class specified for parameter 'ne10_add_float_c' NE10_math.h /test/jni/test-jni/projectNE10/include line 124 C/C++ Problem

    storage class specified for parameter 'ne10_addc_vec3f' NE10_math.h /test/jni/test-jni/projectNE10/include line 97 C/C++ Problem

    storage class specified for parameter 'ne10_addc_vec2f_asm' NE10_math.h /test/jni/test-jni/projectNE10/include line 88 C/C++ Problem

    expected '=', ',', ';', 'asm' or 'attribute' before 'asm' NE10_math.h /test/jni/test-jni/projectNE10/include line 87 C/C++ Problem

    storage class specified for parameter 'ne10_addc_vec2f_c' NE10_math.h /test/jni/test-jni/projectNE10/include line 86 C/C++ Problem

    storage class specified for parameter 'ne10_addc_vec4f' NE10_math.h /test/jni/test-jni/projectNE10/include line 109 C/C++ Problem

    storage class specified for parameter 'ne10_addc_vec3f_asm' NE10_math.h /test/jni/test-jni/projectNE10/include line 100 C/C++ Problem

    expected '=', ',', ';', 'asm' or 'attribute' before 'asm' NE10_math.h /test/jni/test-jni/projectNE10/include line 99 C/C++ Problem

    storage class specified for parameter 'ne10_addc_vec3f_c' NE10_math.h /test/jni/test-jni/projectNE10/include line 98 C/C++ Problem

    storage class specified for parameter 'ne10_addmat_4x4f' NE10_math.h /test/jni/test-jni/projectNE10/include line 189 C/C++ Problem

    storage class specified for parameter 'ne10_add_vec4f_asm' NE10_math.h /test/jni/test-jni/projectNE10/include line 162 C/C++ Problem

    expected '=', ',', ';', 'asm' or 'attribute' before 'asm' NE10_math.h /test/jni/test-jni/projectNE10/include line 161 C/C++ Problem

    storage class specified for parameter 'ne10_add_vec4f_c' NE10_math.h /test/jni/test-jni/projectNE10/include line 160 C/C++ Problem

    storage class specified for parameter 'ne10_addmat_3x3f' NE10_math.h /test/jni/test-jni/projectNE10/include line 201 C/C++ Problem

    storage class specified for parameter 'ne10_addmat_4x4f_asm' NE10_math.h /test/jni/test-jni/projectNE10/include line 192 C/C++ Problem

    storage class specified for parameter 'ne10_addmat_4x4f_neon' NE10_math.h /test/jni/test-jni/projectNE10/include line 191 C/C++ Problem

    storage class specified for parameter 'ne10_addmat_4x4f_c' NE10_math.h /test/jni/test-jni/projectNE10/include line 190 C/C++ Problem

    storage class specified for parameter 'ne10_add_vec3f' NE10_math.h /test/jni/test-jni/projectNE10/include line 147 C/C++ Problem

    storage class specified for parameter 'ne10_add_vec2f_asm' NE10_math.h /test/jni/test-jni/projectNE10/include line 138 C/C++ Problem

    expected '=', ',', ';', 'asm' or 'attribute' before 'asm' NE10_math.h /test/jni/test-jni/projectNE10/include line 137 C/C++ Problem

    storage class specified for parameter 'ne10_add_vec2f_c' NE10_math.h /test/jni/test-jni/projectNE10/include line 136 C/C++ Problem

    storage class specified for parameter 'ne10_add_vec4f' NE10_math.h /test/jni/test-jni/projectNE10/include line 159 C/C++ Problem

    storage class specified for parameter 'ne10_add_vec3f_asm' NE10_math.h /test/jni/test-jni/projectNE10/include line 150 C/C++ Problem

    expected '=', ',', ';', 'asm' or 'attribute' before 'asm' NE10_math.h /test/jni/test-jni/projectNE10/include line 149 C/C++ Problem

    storage class specified for parameter 'ne10_add_vec3f_c' NE10_math.h /test/jni/test-jni/projectNE10/include line 148 C/C++ Problem

    storage class specified for parameter 'ne10_subc_vec2f' NE10_math.h /test/jni/test-jni/projectNE10/include line 256 C/C++ Problem

    storage class specified for parameter 'ne10_subc_float_asm' NE10_math.h /test/jni/test-jni/projectNE10/include line 247 C/C++ Problem

    storage class specified for parameter 'ne10_subc_float_neon' NE10_math.h /test/jni/test-jni/projectNE10/include line 246 C/C++ Problem

    storage class specified for parameter 'ne10_subc_float_c' NE10_math.h /test/jni/test-jni/projectNE10/include line 245 C/C++ Problem

    storage class specified for parameter 'ne10_subc_vec3f' NE10_math.h /test/jni/test-jni/projectNE10/include line 268 C/C++ Problem

    storage class specified for parameter 'ne10_subc_vec2f_asm' NE10_math.h /test/jni/test-jni/projectNE10/include line 259 C/C++ Problem

    storage class specified for parameter 'ne10_subc_vec2f_neon' NE10_math.h /test/jni/test-jni/projectNE10/include line 258 C/C++ Problem

    storage class specified for parameter 'ne10_subc_vec2f_c' NE10_math.h /test/jni/test-jni/projectNE10/include line 257 C/C++ Problem

    storage class specified for parameter 'ne10_addmat_2x2f' NE10_math.h /test/jni/test-jni/projectNE10/include line 213 C/C++ Problem

    storage class specified for parameter 'ne10_addmat_3x3f_asm' NE10_math.h /test/jni/test-jni/projectNE10/include line 204 C/C++ Problem

    storage class specified for parameter 'ne10_addmat_3x3f_neon' NE10_math.h /test/jni/test-jni/projectNE10/include line 203 C/C++ Problem

    storage class specified for parameter 'ne10_addmat_3x3f_c' NE10_math.h /test/jni/test-jni/projectNE10/include line 202 C/C++ Problem

    storage class specified for parameter 'ne10_subc_float' NE10_math.h /test/jni/test-jni/projectNE10/include line 244 C/C++ Problem

    storage class specified for parameter 'ne10_addmat_2x2f_asm' NE10_math.h /test/jni/test-jni/projectNE10/include line 216 C/C++ Problem

    storage class specified for parameter 'ne10_addmat_2x2f_neon' NE10_math.h /test/jni/test-jni/projectNE10/include line 215 C/C++ Problem

    storage class specified for parameter 'ne10_addmat_2x2f_c' NE10_math.h /test/jni/test-jni/projectNE10/include line 214 C/C++ Problem

    make.exe: *** [obj/local/armeabi/objs/test-jni/Platform.o] Error 1 test C/C++ Problem

    storage class specified for parameter 'ne10_vmul_vec3f' NE10_math.h /test/jni/test-jni/projectNE10/include line 552 C/C++ Problem

    storage class specified for parameter 'ne10_vmul_vec2f_asm' NE10_math.h /test/jni/test-jni/projectNE10/include line 543 C/C++ Problem

    expected '=', ',', ';', 'asm' or 'attribute' before 'asm' NE10_math.h /test/jni/test-jni/projectNE10/include line 542 C/C++ Problem

    storage class specified for parameter 'ne10_vmul_vec2f_c' NE10_math.h /test/jni/test-jni/projectNE10/include line 541 C/C++ Problem

    storage class specified for parameter 'ne10_vmul_vec4f' NE10_math.h /test/jni/test-jni/projectNE10/include line 564 C/C++ Problem

    storage class specified for parameter 'ne10_vmul_vec3f_asm' NE10_math.h /test/jni/test-jni/projectNE10/include line 555 C/C++ Problem

    expected '=', ',', ';', 'asm' or 'attribute' before 'asm' NE10_math.h /test/jni/test-jni/projectNE10/include line 554 C/C++ Problem

    storage class specified for parameter 'ne10_vmul_vec3f_c' NE10_math.h /test/jni/test-jni/projectNE10/include line 553 C/C++ Problem

    storage class specified for parameter 'ne10_mul_float' NE10_math.h /test/jni/test-jni/projectNE10/include line 528 C/C++ Problem

    storage class specified for parameter 'ne10_mulc_vec4f_asm' NE10_math.h /test/jni/test-jni/projectNE10/include line 518 C/C++ Problem

    storage class specified for parameter 'ne10_mulc_vec4f_neon' NE10_math.h /test/jni/test-jni/projectNE10/include line 517 C/C++ Problem

    storage class specified for parameter 'ne10_mulc_vec4f_c' NE10_math.h /test/jni/test-jni/projectNE10/include line 516 C/C++ Problem

    storage class specified for parameter 'ne10_vmul_vec2f' NE10_math.h /test/jni/test-jni/projectNE10/include line 540 C/C++ Problem

    storage class specified for parameter 'ne10_mul_float_asm' NE10_math.h /test/jni/test-jni/projectNE10/include line 531 C/C++ Problem

    expected '=', ',', ';', 'asm' or 'attribute' before 'asm' NE10_math.h /test/jni/test-jni/projectNE10/include line 530 C/C++ Problem

    storage class specified for parameter 'ne10_mul_float_c' NE10_math.h /test/jni/test-jni/projectNE10/include line 529 C/C++ Problem

    storage class specified for parameter 'ne10_mlac_vec3f' NE10_math.h /test/jni/test-jni/projectNE10/include line 624 C/C++ Problem

    storage class specified for parameter 'ne10_mlac_vec2f_asm' NE10_math.h /test/jni/test-jni/projectNE10/include line 613 C/C++ Problem

    storage class specified for parameter 'ne10_mlac_vec2f_neon' NE10_math.h /test/jni/test-jni/projectNE10/include line 612 C/C++ Problem

    storage class specified for parameter 'ne10_mlac_vec2f_c' NE10_math.h /test/jni/test-jni/projectNE10/include line 611 C/C++ Problem

    storage class specified for parameter 'ne10_mlac_vec4f' NE10_math.h /test/jni/test-jni/projectNE10/include line 638 C/C++ Problem

    storage class specified for parameter 'ne10_mlac_vec3f_asm' NE10_math.h /test/jni/test-jni/projectNE10/include line 627 C/C++ Problem

    storage class specified for parameter 'ne10_mlac_vec3f_neon' NE10_math.h /test/jni/test-jni/projectNE10/include line 626 C/C++ Problem

    storage class specified for parameter 'ne10_mlac_vec3f_c' NE10_math.h /test/jni/test-jni/projectNE10/include line 625 C/C++ Problem

    storage class specified for parameter 'ne10_mlac_float' NE10_math.h /test/jni/test-jni/projectNE10/include line 596 C/C++ Problem

    storage class specified for parameter 'ne10_vmul_vec4f_asm' NE10_math.h /test/jni/test-jni/projectNE10/include line 567 C/C++ Problem

    expected '=', ',', ';', 'asm' or 'attribute' before 'asm' NE10_math.h /test/jni/test-jni/projectNE10/include line 566 C/C++ Problem

    storage class specified for parameter 'ne10_vmul_vec4f_c' NE10_math.h /test/jni/test-jni/projectNE10/include line 565 C/C++ Problem

    storage class specified for parameter 'ne10_mlac_vec2f' NE10_math.h /test/jni/test-jni/projectNE10/include line 610 C/C++ Problem

    storage class specified for parameter 'ne10_mlac_float_asm' NE10_math.h /test/jni/test-jni/projectNE10/include line 599 C/C++ Problem

    storage class specified for parameter 'ne10_mlac_float_neon' NE10_math.h /test/jni/test-jni/projectNE10/include line 598 C/C++ Problem

    storage class specified for parameter 'ne10_mlac_float_c' NE10_math.h /test/jni/test-jni/projectNE10/include line 597 C/C++ Problem

    storage class specified for parameter 'ne10_fft_r2c_1d_float32_c' NE10_dsp.h /test/jni/test-jni/projectNE10/include line 109 C/C++ Problem

    storage class specified for parameter 'ne10_vmla_vec3f' NE10_math.h /test/jni/test-jni/projectNE10/include line 676 C/C++ Problem

    storage class specified for parameter 'ne10_fft_c2c_1d_float32_c' NE10_dsp.h /test/jni/test-jni/projectNE10/include line 104 C/C++ Problem

    storage class specified for parameter 'ne10_vmla_vec2f_asm' NE10_math.h /test/jni/test-jni/projectNE10/include line 667 C/C++ Problem

    expected '=', ',', ';', 'asm' or 'attribute' before 'asm' NE10_math.h /test/jni/test-jni/projectNE10/include line 666 C/C++ Problem

    storage class specified for parameter 'ne10_fft_alloc_r2c_int16' NE10_dsp.h /test/jni/test-jni/projectNE10/include line 101 C/C++ Problem

    storage class specified for parameter 'ne10_fft_alloc_r2c_int32' NE10_dsp.h /test/jni/test-jni/projectNE10/include line 100 C/C++ Problem

    storage class specified for parameter 'ne10_vmla_vec2f_c' NE10_math.h /test/jni/test-jni/projectNE10/include line 665 C/C++ Problem

    storage class specified for parameter 'ne10_fft_alloc_r2c_float32' NE10_dsp.h /test/jni/test-jni/projectNE10/include line 99 C/C++ Problem

    storage class specified for parameter 'ne10_vmla_vec4f' NE10_math.h /test/jni/test-jni/projectNE10/include line 688 C/C++ Problem

    storage class specified for parameter 'ne10_fft_alloc_c2c_int16' NE10_dsp.h /test/jni/test-jni/projectNE10/include line 97 C/C++ Problem

    storage class specified for parameter 'ne10_vmla_vec3f_asm' NE10_math.h /test/jni/test-jni/projectNE10/include line 679 C/C++ Problem

    expected '=', ',', ';', 'asm' or 'attribute' before 'asm' NE10_math.h /test/jni/test-jni/projectNE10/include line 678 C/C++ Problem

    storage class specified for parameter 'ne10_fft_alloc_c2c_int32' NE10_dsp.h /test/jni/test-jni/projectNE10/include line 96 C/C++ Problem

    storage class specified for parameter 'ne10_fft_alloc_c2c_float32' NE10_dsp.h /test/jni/test-jni/projectNE10/include line 95 C/C++ Problem

    storage class specified for parameter 'ne10_vmla_vec3f_c' NE10_math.h /test/jni/test-jni/projectNE10/include line 677 C/C++ Problem

    storage class specified for parameter 'ne10_fft_c2c_1d_float32_neon' NE10_dsp.h /test/jni/test-jni/projectNE10/include line 151 C/C++ Problem

    storage class specified for parameter 'ne10_mla_float' NE10_math.h /test/jni/test-jni/projectNE10/include line 652 C/C++ Problem

    storage class specified for parameter 'ne10_fft_c2r_1d_int16_c' NE10_dsp.h /test/jni/test-jni/projectNE10/include line 144 C/C++ Problem

    storage class specified for parameter 'ne10_mlac_vec4f_asm' NE10_math.h /test/jni/test-jni/projectNE10/include line 641 C/C++ Problem

    storage class specified for parameter 'ne10_fft_r2c_1d_int16_c' NE10_dsp.h /test/jni/test-jni/projectNE10/include line 139 C/C++ Problem

    storage class specified for parameter 'ne10_mlac_vec4f_neon' NE10_math.h /test/jni/test-jni/projectNE10/include line 640 C/C++ Problem

    storage class specified for parameter 'ne10_fft_c2c_1d_int16_c' NE10_dsp.h /test/jni/test-jni/projectNE10/include line 133 C/C++ Problem

    storage class specified for parameter 'ne10_mlac_vec4f_c' NE10_math.h /test/jni/test-jni/projectNE10/include line 639 C/C++ Problem

    storage class specified for parameter 'ne10_fft_c2r_1d_int32_c' NE10_dsp.h /test/jni/test-jni/projectNE10/include line 128 C/C++ Problem

    storage class specified for parameter 'ne10_vmla_vec2f' NE10_math.h /test/jni/test-jni/projectNE10/include line 664 C/C++ Problem

    storage class specified for parameter 'ne10_fft_r2c_1d_int32_c' NE10_dsp.h /test/jni/test-jni/projectNE10/include line 123 C/C++ Problem

    storage class specified for parameter 'ne10_mla_float_asm' NE10_math.h /test/jni/test-jni/projectNE10/include line 655 C/C++ Problem

    expected '=', ',', ';', 'asm' or 'attribute' before 'asm' NE10_math.h /test/jni/test-jni/projectNE10/include line 654 C/C++ Problem

    storage class specified for parameter 'ne10_fft_c2c_1d_int32_c' NE10_dsp.h /test/jni/test-jni/projectNE10/include line 117 C/C++ Problem

    storage class specified for parameter 'ne10_fft_c2r_1d_float32_c' NE10_dsp.h /test/jni/test-jni/projectNE10/include line 113 C/C++ Problem

    storage class specified for parameter 'ne10_mla_float_c' NE10_math.h /test/jni/test-jni/projectNE10/include line 653 C/C++ Problem

    storage class specified for parameter 'ne10_fft_c2c_1d_float32' NE10_dsp.h /test/jni/test-jni/projectNE10/include line 49 C/C++ Problem

    storage class specified for parameter 'ne10_mulmat_2x2f' NE10_math.h /test/jni/test-jni/projectNE10/include line 744 C/C++ Problem

    storage class specified for parameter 'ne10_mulmat_3x3f_asm' NE10_math.h /test/jni/test-jni/projectNE10/include line 734 C/C++ Problem

    expected '=', ',', ';', 'asm' or 'attribute' before 'asm' NE10_math.h /test/jni/test-jni/projectNE10/include line 733 C/C++ Problem

    storage class specified for parameter 'ne10_mulmat_3x3f_c' NE10_math.h /test/jni/test-jni/projectNE10/include line 732 C/C++ Problem

    storage class specified for parameter 'ne10_mulcmatvec_cm4x4f_v4f' NE10_math.h /test/jni/test-jni/projectNE10/include line 773 C/C++ Problem

    storage class specified for parameter 'ne10_mulmat_2x2f_asm' NE10_math.h /test/jni/test-jni/projectNE10/include line 747 C/C++ Problem

    expected '=', ',', ';', 'asm' or 'attribute' before 'asm' NE10_math.h /test/jni/test-jni/projectNE10/include line 746 C/C++ Problem

    storage class specified for parameter 'ne10_mulmat_2x2f_c' NE10_math.h /test/jni/test-jni/projectNE10/include line 745 C/C++ Problem

    storage class specified for parameter 'ne10_fft_c2r_1d_int16' NE10_dsp.h /test/jni/test-jni/projectNE10/include line 89 C/C++ Problem

    storage class specified for parameter 'ne10_mulmat_4x4f' NE10_math.h /test/jni/test-jni/projectNE10/include line 718 C/C++ Problem

    storage class specified for parameter 'ne10_fft_r2c_1d_int16' NE10_dsp.h /test/jni/test-jni/projectNE10/include line 84 C/C++ Problem

    storage class specified for parameter 'ne10_vmla_vec4f_asm' NE10_math.h /test/jni/test-jni/projectNE10/include line 691 C/C++ Problem

    expected '=', ',', ';', 'asm' or 'attribute' before 'asm' NE10_math.h /test/jni/test-jni/projectNE10/include line 690 C/C++ Problem

    storage class specified for parameter 'ne10_fft_c2c_1d_int16' NE10_dsp.h /test/jni/test-jni/projectNE10/include line 78 C/C++ Problem

    storage class specified for parameter 'ne10_fft_c2r_1d_int32' NE10_dsp.h /test/jni/test-jni/projectNE10/include line 73 C/C++ Problem

    storage class specified for parameter 'ne10_vmla_vec4f_c' NE10_math.h /test/jni/test-jni/projectNE10/include line 689 C/C++ Problem

    storage class specified for parameter 'ne10_fft_r2c_1d_int32' NE10_dsp.h /test/jni/test-jni/projectNE10/include line 68 C/C++ Problem

    storage class specified for parameter 'ne10_mulmat_3x3f' NE10_math.h /test/jni/test-jni/projectNE10/include line 731 C/C++ Problem

    storage class specified for parameter 'ne10_fft_c2c_1d_int32' NE10_dsp.h /test/jni/test-jni/projectNE10/include line 62 C/C++ Problem

    storage class specified for parameter 'ne10_mulmat_4x4f_asm' NE10_math.h /test/jni/test-jni/projectNE10/include line 721 C/C++ Problem

    expected '=', ',', ';', 'asm' or 'attribute' before 'asm' NE10_math.h /test/jni/test-jni/projectNE10/include line 720 C/C++ Problem

    storage class specified for parameter 'ne10_fft_c2r_1d_float32' NE10_dsp.h /test/jni/test-jni/projectNE10/include line 58 C/C++ Problem

    storage class specified for parameter 'ne10_fft_r2c_1d_float32' NE10_dsp.h /test/jni/test-jni/projectNE10/include line 54 C/C++ Problem

    storage class specified for parameter 'ne10_mulmat_4x4f_c' NE10_math.h /test/jni/test-jni/projectNE10/include line 719 C/C++ Problem

    storage class specified for parameter 'ne10_sub_vec2f' NE10_math.h /test/jni/test-jni/projectNE10/include line 305 C/C++ Problem

    storage class specified for parameter 'ne10_sub_float_asm' NE10_math.h /test/jni/test-jni/projectNE10/include line 296 C/C++ Problem

    expected '=', ',', ';', 'asm' or 'attribute' before 'asm' NE10_math.h /test/jni/test-jni/projectNE10/include line 295 C/C++ Problem

    storage class specified for parameter 'ne10_sub_float_c' NE10_math.h /test/jni/test-jni/projectNE10/include line 294 C/C++ Problem

    storage class specified for parameter 'ne10_sub_vec3f' NE10_math.h /test/jni/test-jni/projectNE10/include line 317 C/C++ Problem

    storage class specified for parameter 'ne10_sub_vec2f_asm' NE10_math.h /test/jni/test-jni/projectNE10/include line 308 C/C++ Problem

    expected '=', ',', ';', 'asm' or 'attribute' before 'asm' NE10_math.h /test/jni/test-jni/projectNE10/include line 307 C/C++ Problem

    storage class specified for parameter 'ne10_sub_vec2f_c' NE10_math.h /test/jni/test-jni/projectNE10/include line 306 C/C++ Problem

    storage class specified for parameter 'ne10_subc_vec4f' NE10_math.h /test/jni/test-jni/projectNE10/include line 280 C/C++ Problem

    storage class specified for parameter 'ne10_subc_vec3f_asm' NE10_math.h /test/jni/test-jni/projectNE10/include line 271 C/C++ Problem

    storage class specified for parameter 'ne10_subc_vec3f_neon' NE10_math.h /test/jni/test-jni/projectNE10/include line 270 C/C++ Problem

    storage class specified for parameter 'ne10_subc_vec3f_c' NE10_math.h /test/jni/test-jni/projectNE10/include line 269 C/C++ Problem

    storage class specified for parameter 'ne10_sub_float' NE10_math.h /test/jni/test-jni/projectNE10/include line 293 C/C++ Problem

    storage class specified for parameter 'ne10_subc_vec4f_asm' NE10_math.h /test/jni/test-jni/projectNE10/include line 283 C/C++ Problem

    storage class specified for parameter 'ne10_subc_vec4f_neon' NE10_math.h /test/jni/test-jni/projectNE10/include line 282 C/C++ Problem

    storage class specified for parameter 'ne10_subc_vec4f_c' NE10_math.h /test/jni/test-jni/projectNE10/include line 281 C/C++ Problem

    storage class specified for parameter 'ne10_rsbc_vec2f' NE10_math.h /test/jni/test-jni/projectNE10/include line 370 C/C++ Problem

    storage class specified for parameter 'ne10_rsbc_float_asm' NE10_math.h /test/jni/test-jni/projectNE10/include line 361 C/C++ Problem

    storage class specified for parameter 'ne10_rsbc_float_neon' NE10_math.h /test/jni/test-jni/projectNE10/include line 360 C/C++ Problem

    storage class specified for parameter 'ne10_rsbc_float_c' NE10_math.h /test/jni/test-jni/projectNE10/include line 359 C/C++ Problem

    storage class specified for parameter 'ne10_rsbc_vec3f' NE10_math.h /test/jni/test-jni/projectNE10/include line 382 C/C++ Problem

    storage class specified for parameter 'ne10_rsbc_vec2f_asm' NE10_math.h /test/jni/test-jni/projectNE10/include line 373 C/C++ Problem

    storage class specified for parameter 'ne10_rsbc_vec2f_neon' NE10_math.h /test/jni/test-jni/projectNE10/include line 372 C/C++ Problem

    storage class specified for parameter 'ne10_rsbc_vec2f_c' NE10_math.h /test/jni/test-jni/projectNE10/include line 371 C/C++ Problem

    storage class specified for parameter 'ne10_sub_vec4f' NE10_math.h /test/jni/test-jni/projectNE10/include line 329 C/C++ Problem

    storage class specified for parameter 'ne10_sub_vec3f_asm' NE10_math.h /test/jni/test-jni/projectNE10/include line 320 C/C++ Problem

    expected '=', ',', ';', 'asm' or 'attribute' before 'asm' NE10_math.h /test/jni/test-jni/projectNE10/include line 319 C/C++ Problem

    storage class specified for parameter 'ne10_sub_vec3f_c' NE10_math.h /test/jni/test-jni/projectNE10/include line 318 C/C++ Problem

    storage class specified for parameter 'ne10_rsbc_float' NE10_math.h /test/jni/test-jni/projectNE10/include line 358 C/C++ Problem

    storage class specified for parameter 'ne10_sub_vec4f_asm' NE10_math.h /test/jni/test-jni/projectNE10/include line 332 C/C++ Problem

    expected '=', ',', ';', 'asm' or 'attribute' before 'asm' NE10_math.h /test/jni/test-jni/projectNE10/include line 331 C/C++ Problem

    storage class specified for parameter 'ne10_sub_vec4f_c' NE10_math.h /test/jni/test-jni/projectNE10/include line 330 C/C++ Problem

    storage class specified for parameter 'ne10_submat_3x3f' NE10_math.h /test/jni/test-jni/projectNE10/include line 436 C/C++ Problem

    storage class specified for parameter 'ne10_submat_4x4f_asm' NE10_math.h /test/jni/test-jni/projectNE10/include line 426 C/C++ Problem

    storage class specified for parameter 'ne10_submat_4x4f_neon' NE10_math.h /test/jni/test-jni/projectNE10/include line 425 C/C++ Problem

    storage class specified for parameter 'ne10_submat_4x4f_c' NE10_math.h /test/jni/test-jni/projectNE10/include line 424 C/C++ Problem

    storage class specified for parameter 'ne10_submat_2x2f' NE10_math.h /test/jni/test-jni/projectNE10/include line 449 C/C++ Problem

    storage class specified for parameter 'ne10_submat_3x3f_asm' NE10_math.h /test/jni/test-jni/projectNE10/include line 439 C/C++ Problem

    storage class specified for parameter 'ne10_submat_3x3f_neon' NE10_math.h /test/jni/test-jni/projectNE10/include line 438 C/C++ Problem

    storage class specified for parameter 'ne10_submat_3x3f_c' NE10_math.h /test/jni/test-jni/projectNE10/include line 437 C/C++ Problem

    storage class specified for parameter 'ne10_rsbc_vec4f' NE10_math.h /test/jni/test-jni/projectNE10/include line 394 C/C++ Problem

    storage class specified for parameter 'ne10_rsbc_vec3f_asm' NE10_math.h /test/jni/test-jni/projectNE10/include line 385 C/C++ Problem

    storage class specified for parameter 'ne10_rsbc_vec3f_neon' NE10_math.h /test/jni/test-jni/projectNE10/include line 384 C/C++ Problem

    storage class specified for parameter 'ne10_rsbc_vec3f_c' NE10_math.h /test/jni/test-jni/projectNE10/include line 383 C/C++ Problem

    storage class specified for parameter 'ne10_submat_4x4f' NE10_math.h /test/jni/test-jni/projectNE10/include line 423 C/C++ Problem

    storage class specified for parameter 'ne10_rsbc_vec4f_asm' NE10_math.h /test/jni/test-jni/projectNE10/include line 397 C/C++ Problem

    storage class specified for parameter 'ne10_rsbc_vec4f_neon' NE10_math.h /test/jni/test-jni/projectNE10/include line 396 C/C++ Problem

    storage class specified for parameter 'ne10_rsbc_vec4f_c' NE10_math.h /test/jni/test-jni/projectNE10/include line 395 C/C++ Problem

    storage class specified for parameter 'ne10_mulc_vec3f' NE10_math.h /test/jni/test-jni/projectNE10/include line 503 C/C++ Problem

    storage class specified for parameter 'ne10_mulc_vec2f_asm' NE10_math.h /test/jni/test-jni/projectNE10/include line 494 C/C++ Problem

    storage class specified for parameter 'ne10_mulc_vec2f_neon' NE10_math.h /test/jni/test-jni/projectNE10/include line 493 C/C++ Problem

    storage class specified for parameter 'ne10_mulc_vec2f_c' NE10_math.h /test/jni/test-jni/projectNE10/include line 492 C/C++ Problem

    storage class specified for parameter 'ne10_mulc_vec4f' NE10_math.h /test/jni/test-jni/projectNE10/include line 515 C/C++ Problem

    storage class specified for parameter 'ne10_mulc_vec3f_asm' NE10_math.h /test/jni/test-jni/projectNE10/include line 506 C/C++ Problem

    storage class specified for parameter 'ne10_mulc_vec3f_neon' NE10_math.h /test/jni/test-jni/projectNE10/include line 505 C/C++ Problem

    storage class specified for parameter 'ne10_mulc_vec3f_c' NE10_math.h /test/jni/test-jni/projectNE10/include line 504 C/C++ Problem

    storage class specified for parameter 'ne10_mulc_float' NE10_math.h /test/jni/test-jni/projectNE10/include line 479 C/C++ Problem

    storage class specified for parameter 'ne10_submat_2x2f_asm' NE10_math.h /test/jni/test-jni/projectNE10/include line 452 C/C++ Problem

    storage class specified for parameter 'ne10_submat_2x2f_neon' NE10_math.h /test/jni/test-jni/projectNE10/include line 451 C/C++ Problem

    storage class specified for parameter 'ne10_submat_2x2f_c' NE10_math.h /test/jni/test-jni/projectNE10/include line 450 C/C++ Problem

    storage class specified for parameter 'ne10_mulc_vec2f' NE10_math.h /test/jni/test-jni/projectNE10/include line 491 C/C++ Problem

    storage class specified for parameter 'ne10_mulc_float_asm' NE10_math.h /test/jni/test-jni/projectNE10/include line 482 C/C++ Problem

    storage class specified for parameter 'ne10_mulc_float_neon' NE10_math.h /test/jni/test-jni/projectNE10/include line 481 C/C++ Problem

    storage class specified for parameter 'ne10_mulc_float_c' NE10_math.h /test/jni/test-jni/projectNE10/include line 480 C/C++ Problem

    expected '=', ',', ';', 'asm' or 'attribute' before 'asm' NE10_dsp.h /test/jni/test-jni/projectNE10/include line 298 C/C++ Problem

    expected '=', ',', ';', 'asm' or 'attribute' before 'asm' NE10_imgproc.h /test/jni/test-jni/projectNE10/include line 73 C/C++ Problem

    storage class specified for parameter 'ne10_fir_sparse_float_c' NE10_dsp.h /test/jni/test-jni/projectNE10/include line 281 C/C++ Problem

    storage class specified for parameter 'ne10_img_rotate_rgba' NE10_imgproc.h /test/jni/test-jni/projectNE10/include line 77 C/C++ Problem

    storage class specified for parameter 'ne10_fir_lattice_float_c' NE10_dsp.h /test/jni/test-jni/projectNE10/include line 276 C/C++ Problem

    storage class specified for parameter 'ne10_img_resize_bilinear_rgba' NE10_imgproc.h /test/jni/test-jni/projectNE10/include line 50 C/C++ Problem

    storage class specified for parameter 'ne10_fir_interpolate_float_c' NE10_dsp.h /test/jni/test-jni/projectNE10/include line 271 C/C++ Problem

    storage class specified for parameter 'ne10_img_resize_bilinear_rgba_c' NE10_imgproc.h /test/jni/test-jni/projectNE10/include line 58 C/C++ Problem

    storage class specified for parameter 'ne10_fir_decimate_float_c' NE10_dsp.h /test/jni/test-jni/projectNE10/include line 266 C/C++ Problem

    storage class specified for parameter 'ne10_img_boxfilter_rgba8888' NE10_imgproc.h /test/jni/test-jni/projectNE10/include line 104 C/C++ Problem

    storage class specified for parameter 'ne10_fir_float_c' NE10_dsp.h /test/jni/test-jni/projectNE10/include line 261 C/C++ Problem

    storage class specified for parameter 'ne10_img_boxfilter_rgba8888_c' NE10_imgproc.h /test/jni/test-jni/projectNE10/include line 111 C/C++ Problem

    storage class specified for parameter 'ne10_fir_sparse_init_float' NE10_dsp.h /test/jni/test-jni/projectNE10/include line 252 C/C++ Problem

    storage class specified for parameter 'ne10_img_rotate_rgba_c' NE10_imgproc.h /test/jni/test-jni/projectNE10/include line 85 C/C++ Problem

    expected '=', ',', ';', 'asm' or 'attribute' before 'asm' NE10_imgproc.h /test/jni/test-jni/projectNE10/include line 100 C/C++ Problem

    storage class specified for parameter 'ne10_fir_lattice_init_float' NE10_dsp.h /test/jni/test-jni/projectNE10/include line 247 C/C++ Problem

    expected '=', ',', ';', 'asm' or 'attribute' before 'asm' NE10_dsp.h /test/jni/test-jni/projectNE10/include line 376 C/C++ Problem

    storage class specified for parameter 'ne10_iir_lattice_float_c' NE10_dsp.h /test/jni/test-jni/projectNE10/include line 362 C/C++ Problem

    storage class specified for parameter 'ne10_iir_lattice_init_float' NE10_dsp.h /test/jni/test-jni/projectNE10/include line 353 C/C++ Problem

    storage class specified for parameter 'ne10_img_boxfilter_rgba8888_neon' NE10_imgproc.h /test/jni/test-jni/projectNE10/include line 118 C/C++ Problem

    storage class specified for parameter 'ne10_iir_lattice_float' NE10_dsp.h /test/jni/test-jni/projectNE10/include line 347 C/C++ Problem

    expected '=', ',', ';', 'asm' or 'attribute' before 'asm' NE10_dsp.h /test/jni/test-jni/projectNE10/include line 340 C/C++ Problem

    expected '=', ',', ';', 'asm' or 'attribute' before 'asm' NE10_dsp.h /test/jni/test-jni/projectNE10/include line 328 C/C++ Problem

    expected '=', ',', ';', 'asm' or 'attribute' before 'asm' NE10_dsp.h /test/jni/test-jni/projectNE10/include line 318 C/C++ Problem

    expected '=', ',', ';', 'asm' or 'attribute' before 'asm' NE10_dsp.h /test/jni/test-jni/projectNE10/include line 308 C/C++ Problem

    storage class specified for parameter 'ne10_fft_c2r_1d_int16_neon' NE10_dsp.h /test/jni/test-jni/projectNE10/include line 191 C/C++ Problem

    storage class specified for parameter 'ne10_fft_r2c_1d_int16_neon' NE10_dsp.h /test/jni/test-jni/projectNE10/include line 186 C/C++ Problem

    storage class specified for parameter 'ne10_fft_c2c_1d_int16_neon' NE10_dsp.h /test/jni/test-jni/projectNE10/include line 180 C/C++ Problem

    storage class specified for parameter 'ne10_fft_c2r_1d_int32_neon' NE10_dsp.h /test/jni/test-jni/projectNE10/include line 175 C/C++ Problem

    storage class specified for parameter 'ne10_fft_r2c_1d_int32_neon' NE10_dsp.h /test/jni/test-jni/projectNE10/include line 170 C/C++ Problem

    storage class specified for parameter 'ne10_fft_c2c_1d_int32_neon' NE10_dsp.h /test/jni/test-jni/projectNE10/include line 164 C/C++ Problem

    storage class specified for parameter 'ne10_fft_c2r_1d_float32_neon' NE10_dsp.h /test/jni/test-jni/projectNE10/include line 160 C/C++ Problem

    storage class specified for parameter 'ne10_fft_r2c_1d_float32_neon' NE10_dsp.h /test/jni/test-jni/projectNE10/include line 156 C/C++ Problem

    storage class specified for parameter 'ne10_fir_interpolate_init_float' NE10_dsp.h /test/jni/test-jni/projectNE10/include line 240 C/C++ Problem

    storage class specified for parameter 'ne10_fir_decimate_init_float' NE10_dsp.h /test/jni/test-jni/projectNE10/include line 233 C/C++ Problem

    storage class specified for parameter 'ne10_fir_init_float' NE10_dsp.h /test/jni/test-jni/projectNE10/include line 227 C/C++ Problem

    storage class specified for parameter 'ne10_fir_sparse_float' NE10_dsp.h /test/jni/test-jni/projectNE10/include line 219 C/C++ Problem

    storage class specified for parameter 'ne10_fir_lattice_float' NE10_dsp.h /test/jni/test-jni/projectNE10/include line 214 C/C++ Problem

    storage class specified for parameter 'ne10_fir_interpolate_float' NE10_dsp.h /test/jni/test-jni/projectNE10/include line 209 C/C++ Problem

    storage class specified for parameter 'ne10_fir_decimate_float' NE10_dsp.h /test/jni/test-jni/projectNE10/include line 204 C/C++ Problem

    storage class specified for parameter 'ne10_fir_float' NE10_dsp.h /test/jni/test-jni/projectNE10/include line 199 C/C++ Problem

    storage class specified for parameter 'ne10_physics_compute_aabb_vec2f' NE10_physics.h /test/jni/test-jni/projectNE10/include line 47 C/C++ Problem

    storage class specified for parameter 'ne10_physics_apply_impulse_vec2f' NE10_physics.h /test/jni/test-jni/projectNE10/include line 58 C/C++ Problem

    storage class specified for parameter 'ne10_physics_relative_v_vec2f' NE10_physics.h /test/jni/test-jni/projectNE10/include line 52 C/C++ Problem

    storage class specified for parameter 'ne10_physics_relative_v_vec2f_c' NE10_physics.h /test/jni/test-jni/projectNE10/include line 73 C/C++ Problem

    storage class specified for parameter 'ne10_physics_compute_aabb_vec2f_c' NE10_physics.h /test/jni/test-jni/projectNE10/include line 68 C/C++ Problem

    storage class specified for parameter 'ne10_physics_compute_aabb_vec2f_neon' NE10_physics.h /test/jni/test-jni/projectNE10/include line 93 C/C++ Problem

    storage class specified for parameter 'ne10_physics_apply_impulse_vec2f_c' NE10_physics.h /test/jni/test-jni/projectNE10/include line 79 C/C++ Problem

    expected '=', ',', ';', 'asm' or 'attribute' before 'asm' NE10_physics.h /test/jni/test-jni/projectNE10/include line 113 C/C++ Problem

    expected '=', ',', ';', 'asm' or 'attribute' before 'asm' NE10_physics.h /test/jni/test-jni/projectNE10/include line 104 C/C++ Problem

    old-style parameter declarations in prototyped function definition NE10_math.h /test/jni/test-jni/projectNE10/include line 75 C/C++ Problem

    DB:2.75:Ne10 Header Include Errors sf


    The problem has been answered at:NE10.h include errors Issue #76 projectNe10/Ne10 GitHub

    Thanks.

  • RELEVANCY SCORE 2.74

    DB:2.74:Issue In Jni x7


    WE are using WLS6.1
    i am having issues in calliing JNI programs
    from the servlet .The issues is that it gets called only sometime.WE have checked the LD library path , it seems to be ok .

    Is there any service pack that needs to be put for JNI .

    DB:2.74:Issue In Jni x7

    WE are using WLS6.1
    i am having issues in calliing JNI programs
    from the servlet .The issues is that it gets called only sometime.WE have checked the LD library path , it seems to be ok .

    Is there any service pack that needs to be put for JNI .

  • RELEVANCY SCORE 2.73

    DB:2.73:Jni Through Borlandc++5.0 f8


    I am a beginner. I want to know the procedure of doing JNI programming through BorlandC++ version 5.0. When i run the example problem i am facing difficulty. Please help me.

    DB:2.73:Jni Through Borlandc++5.0 f8

    Start out by reading the tutorial on JNI, it is very good - http://java.sun.com/docs/books/tutorial/native1.1/index.html

  • RELEVANCY SCORE 2.72

    DB:2.72:Compilation Of Java Programs zk


    If *.java program is compiled (pass 1)using javac.exe, the class included in the program would be from the source code *.java programs from src.jar, or from bin directory? I could not find from where it gets? Please explain me .
    Thanks
    Chanikya

    DB:2.72:Compilation Of Java Programs zk

    This page gives you all the details: http://java.sun.com/j2se/1.3/docs/tooldocs/findingclasses.html

    Are they will be in src.jar file from which javac.exe will be using.No, src.jar doesn't contain any classes and it's not an important part of the sdk. It's rather rt.jar in jre/lib that contains the classes.

    Because I have encountered lots of syntax
    errors in src.jar file, java files.Really? Can you give examples?

    Example is one variables
    declared as of type int viz., b and one variable declared
    as of type char viz., c. As the following equation is
    avalid equation or not ....
    b = b*10 + c -'0';
    if it is valid if so how?It's valid: c and '0' are implicitely cast to int. The code above "appends" the character c (ranging from the char '0' to the char '9') to the integer b (in base 10); if b is 12 and c is '3', after that assignment b is 123.

  • RELEVANCY SCORE 2.72

    DB:2.72:Jvm Bombs During Jni Call To C++ Codes 87


    Dear all,

    I'm building a small program which utilizes the log4cpp program for logging.

    Below are a description of my files:
    Testing.java -- Java test program which defines and uses a native method
    Testing.cpp -- JNI C++ program which calls another C++ program
    TestLog.cpp -- C++ program which instantiates the log4cpp for logging
    Test.cpp -- C++ test program to use TestLog.cpp directly to verify that TestLog actually works.

    Steps I've done:
    1) Compile Testing.java to create the JNI header file for Testing.cpp
    2) Compile TestLog.cpp and use TestLog.o to build a libtest.a file like so:
    "g++ -o libtest.a TestLog.o ../log4cpp/include/*.o -shared -static -lc"

    3) Compile Testing.cpp and create a libtesting.so using libtest.a and Testing.o
    "g++ -o libtesting.so -shared -static -lc -L./ -ltest -I./ -I../log4cpp/include -I/usr/java/include -I/usr/java/include/linux Testing.cpp"

    4) Check that the LD_LIBRARY_PATH parameter points to where my libtesting.so is.

    It compiles fine, but when I tried to run Testing.java, the JVM bombs, giving a "Unexpected signal: 11 occured at PC=0x0".

    When I comment off the log4cpp stuff in my C++ codes, the JNI works fine. And when I use my Test.cpp to verify log4cpp, it works fine too. I'm suspecting it is due to the way I use g++, that it somehows "forgot" about log4cpp. Perhaps I missed out some important flags during compilation or something?

    Thanks!

    regards,
    Betty

    DB:2.72:Jvm Bombs During Jni Call To C++ Codes 87

    Post is little light on some details, not to mention source lines.

    Have you tried loading the core dump into gdb? I've been working with g++ and JNI and Linux and have found this to be very helpful.

    basically it can be done with:

    gdb javahome/bin/java corehome/core

    Even better if you execute it from within emacs.

  • RELEVANCY SCORE 2.72

    DB:2.72:Mustang B73, Jvmti: 10000s Of Jni Local Gc Roots cz


    Using b69, b71 and b73, I see 1000s/10000s of JNI Local GC roots using YourKit 5.1.

    Is this a known issue?

    DB:2.72:Mustang B73, Jvmti: 10000s Of Jni Local Gc Roots cz

    I can confitm that YourKit 5.1.1 fixes this issue.

    Thanks (to both of you) for the quick response!

  • RELEVANCY SCORE 2.72

    DB:2.72:Report For No Compilation d7



    Hi,

    Someone knows the name of the report which sap no compile the programs??

    Thanks

    DB:2.72:Report For No Compilation d7


    Wow... don't think such a report could exist in ABAP. ABAP is actually a macro language. It NEEDS to compile into a lower level language that can be executed on a box.

    I think you are confused about the compilation concept.

  • RELEVANCY SCORE 2.72

    DB:2.72:Re: Slow-Running Programs 9j


    It may turn out there is a small section of your code which just won't go fast enough. If this is the case you can write the code in C/C++ and use JNI to turn the code into "native" methods. In reality, it has been years since I have had a use for this technique, partly because CPUs are faster today, and my programming is better :)

    DB:2.72:Re: Slow-Running Programs 9j

    Try these:

    1) Java Performance Tuning (2nd Edition) by Jack Shirazi
    2) Server-Side Programming Techniques (Java(TM) Performance and Scalability, Volume 1) by Dov Bulka
    3) Programming Pearls (2nd Edition) -- by Jon Bentley (not java specific, but good examples about optimizing)

    - N

  • RELEVANCY SCORE 2.71

    DB:2.71:Compilation Fails da



    Hi there

    I am trying to compile a shared library with gcc for usage in java JNI. But the compilation of a simple HelloWorld program fails.

    The compilation output is the following:[paul@HP-ARCH JNIGeany]$ cc -shared -I/usr/lib/jvm/java-6-openjdk/include/ -I/usr/lib/jvm/java-6-openjdk/include/linux TestLib.cpp/usr/bin/ld: /tmp/ccyze1mb.o: relocation R_X86_64_32 against `_ZSt4cout can not be used when making a shared object; recompile with -fPIC/tmp/ccyze1mb.o: could not read symbols: Bad valuecollect2: error: ld returned 1 exit status

    The cpp file:
    #includeiostream
    #includejni.h
    #include de_schaefer_jnitest_HelloWorld.h // this header file was generated by javah

    using namespace std;
    JNIEXPORT void JNICALL Java_HelloWorld_Output(JNIEnv *env, jobject obj, jstring value)
    {
    cout value;
    }

    int main() {
    cout Test endl;

    }

    DB:2.71:Compilation Fails da


    Sorry I didnt knew that this is possible here...

  • RELEVANCY SCORE 2.71

    DB:2.71:Jni And Win32 Api jk


    I'm learning to use JNI and win32 api together.

    Where can I find a list of WIN32 APIs? What is the good book or tutorial for these WIN32 APIs?

    DB:2.71:Jni And Win32 Api jk

    Thanks for the info. :)
    1 duke dollar for you

  • RELEVANCY SCORE 2.71

    DB:2.71:Compilation Error In Native Code fc


    Hi,
    I am new to JNI.
    I am trying to print a string from my java program using JNI though c++ native function.
    When I compile the c++ program, I get the following error.
    Could anyone please tell me what this error is about ?

    compare3NumbersImp.cpp: In function `void Java_compare3Numbers_printResultString(JNIEnv *, jobject *, jstring *)':
    compare3NumbersImp.cpp:12: base operand of `-' has non-pointer type `JNIEnv_'
    compare3NumbersImp.cpp:14: base operand of `-' has non-pointer type `JNIEnv_'
    *** Error code 1

    Thank a lot.
    SP

    DB:2.71:Compilation Error In Native Code fc

    See this URL for solution
    http://forum.java.sun.com/thread.jspa?threadID=380339
    messageID=1628373#1628373

    -SureshSorry for asking, for some reason this link didn't work for the first time. Thank you.

  • RELEVANCY SCORE 2.71

    DB:2.71:Any Jni Help Programs? 83


    Hi.

    Does anyone know about simple (free) programs to generate java stubs from COM objects?

    regards
    Andreas

    DB:2.71:Any Jni Help Programs? 83

    Take a look a swig, maybe it will help.

    www.swig.org

  • RELEVANCY SCORE 2.69

    DB:2.69:Re: Unable To Execute Command Line Command In Java 71


    If you can't get the os command to run using Runtime's methods, then the alternative is Java Native Interface (JNI), which can execute c/c++ programs from Java. However, it is considerably more problematic to get that working. Sun has documentation about JNI that you would first need to absorb. The NetBeans IDE has an optional module that will help create JNI application, and it includes a tutorial (recommended.)

    DB:2.69:Re: Unable To Execute Command Line Command In Java 71

    From experience I can say that the spaces are unnecessary and if included will often cause problems.Glad to know that the space is not required.. In this instance (creating a XP command) the extra spaces are harmless - otherwise I wouldn't have used them.

  • RELEVANCY SCORE 2.69

    DB:2.69:Character Conversion In Jni 9m


    We face a problem using JNI package and conversion of characters. From Forms Developer we offer a characterstring (representing a documentname) to the JNI package (ADD_OBJECT_ARG), containing a 'special' character like: . From the JNI environment we copy this document to the filesystem and we see a conversion of the to the euro-sign after the document has been created, ergo a character conversion has arised here. JNI (java environment) uses the UNI code characterset. DB and AS use the P1 characterset. Am I correct that the JNI package references one of these two characterset resulting in the character conversion?

    Thanks,
    Remco.

    DB:2.69:Character Conversion In Jni 9m

    We face a problem using JNI package and conversion of characters. From Forms Developer we offer a characterstring (representing a documentname) to the JNI package (ADD_OBJECT_ARG), containing a 'special' character like: . From the JNI environment we copy this document to the filesystem and we see a conversion of the to the euro-sign after the document has been created, ergo a character conversion has arised here. JNI (java environment) uses the UNI code characterset. DB and AS use the P1 characterset. Am I correct that the JNI package references one of these two characterset resulting in the character conversion?

    Thanks,
    Remco.

  • RELEVANCY SCORE 2.68

    DB:2.68:Unsatisfiedlink Exception!!!!Plz Help...... pa


    Hi,

    i am trying to call a method of c++
    from java using JNI,
    the c++ method is a member function
    of a class....
    compilation is no problem....
    at run time ,UnsatisfiedLink exception is
    coming..........
    the moment i make the native method a simple
    method....i.e not inside any class...there is
    no problem....

    PLZ help..............

    Regards,

    Sheeba

    DB:2.68:Unsatisfiedlink Exception!!!!Plz Help...... pa

    Hi..
    Thanks for all your suggestions..
    actually i checked with "java -verbose:jni "option.
    i found that, it is actually finding that library and trying to load it.
    but inside that i have referred to a third party function, which it says not found. i have the third party header file in my PATH.

    any idea about solving this..

    do i have to do build the library with some option, so that all the things needed will be added to it, to make it a complete stand-alone one?

    Thanks,
    arun.

  • RELEVANCY SCORE 2.68

    DB:2.68:Re: Native Executable Launching Embedded Jvm For Java5/6 sx


    The JNI specification assures you of that.

    DB:2.68:Re: Native Executable Launching Embedded Jvm For Java5/6 sx

    michael_n wrote:
    Then it sounds like you are doing what I suggested. Yes and no... and of course "your suggestion" is a valid one, which I also made to someone else last year. You are building the class files with java 5. That was my suggestion.

    The other information is outside the context of that.

    Of course though someone else might get some benefit from the notes on your environment.

  • RELEVANCY SCORE 2.68

    DB:2.68:Jni And Multithreading - Problems af


    Hi,

    I understood that JNI can have a lot of problems in multithreaded environments.
    Is this true and/or can someone clarify this out?

    Thank you very much!

    DB:2.68:Jni And Multithreading - Problems af

    the problem is maybe this:
    http://forum.java.sun.com/thread.jspa?threadID=5244066tstart=0

    Should i have to reload the dll separately for each thread? (otherwise it runs in the same memory space and the threads which are using the dll's simultaneously can disturb eachother; is this correct????)

  • RELEVANCY SCORE 2.68

    DB:2.68:Jni Documentation 1k


    I don't know much about JNI and wish to learn about it. Where can I find documentations of the JNI and /or Tutorials?

    Daniel

  • RELEVANCY SCORE 2.67

    DB:2.67:Errors While Writing Jni (Java-C++) Classes ks


    Hi,

    I am trying to write some JNI applications and meeting weird errors. I am using MS VC++ editor to write and compile C++ programs on Windows NT.

    Here is the list of errors I am receiving.

    error C2146: syntax error : missing ';' before identifier 'jstring'
    error C2501: 'JNIEXPORT' : missing storage-class or type specifiers
    fatal error C1004: unexpected end of file found

    Any help would be greatly appreciated.

    Thanks,
    -Sunkara

    DB:2.67:Errors While Writing Jni (Java-C++) Classes ks

    Hi,

    here is the code of what I am trying to do. Let me know if you need more info.

    Code for JNIMethods.cpp:

    #include "JNIMethods.h"

    using namespace std;

    JNIEXPORT jstring JNICALL Java_TestingClass_callJNIMethod(JNIEnv* env, jstring userName)
    {
    string CppCustomerStr = "Testing JNI Method";

    jint len = CppCustomerStr.length()+1;
    jchar *custChar = new jchar[len];

    for(int i=0;ilen;i++)
    {
    custChar[i] = (char)(CppCustomerStr);
    }

    return CPPStringToJavaString(env,custChar,len);

    }

    jstring CPPStringToJavaString(JNIEnv env, jchar chars, jint len)
    {
    jclass stringClass;
    jcharArray elemArr;
    static jmethodID cid = NULL;
    jstring result;

    stringClass = (jclass) env-FindClass("java/lang/String");
    if (stringClass == NULL)
    {
    return NULL; // exception thrown
    }

    // Note that cid is a static variable
    if (cid == NULL)
    {
    // Get the method ID for the String constructor
    cid = env-GetMethodID(stringClass,
    "init", "([C)V");
    if (cid == NULL)
    {
    return NULL; // exception thrown
    }
    }

    // Create a char[] that holds the string characters
    elemArr = env-NewCharArray(len);
    if (elemArr == NULL)
    {
    return NULL; // exception thrown
    }
    env-SetCharArrayRegion(elemArr, 0, len, chars);

    // Construct a java.lang.String object
    result = (jstring) env-NewObject(stringClass, cid, elemArr);

    //* Allow local ref to intermediate char[] to be freed
    env-DeleteLocalRef(elemArr);

    return result;

    }//end of CPPStringToJavaString()

    Code for JNIMethods.h:

    /* DO NOT EDIT THIS FILE - it is machine generated */
    #include "jni.h"

    #ifdef __cplusplus
    extern "C" {
    #endif
    /*
    * Class: TestingClass
    * Method: callJNIMethod
    * Signature: jstring
    */
    JNIEXPORT jstring JNICALL Java_TestingClass_callJNIMethod(JNIEnv *, jstring userName);

    jstring CPPStringToJavaString(JNIEnv *env, jchar *chars, jint len);

    #ifdef __cplusplus
    }
    #endif

    Also, could any one tell me how to set the classpath in MS VC++ 6.0

    Thanks,
    -Sunkara

  • RELEVANCY SCORE 2.66

    DB:2.66:Jni 3d


    Is it possible to run a JNI method using the .class file of c++ instead of .dll If yes please tell me if there is any special procedure for that.

    Thanks in advance

    DB:2.66:Jni 3d

    I've never heard of a .class file from c++.

    But I assume that what you want to do is - via jni - access an object whose source code is C++.

    You can do it, but not directly. The JNI interface is a C interface. And C does not provide for the combination of object reference and method address. What you would have to do is write some kind of a wrapper - in C - that instantiates the objects of the type you want, and which your java code wil then call when there is something for one of the instances to do.

  • RELEVANCY SCORE 2.66

    DB:2.66:"Servlet + Jni", Anybody Making This?? cj


    I am trying to combine Servlet + JNI
    but the big problem is "DLL is loaded, but server can't find the method of DLL's"

    so strange... help~~

    DB:2.66:"Servlet + Jni", Anybody Making This?? cj

    web server should have the dll right.
    if it so..
    u just create a interface class which can access native methods...

    try to register the server once again...

  • RELEVANCY SCORE 2.66

    DB:2.66:Mapping Struct Dataype In C To Java Jni k1


    Do anyone have idea how to map struct datatype in C to Java JNI?

    I've got idea and examples of mapping primitive datatype and array in C to Java JNI but none for struct datatype in C?

    Hope I can got an example of it! Thanks!!!

    DB:2.66:Mapping Struct Dataype In C To Java Jni k1

    Hi ,
    I am landing up in a similar kind of problem. Here I have two programs running independently , that is one in Java and another in C. The java program has to continuously pass on some byte[ ] in real time for the C Program to process it. The C program will not return anything to the Java Program. Just the Java Program has to fill in the arrays which in turn is to be accessed by the C Program. In other way it is the memory sharing between the two programs. If you can give me some pointers how to go about it through JNI that will be of much help. I am pretty new to Java.
    Thanking in Advance,
    PK

  • RELEVANCY SCORE 2.66

    DB:2.66:Error 306, Wrong Number Or Types Of Argument In Call To Add_Object_Arg 33


    Hello all,
    I am trying to install Webutil to Forms 9i, but when compiling the webutil.pll, I am getting the compilation error 306, wrong number or types of argument in call to ADD_OBJECT_ARG(args, a0, 'java/lang/Object').
    The problems are in the body of Package Jave_System when some methods of JNI are called.

    What is JNI and how i can fix this problem?

    DB:2.66:Error 306, Wrong Number Or Types Of Argument In Call To Add_Object_Arg 33

    Hello all,
    I am trying to install Webutil to Forms 9i, but when compiling the webutil.pll, I am getting the compilation error 306, wrong number or types of argument in call to ADD_OBJECT_ARG(args, a0, 'java/lang/Object').
    The problems are in the body of Package Jave_System when some methods of JNI are called.

    What is JNI and how i can fix this problem?

  • RELEVANCY SCORE 2.65

    DB:2.65:Can I Use Jni k1


    Hi Java Gurus,

    we are Developing a realtime Telecom Application ,
    It is a C++ Application , We have to finalize Technology used between Application and database. we have to Access some API To Access DATABASE ,those API will be in JAVA..

    Which will be beter option , shall we go for CORBA or JNI?
    I am new to JNI... please provide Performance Details of JNI.

    thanks in advance..

    venugopal

    DB:2.65:Can I Use Jni k1

    see http://forum.java.sun.com/thread.jsp?forum=52thread=94459.

    Regards,

    Dimitri

  • RELEVANCY SCORE 2.65

    DB:2.65:Mapping Of C Struct To Java j1


    Mapping of C struct to Java using JNI Hi, i want to ask if there is any possibility how to map C struct to Java using JNI. I need to move some data provided in struct to Java application using JNI.
    regards,
    Arunkumar

    DB:2.65:Mapping Of C Struct To Java j1

    Here's from a Java Live Chat:

    jdnbor: Most of the current docs on JNI focus on calling Java from C and C++. I am interested in Java-wrapping legacy code, especially Win32 APIs for some install-related activities like Registry. Could you say something about how C and C++ types, especially char*, struct*, and function*, map to Java types if at all?

    SPK-Sheng: The JNI also allows you to call C and C++ code from Java. On the Java side, you need to declare a special method called native methods. On the C and C++ side, you'll provide the implementation for native methods. The JNI tutorial on our web site contains detailed step-by-step instructions on how to write a JNI native method. The second part of your question--to map C and C++ types, such as char* and struct*, to Java, you need to create a "peer" class in Java, which stores the C pointers as an integer. The constructor can then call malloc to initialize the C data structure, and the finalizer will free it when the object is no longer in use.

    Source: http://developer.java.sun.com/developer/community/chat/JavaLive/1997/jl0318.html

  • RELEVANCY SCORE 2.65

    DB:2.65:Medialib? 3k


    I was wondering why Sun MediaLib ( http://www.sun.com/processors/vis/mlibfiles.html ) enablement wasn't provided within JMF. There is a JNI wrapper for MediaLib available.

    Just running a few of the demo programs I noticed a significant improvement in performance when using VIS instructions versus the traditional algorithms. On my 650Mhz UltrasparcIIi single CPU system, I was getting as much as 1.9 to 1 ratio.

    It seems worthwhile to investigate, don't you think?

    DB:2.65:Medialib? 3k

    I was wondering why Sun MediaLib ( http://www.sun.com/processors/vis/mlibfiles.html ) enablement wasn't provided within JMF. There is a JNI wrapper for MediaLib available.

    Just running a few of the demo programs I noticed a significant improvement in performance when using VIS instructions versus the traditional algorithms. On my 650Mhz UltrasparcIIi single CPU system, I was getting as much as 1.9 to 1 ratio.

    It seems worthwhile to investigate, don't you think?

  • RELEVANCY SCORE 2.65

    DB:2.65:Error In Calling 'C' Program From Java sc


    Hi,

    We developed a 'C' Program and during compilation, we got a couple of Incompatible Prototype warnings. Then we made a Jni call to 'C' program from Java Program. The program returned a "Unsatisfied Link Error - unreference Symbol not found" error.

    Does Jni call fails owing to warnings by compiler?

    We are using Sun Solaris 2.8.

    Request your assistance as this a urgent issue.

    Thanks

    Srini

    DB:2.65:Error In Calling 'C' Program From Java sc

    Did you try running your C program through g++? It sounds like something is broken, but GCC often will allow you to compile anyways.

    -Jason Thomas.

  • RELEVANCY SCORE 2.64

    DB:2.64:Jni: Converting Char* To Jni Type? 73


    In my native C++ code I have to call a function through another dll. This function has an OUT parameter which is of type: char *.
    I need to return this parameter to the calling Java method through the native C++ code using JNI ...is the corresponding JNI type that i should be returning jcharArray or jstring??
    If so, how do I convert char * to the jcharArray/jstring type.

    DB:2.64:Jni: Converting Char* To Jni Type? 73

    Things may not be that simple. Beware that this function dos not expect any kind of char* . It expects UTF-8-encoded string.

    it means that if your C string is all basic (i.e 127) chars, it is ok.

    but if you have some special characters ( where ascii code 128), it may not be interpreted the way you want.

    see the end of http://java.sun.com/j2se/1.3/docs/guide/jni/spec/types.doc.html
    for more details.

  • RELEVANCY SCORE 2.64

    DB:2.64:Recursive Calls To Jni Functions In Shared Library? cc


    Hi,
    I'm running on an HP UNIX system, JDK1.3, JNI 1.2. I currently have a main test harness in 'C' that calls out to functions in a shared library. These functions then start the JVM with JNI_CreateJavaVM, call their appropriate java methods, DestroyJVM, and then return to the C function, which in turn returns to the main. This works fine.

    However, if I change the 'main' to call functionA, and then when that returns, I call functionB, then functionB hangs forever on the call to JNI_CreateJavaVM. If I call functionB in isolation, no problem. Is there an issue with recursive calls to JNI_CreateJavaVM?? I've hacked all of the code to its simplest level (i.e. no string allocation, etc), and I get exactly the same problem. All of the JNI variables (env, jvm, etc) are declared individually in each of the C functions at the moment so I don't think it's a problem with them being re-used either.

    Any ideas?? 'C' code shown below. Only thing missing is the main that does invoke_test1, followed by invoke_test2! You'll have to excuse duplicate variable definitions, general flakiness of code, etc - it is at a prototype stage! These 2 functions are built into a shared library that the main invokes.

    void invoke_test1(void)
    {
    JNIEnv *env;
    JavaVM *jvm;
    JavaVMInitArgs vm_args;
    JavaVMOption options[4];

    jint res;
    jclass cls;
    jmethodID mid;

    char *methodName;
    char *environment;
    char *envKey = "CLASSPATH";

    printf("Test1 version 3.0\n");

    environment = getenv(envKey);

    options[0].optionString = "-Djava.class.path=";
    options[1].optionString = "-verbose:jni,class";
    options[2].optionString = "-Djava.library.path=/home/users/TestDir";
    options[3].optionString = "-Djava.compiler=NONE";

    strcat(options[0].optionString,environment);

    vm_args.options = options;
    vm_args.nOptions = 4;
    vm_args.ignoreUnrecognized = 1;
    vm_args.version = JNI_VERSION_1_2;

    printf("Creating the jvm \n");

    /* Create the Java VM */
    res = JNI_CreateJavaVM(jvm,(void**)env,vm_args);
    if (res 0)
    {
    printf("Can't create Java VM\n");
    exit(1);
    }

    printf("jvm created \n");

    cls = (*env)-FindClass(env, "Test");
    if (cls == 0)
    {
    printf("Can't find Test class\n");
    exit(1);
    }

    methodName = "test1";

    printf("About to call test1 java method.\n");

    mid = (*env)-GetStaticMethodID(env, cls, methodName,
    "()V");

    printf("At the end of the test 1 C leg.");

    (*jvm)-DestroyJavaVM(jvm);
    }

    void invoke_test2(void)
    {
    JNIEnv *env;
    JavaVM *jvm;
    JavaVMInitArgs vm_args;
    JavaVMOption options[4];

    jint res;
    jclass cls;
    jmethodID mid;

    char *methodName;
    char *environment;
    char *envKey = "CLASSPATH";

    printf("Test2 version 3.0\n");

    environment = getenv(envKey);

    options[0].optionString = "-Djava.class.path=";
    options[1].optionString = "-verbose:jni,class";
    options[2].optionString = "-Djava.library.path=/home/users/TestDir";
    options[3].optionString = "-Djava.compiler=NONE";

    strcat(options[0].optionString,environment);

    vm_args.options = options;
    vm_args.nOptions = 4;
    vm_args.ignoreUnrecognized = 1;
    vm_args.version = JNI_VERSION_1_2;

    printf("Creating the jvm \n");

    /* Create the Java VM - THIS IS WHERE WE HANG!!!! */
    res = JNI_CreateJavaVM(jvm,(void**)env,vm_args);
    if (res 0)
    {
    printf("Can't create Java VM\n");
    exit(1);
    }

    printf("jvm created \n");

    cls = (*env)-FindClass(env, "Test");
    if (cls == 0)
    {
    printf("Can't find Test class\n");
    exit(1);
    }

    methodName = "test2";

    printf("About to call test2. \n");

    mid = (*env)-GetStaticMethodID(env, cls, methodName,
    "()V");

    printf("At the end of the test 2 C leg.");

    (*jvm)-DestroyJavaVM(jvm);
    }If it helps, here is the JNI verbose output -

    Test1 version 3.0
    Creating the jvm
    HotSpot VM warning: Setting of property "java.compiler" is ignored
    HotSpot VM warning: Disabling implicit null checks.
    [Dynamic-linking native method java.lang.Object.registerNatives ... JNI]
    [Registering JNI native method java.lang.Object.hashCode]
    [Registering JNI native method java.lang.Object.wait]
    [Registering JNI native method java.lang.Object.notify]
    [Registering JNI native method java.lang.Object.notifyAll]
    [Registering JNI native method java.lang.Object.clone]
    [Dynamic-linking native method java.lang.System.registerNatives ... JNI]
    [Registering JNI native method java.lang.System.currentTimeMillis]
    [Registering JNI native method java.lang.System.arraycopy]
    [Dynamic-linking native method java.lang.Thread.registerNatives ... JNI]
    [Registering JNI native method java.lang.Thread.start]
    [Registering JNI native method java.lang.Thread.stop0]
    [Registering JNI native method java.lang.Thread.isAlive]
    [Registering JNI native method java.lang.Thread.suspend0]
    [Registering JNI native method java.lang.Thread.resume0]
    [Registering JNI native method java.lang.Thread.setPriority0]
    [Registering JNI native method java.lang.Thread.yield]
    [Registering JNI native method java.lang.Thread.sleep]
    [Registering JNI native method java.lang.Thread.currentThread]
    [Registering JNI native method java.lang.Thread.countStackFrames]
    [Registering JNI native method java.lang.Thread.interrupt0]
    [Registering JNI native method java.lang.Thread.isInterrupted]
    [Dynamic-linking native method java.security.AccessController.getStackAccessCont
    rolContext ... JNI]
    [Dynamic-linking native method java.security.AccessController.getInheritedAccess
    ControlContext ... JNI]
    [Dynamic-linking native method java.lang.System.initProperties ... JNI]
    [Dynamic-linking native method java.io.FileInputStream.initIDs ... JNI]
    [Dynamic-linking native method java.io.FileDescriptor.initIDs ... JNI]
    [Dynamic-linking native method java.io.FileOutputStream.initIDs ... JNI]
    [Dynamic-linking native method java.lang.System.setIn0 ... JNI]
    [Dynamic-linking native method java.lang.Class.registerNatives ... JNI]
    [Registering JNI native method java.lang.Class.getName]
    [Registering JNI native method java.lang.Class.getSuperclass]
    [Registering JNI native method java.lang.Class.getInterfaces]
    [Registering JNI native method java.lang.Class.getClassLoader0]
    [Registering JNI native method java.lang.Class.newInstance0]
    [Registering JNI native method java.lang.Class.isInterface]
    [Registering JNI native method java.lang.Class.getSigners]
    [Registering JNI native method java.lang.Class.setSigners]
    [Registering JNI native method java.lang.Class.isArray]
    [Registering JNI native method java.lang.Class.isPrimitive]
    [Registering JNI native method java.lang.Class.getComponentType]
    [Registering JNI native method java.lang.Class.getModifiers]
    [Registering JNI native method java.lang.Class.getFields0]
    [Registering JNI native method java.lang.Class.getMethods0]
    [Registering JNI native method java.lang.Class.getConstructors0]
    [Registering JNI native method java.lang.Class.getField0]
    [Registering JNI native method java.lang.Class.getMethod0]
    [Registering JNI native method java.lang.Class.getConstructor0]
    [Registering JNI native method java.lang.Class.getProtectionDomain0]
    [Registering JNI native method java.lang.Class.setProtectionDomain0]
    [Registering JNI native method java.lang.Class.getDeclaredClasses0]
    [Registering JNI native method java.lang.Class.getDeclaringClass]
    [Dynamic-linking native method java.io.ObjectStreamClass.initNative ... JNI]
    [Dynamic-linking native method java.lang.ClassLoader.getCallerClassLoader ... JN
    I]
    [Dynamic-linking native method java.lang.Class.forName0 ... JNI]
    [Dynamic-linking native method java.security.AccessController.doPrivileged ... J
    NI]
    [Dynamic-linking native method java.lang.System.setOut0 ... JNI]
    [Dynamic-linking native method java.lang.System.setErr0 ... JNI]
    [Dynamic-linking native method java.lang.Compiler.registerNatives ... JNI]
    [Registering JNI native method java.lang.Compiler.initialize]
    [Registering JNI native method java.lang.Compiler.compileClass]
    [Registering JNI native method java.lang.Compiler.compileClasses]
    [Registering JNI native method java.lang.Compiler.command]
    [Registering JNI native method java.lang.Compiler.enable]
    [Registering JNI native method java.lang.Compiler.disable]
    [Dynamic-linking native method java.io.FileSystem.getFileSystem ... JNI]
    [Dynamic-linking native method java.io.UnixFileSystem.initIDs ... JNI]
    [Dynamic-linking native method java.security.AccessController.doPrivileged ... J
    NI]
    [Dynamic-linking native method java.io.UnixFileSystem.list ... JNI]
    [Dynamic-linking native method java.io.UnixFileSystem.canonicalize ... JNI]
    [Dynamic-linking native method java.io.UnixFileSystem.getBooleanAttributes0 ...
    JNI]
    jvm created
    [Dynamic-linking native method java.lang.ClassLoader.findLoadedClass ... JNI]
    [Dynamic-linking native method java.lang.ClassLoader.findBootstrapClass ... JNI]
    [Dynamic-linking native method java.lang.Throwable.fillInStackTrace ... JNI]
    [Dynamic-linking native method java.security.AccessController.doPrivileged ... J
    NI]
    [Dynamic-linking native method java.lang.Class.getPrimitiveClass ... JNI]
    [Dynamic-linking native method java.lang.Character.initStaticArrays ... JNI]
    [Dynamic-linking native method java.lang.String.intern ... JNI]
    [Dynamic-linking native method java.lang.System.getCallerClass ... JNI]
    [Dynamic-linking native method java.lang.System.mapLibraryName ... JNI]
    [Dynamic-linking native method java.lang.ClassLoader$NativeLibrary.load ... JNI]
    [Dynamic-linking native method java.util.zip.ZipFile.initIDs ... JNI]
    [Dynamic-linking native method java.util.zip.ZipFile.open ... JNI]
    [Dynamic-linking native method java.io.FileInputStream.open ... JNI]
    [Dynamic-linking native method java.io.UnixFileSystem.getLength ... JNI]
    [Dynamic-linking native method java.io.FileInputStream.readBytes ... JNI]
    [Dynamic-linking native method java.io.FileInputStream.close ... JNI]
    [Dynamic-linking native method java.io.FileInputStream.available ... JNI]
    [Dynamic-linking native method java.lang.ClassLoader.defineClass0 ... JNI]
    About to call test1 java method.
    [Dynamic-linking native method java.io.FileOutputStream.writeBytes ...
    Hello from test1 java method
    JNI]
    At the end of the test 1 C leg.
    Test 2 version 3.0
    Creating the jvm
    HotSpot VM warning: Setting of property "java.compiler" is ignored
    [Dynamic-linking native method java.lang.Object.registerNatives ... JNI]
    [Registering JNI native method java.lang.Object.hashCode]
    [Registering JNI native method java.lang.Object.wait]
    [Registering JNI native method java.lang.Object.notify]
    [Registering JNI native method java.lang.Object.notifyAll]
    [Registering JNI native method java.lang.Object.clone]

    And that's where it hangs.
    To save you checking, the next thing Test1 did was java.lang.System.registerNatives.

    DB:2.64:Recursive Calls To Jni Functions In Shared Library? cc

    Thanks jschell, you really are too kind!

    I'm embarrassed to learn that the JVM we've been running for a couple of years isn't a Sun JVM - I'd always assumed (dangerous) that it was!

    By the way, keeping the JVM running (i.e. removing the DestroyJVM and making a couple of the variables global) achieved what I wanted it to. Still, I may just check out the HP documentation to see if Destroy is supposed to work on their platform.

    Thanks again, much appreciated.

  • RELEVANCY SCORE 2.64

    DB:2.64:Cant Get Lame To Compile In Jni 3k


    Hello, I have been following this tutorialhttp://developer.samsung.com/android/technical-docs/Porting-and-using-LAME-MP3-on-Android-with-JNI, however I dont seem to get it to complile when it comes toCompilation with NDK section. The following is the error that I get

    Code
    Android NDK: WARNING: APP_PLATFORM android-17 is larger than android:minSdkVersion 7 in ./AndroidManifest.xml
    [armeabi] Compile thumb : mp3lame = bitstream.c
    jni/./libmp3lame/bitstream.c:33:18: fatal error: lame.h: No such file or directory
    compilation terminated.
    make.exe: *** [obj/local/armeabi/objs/mp3lame/./libmp3lame/bitstream.o] Error 1

    DB:2.64:Cant Get Lame To Compile In Jni 3k

    I placed it in the JNI folder, we put libmp3lame into the jni folder just like it was said in the tutorial. However when we make a call we get an error. Is it possible to use the following syntax to call the method

    JNIEXPORT jstring JNICALL Java_com_***********r_NativeLib_convertMP3toWav
    (JNIEnv *env, jclass clazz, jstring mp3path){
    }

  • RELEVANCY SCORE 2.64

    DB:2.64:Jni Equivalent Of An Unsigned Char * ps


    Hi,
    I have a String in Java that needs to be passed to a predefined C library routine. The routine's signature is

    master(unsigned char *).

    How do I pass this string so that the routine can process it.I tried passing it as a jbyte array from java , the compilation and stuff does not fail but , my routine is returning an error because it is not able to read the data.

    Thanks in advance.

    DB:2.64:Jni Equivalent Of An Unsigned Char * ps

    Images are not ascii. The fact that some characters may display as that means nothing.

    I believe images contain values that define their size.

    So
    - Use JNI to copy the array to a buffer
    - Pass that to your C method.

  • RELEVANCY SCORE 2.64

    DB:2.64:Noclassdeffounderror d1


    Hello Everybody

    I installed Windows XP on my PC and after its installation i m unable to run java programs. I mean there is no problem in compilation of programs, but when i write java class name ... it gives me NoClassDefFoundError..... i have also installed the plug-in.. but still its not working...

    Any Solution??

    plz help

    DB:2.64:Noclassdeffounderror d1

    Also, on a more helpful note. What class does it say it can't find, you usefully missed this bit out?

    Is it your class?

    Is it one of the standard Java classes?

  • RELEVANCY SCORE 2.64

    DB:2.64:Edk9.1+Sp2 :Bsp Compilation Ignored ,Why???Answer?? mf



    INFO:MDT - Os vxworks5_5 of processor cpu_ppc405 has bsp compilation set to false. BSP compilation ignored ...

    DB:2.64:Edk9.1+Sp2 :Bsp Compilation Ignored ,Why???Answer?? mf

    As Steve mentioned, XPS only creates the BSP. You cannotuse XPS to compile the BSP. This needs to be done in VxWorks's SW suite.
    Here are some examples:http://www.xilinx.com/products/boards/ml410/index.html
    http://www.xilinx.com/support/documentation/application_notes/xapp947.pdf
    http://www.xilinx.com/ise/embedded/vxworks6_3.pdf

  • RELEVANCY SCORE 2.63

    DB:2.63:Remote Debugging 39



    Dear all,

    I am trying to do a remote compilation on Intel Fortran for x-64, visual studio. The remote machine is running windows vista. I get the following message at the end of the compilation:

    Unable to start program
    The components for the 64-bit debugger are not registered. Please repair your Visual Studio 2005 Remote Debugger installation via 'Add or Remove Programs'

    I can do remote compilation and run programs on a similar machine but using windows XP. Any suggestions? I already "fixed" Visual Studio and re-installed the remote debugger.

    Pablo

    DB:2.63:Remote Debugging 39


    When you reinstalled the remote debugger, did you select the x64 version? Have you installed VS2005 SP1 and the Vista Compatibility update?

  • RELEVANCY SCORE 2.63

    DB:2.63:Jit And Aot Compilation s3


    Hi there..

    My question has to do with improving performance.

    Currently there exist a few techniques that improve Java's
    performance. I would like to concentrate on two of them:

    Just-In-Time compilation and Ahead-Of-Time compilation. I know
    what which one is doing but i am still confused about a specific
    thing. JIT compilers, generate native code while still maintain the
    JVM as some interpretations still need to be done. My question is
    with the utilization of a JIT compiler is the application still platform-
    indepedent (can i still run the application on a Unix machine for
    example?) if not then what is the advantage over AOT compilers?
    Conversely, AOT generate native code in a similar way like that in
    C/C++ and other static compilers so i suppose there is no question
    about maintaining portability.

    Finally, i would like to ask you something last. In an application
    that i developed i am using some JNI code in order to access
    hardware ports with java (i.e. some AD/DA interface card). I
    generated the DLL library with Visual C++ on windows 98. I tried to
    run my application (i.e. normal bytecode files) to a machine with
    windows NT and i got some error about the DLL native code. Does
    that mean that i lose portability whenever i use JNI? is the
    generated library platform depended? What is the solution to this
    problem? Do i have to create a DLL file in a windows NT machine?
    and in general in every different machine that i want to run my
    application on?

    Sorry for this lengthy post.

    Thanks in advance,
    John

    DB:2.63:Jit And Aot Compilation s3

    In response to your second point, the inp and outp
    C/C++ instructions (or, more correctly, the underlying
    asm in, out instructions), are reserved for use in
    device drivers only under NT, unlike 95/98. So yes the
    behaviour is expected. That said, most JNI DLLs that
    run on 95/98 will run on NT/2000. But of course,
    there's not a chance they would run on
    Linux/UNIX/HPUX. So, in short using JNI does
    compromise portability.So, could i use JavaBeans in order to ensure platform independence?
    is that the concept of JavaBeans?

    Thank you,
    John

  • RELEVANCY SCORE 2.63

    DB:2.63:Compilation Error In Creating Shared Library Via Jni pz


    Hi ALL,
    I amin serious trouble with a problem. I am developing a Simulator, a function of which is to decode MPEG-2 Video files in real time and play it as well.I have got a MPEG-2 Decoder implemented in C from an open source and need to integrate with my Simulator which is writtebn in Java. The integration part I am doing via JNI(Java Native Interface). Now I have a bunch of C files in MPEG-2 decoder which are to be compiled during the Execution of the Java Simulator.Can anybody give some idea about how to call multiple C files from the Java Source through JNI at one go? Another problem I am facing is in calling a single C code from the traditional "HelloWorld" Java Code itself. The problem comes when I am trying to compile the shared library between the C native code and Java Code in my Linux Machine...I am getting the following message:

    /usr/lib/gcc-lib/i386-redhat-linux/2.96/.../../../crt1.0 : In function '_start' :
    /usr/lib/gcc-lib/i386-redhat-linux/2.96/.../../../crt1.0(.text+0x18): undefined reference to 'main'
    collect2: ld retrurned 1 exit status
    What does the above errot mean? How to rectify it.It will be of great help if you anybody can give me clues.

    DB:2.63:Compilation Error In Creating Shared Library Via Jni pz

    It means that your compiler options are wrong.

    You need to create a shared library.

    Instead you are creating an executable, which is not the same as a shared library.

    If you search this forum you will find posts with command line options that work.

  • RELEVANCY SCORE 2.63

    DB:2.63:Jni Unable To Open Header File d9


    Hi,

    I am new to convert java code to .h file and using in c or c++.
    I got this code from net
    which i implement but i not get success.Please guide me where i am wrong.

    code taken from this url:
    http://www.pacifier.com/~mmead/jni/cs510ajp/example_details.html
    //HelloWorld.java
    class HelloWorld {

    public native void displayMessage();

    static
    {

    System.loadLibrary("HelloWorldImp");

    }

    }after using javac compilation
    javah -jni HelloWorld

    file created
    HelloWorld.h

    //HelloWorldImp.cpp
    #include stdio.h
    #include "HelloWorld.h" // this header file was generated by javah
    JNIEXPORT void JNICALL Java_HelloWorld_displayMessage(JNIEnv *env, jobject obj)
    {
    printf("Hello World!\n");
    }but in turbo c error is coming
    unable to open HelloWorld.h file.

    I don't understand what is wrong.
    I have to set any kind of path or what.
    I kept this header file in same folder but its not working.
    If u know how to call this header file please help me.
    Or i have to use any other compiler please suggest me.

    I am using turbo c compiler.

    Thanks and regards,
    Rakesh Kumar.

    DB:2.63:Jni Unable To Open Header File d9

    If the include is speicfied with quotes (include "file.h") then it is expected to be in the same directory as the C/CPP file. If hte include is specified as file.h then the compiler will look for it in a defined path.Rubbish.

    The compiler will look along the paths defined in the -I argument in both cases. If the file is specified on quotes it will also look in the same path as the.c/.cpp file.
    In this case, the file should be in the same location as the CPP file.

    This is very basic stuff.

  • RELEVANCY SCORE 2.63

    DB:2.63:Jni c9


    Has anyone used JNI extensively to access current c++ dlls?
    My understanding of JNI is that when you create your native library, you have to design to the JNI rules, in effect, Java-enabling your native c++ library code.

    What about using native code that has already been written, before the advent of JNI. In this case I must write a wrapper code that is JNI enabled, that accesses the native code.
    Is there any other way?

    DB:2.63:Jni c9

    Thats correct. If you do not want to change the existing native C/C++ code, you need to write a JNI enabled wrapper code which would access the actual native code.

    Cheers

  • RELEVANCY SCORE 2.63

    DB:2.63:Using Non-Ansi C fd


    We have the requirement of calling some native C program which are available as compiled object files but which have been written in non-ANSI C. We are writing a simple C wrapper class to instantiate these native programs. This wrapper program would implement the functions which are mentioned in the generated JNI header file.
    The JNI header file that is generated is ANSI C.
    Is it possible to compile the implementation of the wrapper written in ANSI C with the object files which are based on non-ANSI code?
    Or is it possible to generate the JNI header file in a non-ANSI C form?

    DB:2.63:Using Non-Ansi C fd

    Since the HP-UX
    system by default comes with a non-ANSI C compiler,
    these interfacing programs have been written in that
    form. It is also not possible to make the programs
    ANSI-compliant.cc -Ac

    Since the generated source code is ANSI C, we are
    going to use a newly installed gcc compiler on the
    HP-UX to compile it.
    So we have one part of the setup having ANSI C code
    and the other existing part is non-ANSI. cc -Aa

  • RELEVANCY SCORE 2.62

    DB:2.62:Jni Code To Access To Several C Programs d9


    im now working in JNI and using a native method to access a C program
    can i acces two seperate c files in one JNI method?
    any one pls help me.

    regards
    prasad

    DB:2.62:Jni Code To Access To Several C Programs d9

    This is my helloworld.java program

    class helloworld
    {

    public native void displayhelloworld();
    static
    {
    System.loadLibrary("hello");

    }

    public static void main(String[] args)
    {
    new helloworld().displayhelloworld();
    }
    }

    this is my helloworldimp.c program

    #include "jni.h"
    #include "helloworld.h"
    #include "C:\Program Files\Microsoft Visual Studio\VC98\include\stdio.h"

    JNIEXPORT void JNICALL
    Java_helloworld_displayhelloworld(JNIEnv *env, jobject obj)
    {
    printf("Hello world!\n");
    return;
    }

    up to this its working...but i have another c program that prints "helloindia"
    that c program is

    #include "jni.h"
    #include "helloindia.h"
    #include "C:\Program Files\Microsoft Visual Studio\VC98\include\stdio.h"

    JNIEXPORT void JNICALL
    Java_helloworld_displayhelloindia(JNIEnv *env, jobject obj)
    {
    printf("Hello India!\n");
    return;
    }
    in this program i specifies Java_helloworld_displayhellowindia..is it right....
    im just a bigner..pls explain it clearly...
    thanx

  • RELEVANCY SCORE 2.62

    DB:2.62:G++ Compilation Error -Pthread Option ma


    Hi ,
    I am new to JNI.
    I am trying to print the result of my computation in compare3Numbers.java, by passing the string to native method compare3NumbersImp.cpp for printing.

    When I try to compile the c++ file with :
    g++ -I/usr/opt/java122/include -I/usr/opt/java122/include/alpha -shared
    compare3NumbersImp.cpp -o libsmallest.so

    I get the followig error.:
    ---------------------------------
    In file included from compare3Numbers.h:2,
    from compare3NumbersImp.cpp:1:
    /usr/opt/java122/include/jni.h:39: #error "Modules that interface with Java must
    be compiled and linked with the -pthread option"

    Could anybody please tell me what is wrong.

    Thanks
    SP

    DB:2.62:G++ Compilation Error -Pthread Option ma

    Thankyou. The same program has differewnt errors on another server.
    Thankyou anyway for your help.
    SP

  • RELEVANCY SCORE 2.62

    DB:2.62:Compilation Error In Creating Shared Library Via Jni cs


    Hi ALL,
    I amin serious trouble with a problem. I am developing a Simulator, a function of which is to decode MPEG-2 Video files in real time and play it as well.I have got a MPEG-2 Decoder implemented in C from an open source and need to integrate with my Simulator which is writtebn in Java. The integration part I am doing via JNI(Java Native Interface). Now I have a bunch of C files in MPEG-2 decoder which are to be compiled during the Execution of the Java Simulator.Can anybody give some idea about how to call multiple C files from the Java Source through JNI at one go? Another problem I am facing is in calling a single C code from the traditional "HelloWorld" Java Code itself. The problem comes when I am trying to compile the shared library between the C native code and Java Code in my Linux Machine...I am getting the following message:

    /usr/lib/gcc-lib/i386-redhat-linux/2.96/.../../../crt1.0 : In function '_start' :
    /usr/lib/gcc-lib/i386-redhat-linux/2.96/.../../../crt1.0(.text+0x18): undefined reference to 'main'
    collect2: ld retrurned 1 exit status
    What does the above errot mean? How to rectify it.It will be of great help if you anybody can give me clues.

    DB:2.62:Compilation Error In Creating Shared Library Via Jni cs

    Please go to this link?
    http://java.sun.com/docs/books/tutorial/native1.1/stepbystep/index.html

  • RELEVANCY SCORE 2.62

    DB:2.62:Jni xs


    I got java.lang.UnsatisfiedLinkError. When I looked at my dll, none of the JNI functions are in the dll. Why? How can I can that?

    Thanks.

    DB:2.62:Jni xs

    java.lang.UnsatisfiedLinkError
    usually occurs when the path of the DLL is not known to the java program that loads the library.

    Use the following way.
    java "-Djava.library.path=Dir of DLL" Class that you run

    LathaDhamo.

  • RELEVANCY SCORE 2.62

    DB:2.62:Call Gcc.Exe With Java jk


    Hi there:

    I need help. I am trying to write a program that compiles *.c file(s) and capture the compilation result. Here is what I tried:

    BufferedReader br = new BufferedReader(new FileReader(srcFile));
    fileName = br.readLine();
    System.out.println(fileName);

    Runtime rt1 = Runtime.getRuntime();
    //****************************
    Process proc1 = rt1.exec("cmd /c C:/jdk1.3.1_07/bin/gcc "+fileName); //***here is the problem ***

    InputStream inp = proc1.getInputStream();
    int charIn1;
    while( (charIn1 = inp.read()) != -1 )
    {
    System.out.print( (char)charIn1 );
    }
    //****************************

    Here GCC should show compilation errors because I planted syntax errors in my test *.c file. But for some reason nothing gets displayed on the screen. Is there a way to know whats going on behind the scene! Or do I need to pursue something else such as JNI instead of directly calling gcc program !
    Please help if possible.

    -JCodda

    DB:2.62:Call Gcc.Exe With Java jk

    Don't invoke gcc throught the 'cmd' command shell; invoke it directly like this --

    String gcc= "C:/jdk1.3.1_07/bin/gcc";
    Process rt1.exec(new String[] { gcc, filename });
    // etc.I apologize for ruining the layouyt; above is the code snippet
    again, properly terminated by the end-code tag ...

  • RELEVANCY SCORE 2.62

    DB:2.62:Jni In Jsp pk


    Hi,

    I want to make use of JNI in JSP. I am using old iPlanet Web Server 4.1. When I use normally with java , jni works but when I tried to implement in jsp it throws java.lang.UnsatisifiedLinkError, and lib file not found in java.library.path. I would appreciate if u could help me in sequence of operation like

    1. where to store the jni class and shared library
    2. Do I need to add classpath or shlib_path

    DB:2.62:Jni In Jsp pk

    Hi,

    I want to make use of JNI in JSP. I am using old iPlanet Web Server 4.1. When I use normally with java , jni works but when I tried to implement in jsp it throws java.lang.UnsatisifiedLinkError, and lib file not found in java.library.path. I would appreciate if u could help me in sequence of operation like

    1. where to store the jni class and shared library
    2. Do I need to add classpath or shlib_path

  • RELEVANCY SCORE 2.62

    DB:2.62:C# And Jni f8


    Are there any plans for JNI support of C#?

    DB:2.62:C# And Jni f8

    Check this out. This is free(http://www.borland.com/janeva/)

    or

    (http://ja.net.intrinsyc.com/) Pay for this one.

  • RELEVANCY SCORE 2.62

    DB:2.62:Bringing Jni To Netbeans a7


    I am trying to run some java programs withJNI methods using Netbeans 4 IDE. I have used System.load (...) specifying the full path of the dll file and System.loadLibrary() keeping the dll file on the System path. Neither method works under netbeans IDE. It works fine in dos console. Suggestions are most welcome.

    DB:2.62:Bringing Jni To Netbeans a7

    The same problem is bothering me, too:

    java.lang.UnsatisfiedLinkError: no FaultHelper in java.library.pathIt tells you specifically what the problem is.

    The dll is somewhere. And that somewhere is not in the path (which is not the same as the class path.)

  • RELEVANCY SCORE 2.62

    DB:2.62:Jni In Applets? zp


    I need to run C code in my Java Application. So I made my whole application with the JNI. Now I see an extreme advantage if I could run my application as an applet, but JNI doesn't work in applets, at least not when I made my program. Is there anyway around this, or has the latest version of Java made it possible for JNI to run in applets? Thanks.

    Chris Wilkins

    DB:2.62:Jni In Applets? zp

    You can change permissions in the .policy file as well
    I think. Then of course it'd only run on computers
    with the changed .policy file but if you can manage
    that.......Doesn't seem very useful for deployment across the internet does it? :) I'd go with signing it and having all permissions.

  • RELEVANCY SCORE 2.62

    DB:2.62:Calling Native C++ Legacy Program From Message Driven Bean kx



    Hi,Could you please help me out on this problem:I am having a C++ program which does mathematical calculation and whan to reuse it in my JEE application. I thought of using MDB and call this C++ code using JNI. Does JBoss support calling native programs using JNI? I heard that using JNI call from EJB is not supported by specification.I also thought of keeping the C++ code as stand alone application by writing a C++ daemon program which will listen to message queue and process the request and send the response back to my J2EE env. This sounds interesting but since this is not in a container, there are many issues like fault tolerance and clustering of this C++ code in production env.If I can direct call this C++ code using JNI.. I can deploy it on production with all the advantages of having JBoss server.Please help me out on this issue.Thanks,Waikhom

    DB:2.62:Calling Native C++ Legacy Program From Message Driven Bean kx


    How you define "will support"? There is no much difference if you use JNI in a standalone application or inside an application server.

  • RELEVANCY SCORE 2.62

    DB:2.62:Using Jni 9s


    Can anyone tell is it possible to run C functions from C library in Linux with extension *.a in JAVA programs using or not using JNI and how to do that ?
    Thanks in advance

    DB:2.62:Using Jni 9s

    Why do your c files have a .a extension? shouldn't they have a .c extension? if both your java and your c run fine on linux, then you should be able to use your c functions from java but you will have to use JNI.

    there are several steps to follow so you might want to visit the tutorial site at http://java.sun.com/docs/books/tutorial/native1.1/index.html so that you can learn all the steps. :)

    txjump

  • RELEVANCY SCORE 2.62

    DB:2.62:Cant Get Lame To Compile In Jni 3m


    Hello, I have been following this tutorialhttp://developer.samsung.com/android/technical-docs/Porting-and-using-LAME-MP3-on-Android-with-JNI, however I dont seem to get it to complile when it comes toCompilation with NDK section. The following is the error that I get

    Code
    Android NDK: WARNING: APP_PLATFORM android-17 is larger than android:minSdkVersion 7 in ./AndroidManifest.xml
    [armeabi] Compile thumb : mp3lame = bitstream.c
    jni/./libmp3lame/bitstream.c:33:18: fatal error: lame.h: No such file or directory
    compilation terminated.
    make.exe: *** [obj/local/armeabi/objs/mp3lame/./libmp3lame/bitstream.o] Error 1

    DB:2.62:Cant Get Lame To Compile In Jni 3m

    I placed it in the JNI folder, we put libmp3lame into the jni folder just like it was said in the tutorial. However when we make a call we get an error. Is it possible to use the following syntax to call the method

    JNIEXPORT jstring JNICALL Java_com_***********r_NativeLib_convertMP3toWav
    (JNIEnv *env, jclass clazz, jstring mp3path){
    }

  • RELEVANCY SCORE 2.62

    DB:2.62:How To Access An Array Inside An Object In Jni? p7


    In JNI, is there a way to access an array member of an object other than invoking a get () function from native code ?

    DB:2.62:How To Access An Array Inside An Object In Jni? p7

    What I wanted to know was which JNI function to use once I have the field ID of an array member of an object.

    I found this thread which explains in detail the question I asked

    http://forum.java.sun.com/thread.jspa?messageID=3407373tstart=0

    It says to use env-GetObjectField () to get an array field.

  • RELEVANCY SCORE 2.62

    DB:2.62:Jni Call Hangs Under Java 1.6 ck


    Hi,

    We have an RMI server that uses JNI classes. The JNI classes prints some messages to cout. The code was running completely fine under Java 1.5 but under Java 1.6 it hangs in JNI call. I tested with increased number of messages and noted that it hangs earlier. Looks like the out buffer is filling up. I will appreciate any help I can get with this issue.

    Thanks
    Raj

    DB:2.62:Jni Call Hangs Under Java 1.6 ck

    Stdout will block if something isn't reading the other end - emptying the buffer.

  • RELEVANCY SCORE 2.62

    DB:2.62:Piping C++ Program With Java Program dz


    Hello,

    is it possible to write a c++ program and a java program who communicate using pipes in a windows environment (without using any JNI, that's the reason i'm trying this in the first place) ?

    Would that be easier (read faster because i'm running out of time) to implement than a tcp/ip link between the 2 programs ?

    Thank you,

    Pieter.

  • RELEVANCY SCORE 2.62

    DB:2.62:I Am Trying To Create A Jni Wrapper For My Java Application. p9


    Using 3rd Party packages when creating jar - program doesn't run ...
    So how to create jar fiel of an jni application?

    DB:2.62:I Am Trying To Create A Jni Wrapper For My Java Application. p9

    Go and ask in JNI forum.
    And avoid such useless descriptions like "program doesn't run".

  • RELEVANCY SCORE 2.62

    DB:2.62:Jni And Performance? za


    Hi,
    We are thinking of using JNI to use a C++ shared library we have within our
    servlets. I was wondering if this was a bad idea: are there known problems
    with JNI and weblogic? Is it scalable? As far as I can tell weblogic must be
    using JNI for the native sockets stuff, but I just wanted to make sure...

    Thanks!
    Matias

    DB:2.62:Jni And Performance? za

    Matias Pelenur wrote:

    Hi,
    We are thinking of using JNI to use a C++ shared library we have within our
    servlets. I was wondering if this was a bad idea: are there known problems
    with JNI and weblogic?There are no real issues with JNI and WebLogic specifically, but you should
    be very careful if you go this route. It's not particularly hard to have
    buggy code that will deadlock the java virtual machine. The usual way to do it
    is to call native code that never returns while holding a monitor.

    Is it scalable? As far as I can tell weblogic must be
    using JNI for the native sockets stuff, but I just wanted to make sure...Yes, we use JNI for our performance pack.

    -- Rob

    Thanks!
    Matias

  • RELEVANCY SCORE 2.62

    DB:2.62:Call Gcc.Exe From Java mf


    Hi there:

    I need help. I am trying to write a program that compiles *.c file(s) and capture the compilation result(gcc for windows). Here is what I tried:

    BufferedReader br = new BufferedReader(new FileReader(srcFile));
    fileName = br.readLine();
    System.out.println(fileName);

    Runtime rt1 = Runtime.getRuntime();
    //****************************
    Process proc1 = rt1.exec("cmd /c C:/jdk1.3.1_07/bin/gcc "+fileName); //***here is the problem ***

    InputStream inp = proc1.getInputStream();
    int charIn1;
    while( (charIn1 = inp.read()) != -1 )
    {
    System.out.print( (char)charIn1 );
    }
    //****************************

    Here GCC should show compilation errors because I planted syntax errors in my test *.c file. But for some reason nothing gets displayed on the screen. Is there a way to know whats going on behind the scene! Or do I need to pursue something else such as JNI instead of directly calling gcc program !
    Please help if possible.

    -JCodda

    DB:2.62:Call Gcc.Exe From Java mf

    You should try to read all the streams of the process (err and standard)
    into different threads:

    BufferedReader br = new BufferedReader(new FileReader(srcFile));
    fileName = br.readLine();
    System.out.println(fileName);

    Runtime rt1 = Runtime.getRuntime();
    //declared as final because it is used into inner classes:
    final Process proc1 = rt1.exec("cmd /c C:/jdk1.3.1_07/bin/gcc "+fileName); //***here is the problem ***

    Runnable inputReaderRunnable = new Runnable()
    {
    public void run()
    {
    InputStream inp = proc1.getInputStream();
    int charIn1;
    byte[] bytes = null ;
    int returnCode = 0 ;
    while(returnCode != -1)
    {
    bytes = new byte[inp.available()];
    returnCode = inp.read(bytes);
    if(returnCode != -1){System.out.print( new String(bytes)); }
    }
    }
    }

    Runnable errorReaderRunnable = new Runnable()
    {
    public void run()
    {
    InputStream err = proc1.getErrorStream();
    int charIn1;
    byte[] bytes = null ;
    int returnCode = 0 ;
    while(returnCode != -1)
    {
    bytes = new byte[err.available()];
    returnCode = err.read(bytes);
    if(returnCode != -1){System.err.print( new String(bytes)); }
    }
    }
    }

    Thread errorReaderThread = new Thread(errorReaderRunnable);
    errorReaderThread.start();
    Thread inputReaderThread = new Thread(inputReaderRunnable);
    inputReaderThread.start();

    //Here we wait for the process to end:
    proc1.waitFor();

  • RELEVANCY SCORE 2.62

    DB:2.62:Question Using Jni kd


    Hi,

    This is the first time I use jni and I encountered some problem when trying to accessing instance fields. My source code is as follows:

    java side:
    class C {
    int j;

    private native void f();

    static { System.loadLibrary("C"); }

    public static void main(String[] args)
    {
    C c = new C();
    c.j = 5;
    System.out.println("Before calling: " + c.j);
    c.f();
    System.out.println("After calling: " + c.j);
    }
    }

    native (c) side:
    #include stdio.h
    #include "C.h"

    JNIEXPORT void JNICALL Java_C_f(JNIEnv *env, jobject obj)
    {
    jfieldID fid;
    jclass cls = (*env)-GetObjectClass(env, obj);

    fid = (*env)-GetFieldID(env, cls, "j", "I");
    if (fid == 0) {
    return;
    }

    printf("Before set: %d\n", (*env)-GetIntField(env, cls, fid));
    (*env)-SetIntField(env, cls, fid, 100);
    printf("After set: %d\n", (*env)-GetIntField(env, cls, fid));
    }

    The programs compile and run smoothly, but the result is not what I expect. Please see the result below:

    jason1:~/jni/accessInstanceVar make
    javac C.java
    javah -jni C
    gcc \
    -I/usr/lib/jdk1.1/include \
    -I/usr/lib/jdk1.1/include/linux \
    Java_C_f.c -c -o libC.o
    gcc -shared -o libC.so libC.o
    java C
    Before calling: 5
    Before set: 196653
    After set: 100
    After calling: 5

    I don't know why the value of the instance variable is not 5 when first accessed in the native function and why it is still 5 after the native function returns.

    Can someone help me? Thanks in advance!

    Yong

    DB:2.62:Question Using Jni kd

    It looks to me like you try to set a value of an instance variable like a static varibale.
    I think you need exatra information like the object which the instance variable like so:

    (*env)-SetIntField(env, obj, fid, 100);;

    instead of

    (*env)-SetIntField(env, cls, fid, 100);

    Hope this will help
    Joeseph.

  • RELEVANCY SCORE 2.62

    DB:2.62:Compiling Jni Library With Resource Files (I.E. Images) ks


    hi-

    i'm compiling a jni library on mac osx leopard using a command like:

    cc -g -dynamiclib -o libJNI.jnilib file1.o file2.o main.o -framework JavaVM -framework Foundation -framework AppKit -framework Cocoai'd like to include resource files like images in the build of the jni library. how can i compile those into the jni library?

    thanks,
    augusto.

    DB:2.62:Compiling Jni Library With Resource Files (I.E. Images) ks

    Creating shared libraries themselves are compiler/linker/OS problems.

    Not Java/JNI.

    So finding a forum that answers questions about the compiler/linker in use is the place to ask them.

  • RELEVANCY SCORE 2.61

    DB:2.61:Error Using Loadjava fp


    Hi everyone.

    I'm typing the following line in a HP-UX terminal in order to load the Sybase Type-4 JDBC driver:
    loadjava -user scott/tiger -o -r -v -f -noverify /u01/app/oracle/product/8.1.7/jdbc/lib/Sybasedrv.zipHowever, it thorws the following exception and I don't know what is wrong:
    --------------------------------------------------------------
    SIGBUS 10* bus error
    stackbase=7F7F0DD4, stackpointer=7F7F4028, pc=C5D688C4

    Full thread dump:
    "SIGQUIT handler" (TID:0x7e9ff238, sys_thread_t:0x400936f8 [lwp_id:6751], state:R, thread_t: t@5, stack_base:0x7e5bf000, stack_size:0x20000, pc: 0xc01f7d28) prio=7
    "JIT Compiler" (TID:0x7e9ff280, sys_thread_t:0x40093380 [lwp_id:6750], state:CW, thread_t: t@4, stack_base:0x7e5e0000, stack_size:0x100000, pc: 0xc01f29d0) prio=8
    "Finalizer thread" (TID:0x7e9ff068, sys_thread_t:0x40093038 [lwp_id:6749], state:CW, thread_t: t@3, stack_base:0x7e6e1000, stack_size:0x20000, pc: 0xc01f29d0) prio=8
    "main" (TID:0x7e9ff090, sys_thread_t:0x4006cb48 [lwp_id:0], state:R, thread_t: t@1, stack_base:0x7f7f0dd4, stack_size:0x800000, pc: 0x0) prio=5 current thread
    oracle.jdbc.oci8.OCIDBAccess.logon(OCIDBAccess.java:354)
    oracle.jdbc.driver.OracleConnection.init(OracleConnection.java:246)
    oracle.jdbc.driver.OracleDriver.getConnectionInstance(Compiled Code)
    oracle.jdbc.driver.OracleDriver.connect(OracleDriver.java:260)
    java.sql.DriverManager.getConnection(Compiled Code)
    oracle.aurora.server.tools.loadjava.DatabaseOptions.getConnection(DatabaseOptions.java:104)
    oracle.aurora.server.tools.loadjava.DatabaseOptions.connect(DatabaseOptions.java:53)
    oracle.aurora.server.tools.loadjava.LoadJava.getConnection(LoadJava.java:621)
    oracle.aurora.server.tools.loadjava.LoadJava.load(Compiled Code)
    oracle.aurora.server.tools.loadjava.LoadJava.load(LoadJava.java:1016)
    oracle.aurora.server.tools.loadjava.LoadJava.loadAndCreateJar(Compiled Code)
    oracle.aurora.server.tools.loadjava.LoadJava.processLoadAndCreate(Compiled Code)
    oracle.aurora.server.tools.loadjava.LoadJava.process(LoadJava.java:1422)
    oracle.aurora.server.tools.loadjava.LoadJavaMain.run(LoadJavaMain.java:299)
    oracle.aurora.server.tools.loadjava.LoadJavaMain.main(LoadJavaMain.java:58)
    Monitor Cache Dump:
    java.lang.Class@7EA091A8/7EB000B0: sys_mon = 0x400077dc, owner "main" (0x4006cb48, 1 entry)
    oracle.jdbc.oci8.OCIDBAccess@7EA09808/7EB01EE8: sys_mon = 0x4000709c, owner "main" (0x4006cb48, 1 entry)
    Registered Monitor Dump:
    JIT thread lock: sys_mon = 0x40093680, unowned
    Waiting to be notified:
    "JIT Compiler" (0x40093380)
    Thread queue lock: sys_mon = 0x4006c810, unowned
    utf8 hash table: sys_mon = 0x4000c708, unowned
    String intern lock: sys_mon = 0x4000c648, unowned
    JNI pinning lock 31: sys_mon = 0x4000c588, unowned
    JNI pinning lock 30: sys_mon = 0x4000c4c8, unowned
    JNI pinning lock 29: sys_mon = 0x4000c408, unowned
    JNI pinning lock 28: sys_mon = 0x4000c348, unowned
    JNI pinning lock 27: sys_mon = 0x4000c288, unowned
    JNI pinning lock 26: sys_mon = 0x4000c1c8, unowned
    JNI pinning lock 25: sys_mon = 0x4000c108, unowned
    JNI pinning lock 24: sys_mon = 0x4000c048, unowned
    JNI pinning lock 23: sys_mon = 0x4000bf88, unowned
    JNI pinning lock 22: sys_mon = 0x4000bec8, unowned
    JNI pinning lock 21: sys_mon = 0x4000be08, unowned
    JNI pinning lock 20: sys_mon = 0x4000bd48, unowned
    JNI pinning lock 19: sys_mon = 0x4000bc88, unowned
    JNI pinning lock 18: sys_mon = 0x4000bbc8, unowned
    JNI pinning lock 17: sys_mon = 0x4000bb08, unowned
    JNI pinning lock 16: sys_mon = 0x4000ba48, unowned
    JNI pinning lock 15: sys_mon = 0x4000b988, unowned
    JNI pinning lock 14: sys_mon = 0x4000b8c8, unowned
    JNI pinning lock 13: sys_mon = 0x4000b808, unowned
    JNI pinning lock 12: sys_mon = 0x4000b748, unowned
    JNI pinning lock 11: sys_mon = 0x4000b688, unowned
    JNI pinning lock 10: sys_mon = 0x4000b5c8, unowned
    JNI pinning lock 9: sys_mon = 0x4000b508, unowned
    JNI pinning lock 8: sys_mon = 0x4000b448, unowned
    JNI pinning lock 7: sys_mon = 0x4000b388, unowned
    JNI pinning lock 6: sys_mon = 0x4000b2c8, unowned
    JNI pinning lock 5: sys_mon = 0x4000b208, unowned
    JNI pinning lock 4: sys_mon = 0x4000b148, unowned
    JNI pinning lock 3: sys_mon = 0x4000b088, unowned
    JNI pinning lock 2: sys_mon = 0x4000afc8, unowned
    JNI pinning lock 1: sys_mon = 0x4000af08, unowned
    JNI pinning lock 0: sys_mon = 0x4000ae48, unowned
    JNI global reference lock: sys_mon = 0x4000ad80, unowned
    BinClass lock: sys_mon = 0x4000acc8, unowned
    Class loading lock: sys_mon = 0x4000ac08, unowned
    Java stack lock: sys_mon = 0x4000ab50, unowned
    Code rewrite lock: sys_mon = 0x4000aa90, unowned
    Heap lock: sys_mon = 0x4000a9d8, unowned
    Has finalization queue lock: sys_mon = 0x4000a910, unowned
    Finalize me queue lock: sys_mon = 0x4000a850, unowned
    Waiting to be notified:
    "Finalizer thread" (0x40093038)
    Monitor registry: sys_mon = 0x40004ae0, owner "main" (0x4006cb48, 1 entry)
    Abort(coredump)
    --------------------------------------------------------------
    I don't have ideia of what is going on.
    Can anyone help me?

    DB:2.61:Error Using Loadjava fp

    Hi everyone.

    I'm typing the following line in a HP-UX terminal in order to load the Sybase Type-4 JDBC driver:
    loadjava -user scott/tiger -o -r -v -f -noverify /u01/app/oracle/product/8.1.7/jdbc/lib/Sybasedrv.zipHowever, it thorws the following exception and I don't know what is wrong:
    --------------------------------------------------------------
    SIGBUS 10* bus error
    stackbase=7F7F0DD4, stackpointer=7F7F4028, pc=C5D688C4

    Full thread dump:
    "SIGQUIT handler" (TID:0x7e9ff238, sys_thread_t:0x400936f8 [lwp_id:6751], state:R, thread_t: t@5, stack_base:0x7e5bf000, stack_size:0x20000, pc: 0xc01f7d28) prio=7
    "JIT Compiler" (TID:0x7e9ff280, sys_thread_t:0x40093380 [lwp_id:6750], state:CW, thread_t: t@4, stack_base:0x7e5e0000, stack_size:0x100000, pc: 0xc01f29d0) prio=8
    "Finalizer thread" (TID:0x7e9ff068, sys_thread_t:0x40093038 [lwp_id:6749], state:CW, thread_t: t@3, stack_base:0x7e6e1000, stack_size:0x20000, pc: 0xc01f29d0) prio=8
    "main" (TID:0x7e9ff090, sys_thread_t:0x4006cb48 [lwp_id:0], state:R, thread_t: t@1, stack_base:0x7f7f0dd4, stack_size:0x800000, pc: 0x0) prio=5 current thread
    oracle.jdbc.oci8.OCIDBAccess.logon(OCIDBAccess.java:354)
    oracle.jdbc.driver.OracleConnection.init(OracleConnection.java:246)
    oracle.jdbc.driver.OracleDriver.getConnectionInstance(Compiled Code)
    oracle.jdbc.driver.OracleDriver.connect(OracleDriver.java:260)
    java.sql.DriverManager.getConnection(Compiled Code)
    oracle.aurora.server.tools.loadjava.DatabaseOptions.getConnection(DatabaseOptions.java:104)
    oracle.aurora.server.tools.loadjava.DatabaseOptions.connect(DatabaseOptions.java:53)
    oracle.aurora.server.tools.loadjava.LoadJava.getConnection(LoadJava.java:621)
    oracle.aurora.server.tools.loadjava.LoadJava.load(Compiled Code)
    oracle.aurora.server.tools.loadjava.LoadJava.load(LoadJava.java:1016)
    oracle.aurora.server.tools.loadjava.LoadJava.loadAndCreateJar(Compiled Code)
    oracle.aurora.server.tools.loadjava.LoadJava.processLoadAndCreate(Compiled Code)
    oracle.aurora.server.tools.loadjava.LoadJava.process(LoadJava.java:1422)
    oracle.aurora.server.tools.loadjava.LoadJavaMain.run(LoadJavaMain.java:299)
    oracle.aurora.server.tools.loadjava.LoadJavaMain.main(LoadJavaMain.java:58)
    Monitor Cache Dump:
    java.lang.Class@7EA091A8/7EB000B0: sys_mon = 0x400077dc, owner "main" (0x4006cb48, 1 entry)
    oracle.jdbc.oci8.OCIDBAccess@7EA09808/7EB01EE8: sys_mon = 0x4000709c, owner "main" (0x4006cb48, 1 entry)
    Registered Monitor Dump:
    JIT thread lock: sys_mon = 0x40093680, unowned
    Waiting to be notified:
    "JIT Compiler" (0x40093380)
    Thread queue lock: sys_mon = 0x4006c810, unowned
    utf8 hash table: sys_mon = 0x4000c708, unowned
    String intern lock: sys_mon = 0x4000c648, unowned
    JNI pinning lock 31: sys_mon = 0x4000c588, unowned
    JNI pinning lock 30: sys_mon = 0x4000c4c8, unowned
    JNI pinning lock 29: sys_mon = 0x4000c408, unowned
    JNI pinning lock 28: sys_mon = 0x4000c348, unowned
    JNI pinning lock 27: sys_mon = 0x4000c288, unowned
    JNI pinning lock 26: sys_mon = 0x4000c1c8, unowned
    JNI pinning lock 25: sys_mon = 0x4000c108, unowned
    JNI pinning lock 24: sys_mon = 0x4000c048, unowned
    JNI pinning lock 23: sys_mon = 0x4000bf88, unowned
    JNI pinning lock 22: sys_mon = 0x4000bec8, unowned
    JNI pinning lock 21: sys_mon = 0x4000be08, unowned
    JNI pinning lock 20: sys_mon = 0x4000bd48, unowned
    JNI pinning lock 19: sys_mon = 0x4000bc88, unowned
    JNI pinning lock 18: sys_mon = 0x4000bbc8, unowned
    JNI pinning lock 17: sys_mon = 0x4000bb08, unowned
    JNI pinning lock 16: sys_mon = 0x4000ba48, unowned
    JNI pinning lock 15: sys_mon = 0x4000b988, unowned
    JNI pinning lock 14: sys_mon = 0x4000b8c8, unowned
    JNI pinning lock 13: sys_mon = 0x4000b808, unowned
    JNI pinning lock 12: sys_mon = 0x4000b748, unowned
    JNI pinning lock 11: sys_mon = 0x4000b688, unowned
    JNI pinning lock 10: sys_mon = 0x4000b5c8, unowned
    JNI pinning lock 9: sys_mon = 0x4000b508, unowned
    JNI pinning lock 8: sys_mon = 0x4000b448, unowned
    JNI pinning lock 7: sys_mon = 0x4000b388, unowned
    JNI pinning lock 6: sys_mon = 0x4000b2c8, unowned
    JNI pinning lock 5: sys_mon = 0x4000b208, unowned
    JNI pinning lock 4: sys_mon = 0x4000b148, unowned
    JNI pinning lock 3: sys_mon = 0x4000b088, unowned
    JNI pinning lock 2: sys_mon = 0x4000afc8, unowned
    JNI pinning lock 1: sys_mon = 0x4000af08, unowned
    JNI pinning lock 0: sys_mon = 0x4000ae48, unowned
    JNI global reference lock: sys_mon = 0x4000ad80, unowned
    BinClass lock: sys_mon = 0x4000acc8, unowned
    Class loading lock: sys_mon = 0x4000ac08, unowned
    Java stack lock: sys_mon = 0x4000ab50, unowned
    Code rewrite lock: sys_mon = 0x4000aa90, unowned
    Heap lock: sys_mon = 0x4000a9d8, unowned
    Has finalization queue lock: sys_mon = 0x4000a910, unowned
    Finalize me queue lock: sys_mon = 0x4000a850, unowned
    Waiting to be notified:
    "Finalizer thread" (0x40093038)
    Monitor registry: sys_mon = 0x40004ae0, owner "main" (0x4006cb48, 1 entry)
    Abort(coredump)
    --------------------------------------------------------------
    I don't have ideia of what is going on.
    Can anyone help me?

  • RELEVANCY SCORE 2.61

    DB:2.61:Jni Dll Compilation Problem m3


    I've been trying to compile a dll from command line, following the JNI tutorial. However, the instructions in the tutorials are for VC++ 4.0. I've got VC.NET.
    My command:
    C:\XC:\MS_Visual_Studio_.NET\Vc7\bin\cl.exe -IC:\j2sdk1.4.2\include -IC:\j2sdk1.4.2\include\win32 -IC:\MS_Visual_Studio_.NET\Vc7\include -LD HelloWorld.c -Fehello.dll

    I also added a couple of things to PATH, and eventually resolved 2 errors: stdio.h not found, and "some.dll" not found. Now i'm getting:
    Microsoft (R) 32-bit C/C++ Optimizing Compiler Version 13.00.9466 for 80x86
    Copyright (C) Microsoft Corporation 1984-2001. All rights reserved.

    HelloWorld.c
    Microsoft (R) Incremental Linker Version 7.00.9466
    Copyright (C) Microsoft Corporation. All rights reserved.

    /dll
    /implib:hello.lib
    /out:hello.dll
    HelloWorld.obj
    LINK : fatal error LNK1104: cannot open file 'LIBCMT.lib'

    Looks like something is missing while linking. I tried setting up LIBPATH with path to LIBCMT.lib, and adding its enclosing folder to PATH, but nothing helps.
    Going thru the VS project i get a lot of errors saying that JNI stuff is invalid, even after pointing include files setting to include/ and include/win32.

    Any feedback appreciated.
    Reshat.

    DB:2.61:Jni Dll Compilation Problem m3

    Just copy the required .lib files to the same folder where your cpp code is. That worked for me...

  • RELEVANCY SCORE 2.61

    DB:2.61:Efficency Of Jni Method Call? dd


    hello!
    i am new with jni, and my english is poor also, hope somebody know what i have said.
    recently, i am developing a gis application with jni, the spatial data is processed with c++, i use java to get data and draw shapes by calling jni methods, but i find it's very slow when drawing. by the way, i fetch data of every shape dynamicly by calling jni methods when drawing. so i want to know if it is inefficient when calling jni methods so frequently, especially in huge loop?
    thanks!

    DB:2.61:Efficency Of Jni Method Call? dd

    the reason i use jni is that the module written by c++ is working very well and it would be a huge work to rewrite with java, but the efficency of jni make me so disappointed.

  • RELEVANCY SCORE 2.61

    DB:2.61:64 Bit Shared Libraries On Solaris And Jni dc


    Hi,

    I have a 64 bit shared library on Solaris that contains a implementation of a native method, i use the command for compilation:

    CC -xtarget=ultra -xarch=v9 -KPIC -G myCode.c -o libMyCode.so

    and i try to call the method with my Java class, using JVM 1.4.0 ( i think that supports 64 bit code )....but i am getting a UnsatisfiedLink exception.....it succesfully loads the library but the exception is thrown when jvm tries to find the method...?? its a symbol mangling problem??? any solutions ????

    Thank you very much...
    MrNiceLife

    DB:2.61:64 Bit Shared Libraries On Solaris And Jni dc

    Make sure you have downloaded a 64 bit JVM first... http://java.sun.com/j2se/1.4/download.html or create the shared object as a 32bit application for 32 bit JVMs.

  • RELEVANCY SCORE 2.61

    DB:2.61:Jni And Windows Api Issue.. xx


    Can JNI use inconjuction with Windows API? Can JNI use all the library and functions in Windows API?? Do i need to create 2 programs for both server and client? For server or client do I need to create 1 Java program and 1 C++ program?? Plesae help me..

    DB:2.61:Jni And Windows Api Issue.. xx

    With JNI you can call native, non-Java code (usualy C or C++) from Java. That native code can call any Windows API function you want.

    "Server and client" have nothing to do with JNI.

    If you want to use JNI to call native code from Java, you write a Java program that uses the JNI API and you write some C or C++ code that you compile into a shared library (a DLL on Windows).

    See the tutorial: Java Native Interface Tutorial

  • RELEVANCY SCORE 2.61

    DB:2.61:Jni And C++ 1s


    Dear all,

    I am a Hong Kong Student and get problems in using JNI with C++.

    When I use C++ to implement the abstract class of Java, there is an error when I am goin to run the program:
    .....java.lang.UnsatisfiedLinkError: /.../.../....so : ld.so.1: java: fatal: relocation error: file /.../.../.../...so: symbol ZSt4endlIcSt11chattraitsIcEERSt12basic_ostreamIT_T0_ES6_: references symbol not found
    at .......
    at .......

    What did I do wrong? (P.S. I am using Solaris 9 and my implementation is in form of *.cc)

    Moreover, when I compile the Implementation file of C++, it is not possible to use *.cpp, but need to use *.cc, Why?
    Compilation error is shown for unknown function call (cout and endl).

    Thanks!

  • RELEVANCY SCORE 2.61

    DB:2.61:Difference Between Jna And Jni ? d1


    Hi All ,

    I am very new to both of JNA and JNI . Could you please help me to find out the differences between them.

    Thanks and Regards,
    Allwyn

    DB:2.61:Difference Between Jna And Jni ? d1

    Google ( [jni jna|http://www.google.com/search?q=java+jni+jna] ).

  • RELEVANCY SCORE 2.61

    DB:2.61:Multithreading With Jni df


    hi

    For each request , servlet create seprate thread and each thread is calling the JNI function..... For the second request onwards the server doesnot process the request and get hanged.
    What i have to do at the JNi side so for each thread of java is handeled by seprate thread of c

    DB:2.61:Multithreading With Jni df

    hi

    For each request , servlet create seprate thread and each thread is calling the JNI function..... For the second request onwards the server doesnot process the request and get hanged.
    What i have to do at the JNi side so for each thread of java is handeled by seprate thread of c

  • RELEVANCY SCORE 2.61

    DB:2.61:Abstract Class Hierarchy - Compilation Error a9


    I coded an abstract class and couple of concrete classes. When I am compiling the concrete classes, I see the error message: cannot find symbol abstract class. For diagnosing I coded very simple programs AbstractClass1.java and ConcreteClass.java. Again I am facing the same compilation error. Code is given below:
    abstract class AbstractClass1 {
    protected AbstractClass1() {
    System.out.println("AbstractClass1 constructor called");
    }
    public abstract void distinct_method();
    public void common_method() {
    System.out.println("common method called");
    distinct_method();
    }
    }
    class ConcreteClass extends AbstractClass1 {
    public void distinct_method() {
    System.out.println("distinct_method called");
    }
    }
    I can't figure out what's causing the compilation error.

    Edited by: ague on Nov 9, 2008 5:52 PM

    DB:2.61:Abstract Class Hierarchy - Compilation Error a9

    IMHO there's something seriously wrong with a CLASSPATH that doesn't start with '.'.

  • RELEVANCY SCORE 2.61

    DB:2.61:Jni And Acrobat 3f


    Does anyone have a working example of using JNI to control the Acrobat ActiveX control?

    DB:2.61:Jni And Acrobat 3f

    See an example with Acrobat Reader in the package:
    http://www.simtel.net/product.php[id]93010[SiteID]simtel.net

  • RELEVANCY SCORE 2.61

    DB:2.61:Jdeveloper Is Not Starting cp


    Tried to start my JDEV but it is not starting. Getting below exception when i run verbose mode. Please help me resolving this problem.

    C:\JDEVELOPER\jdev\binjdev -verbose
    JNI Option: -Dide.product=oracle.jdeveloper
    JNI Option: -Dide.splash.screen=splash.gif
    JNI Option: -Xverify:none
    JNI Option: -Xmx512M
    JNI Option: -XX:MaxPermSize=160M
    JNI Option: -XX:JavaPriority10_To_OSPriority=10
    JNI Option: -XX:JavaPriority9_To_OSPriority=9
    JNI Option: -Dsun.java2d.noddraw=true
    JNI Option: -Dice.browser.forcegc=false
    JNI Option: -Dice.pilots.html4.tileOptThreshold=0
    JNI Option: -Xbootclasspath/p:../lib/lwawt.jar
    JNI Option: -Xheapbase100000000
    JNI Option: -Dreserved_filenames=con,aux,prn,lpt1,lpt2,lpt3,lpt4,lpt5,lpt6,lpt7,
    lpt8,lpt9,com1,com2,com3,com4,com5,com6,com7,com8,com9,conin$,conout$
    JNI Option: -DEDITOR_J2SE_VERSION=1.5
    JNI Option: -DINSIGHT_OMIT_HIDDEN=true
    JNI Option: -Doracle.xdkjava.compatibility.version=9.0.4
    JNI Option: -Doracle.translated.locales=ja
    JNI Option: -Dwindows.shell.font.languages=en
    JNI Option: -Dide.debug.controller.stack=false
    JNI Option: -Dceditor.java.parse.small=300
    JNI Option: -Dceditor.java.parse.large=1500
    JNI Option: -Dide.extension.cpmissing.nowarn=true
    JNI Option: -Dcompiler.vmargs=-mx512m
    JNI Option: -Doracle.soap.transport.noHTTPClient=true
    JNI Option: -Djbo.debugoutput=silent
    JNI Option: -Djbo.showdebugwarningbanner=false
    JNI Option: -Djava.library.path=C:\APPS\oracle\bin;C:\product\10.1.3.1\OracleAS_
    1\jdk\bin;C:\product\10.1.3.1\OracleAS_1\ant\bin;C:\OraHome_2\bin;C:\OraHome_2\j
    re\1.4.2\bin\client;C:\OraHome_2\jre\1.4.2\bin;C:\DevSuiteHome_1\jdk\jre\bin\cli
    ent;C:\DevSuiteHome_1\jdk\jre\bin\classic;C:\DevSuiteHome_1\jdk\jre\bin;C:\DevSu
    iteHome_1\jlib;C:\DevSuiteHome_1\bin;C:\DevSuiteHome_1\jre\1.4.2\bin\client;C:\D
    evSuiteHome_1\jre\1.4.2\bin;C:\WINNT\system32;C:\WINNT;C:\WINNT\System32\Wbem;C:
    \Program Files\Intel\Wireless\Bin\;C:\Program Files\Symantec\pcAnywhere;C:\Progr
    am Files\Hummingbird\Connectivity\10.00\Accessories\;;C:\product\10.1.3.1\Oracle
    AS_1\MOBILE\sdk\bin;C:\Program Files\MqClient\Bin;C:\Program Files\datacomm;C:\P
    ROGRA~1\IBM\SQLLIB\BIN;C:\PROGRA~1\IBM\SQLLIB\FUNCTION;C:\APPS\SQL12\DataAccess\
    OLEDB\dll;C:\APPS\SQL12\DataAccess\ODBC\dll;C:\APPS\SQL12\OCS-12_5\lib3p;C:\APPS
    \SQL12\OLEDB;C:\APPS\SQL12\ODBC;C:\APPS\SQL12\OCS-12_5\dll;C:\APPS\SQL12\OCS-12_
    5\bin;C:\WINNT\system32\;C:\WINNT\;C:\WINNT\system32\Wbem;C:\Program Files\IBM\S
    QLLIB\BIN;C:\Program Files\IBM\SQLLIB\FUNCTION;C:\Program Files\IBM\SQLLIB\sampl
    es\repl;12\ODBC;c:\progra~1\Subversion\bin;C:\Program Files\IBM\LDAP\V6.0\lib;C:
    \Program Files\IBM\LDAP\V6.0\bin;..\lib\ext;..\..\lib
    JNI Option: -Dide.user.dir=C:\Prod\Workspaces\DefaultWorkspace
    JNI Option: -Dide.startingArg0=C:\JDEVELOPER\jdev\bin\jdev.exe
    JNI Option: -Dide.startingArg1=-verbose
    JNI Option: -Dide.launcherProcessId=3804
    JNI Option: -Dide.config_pathname=C:\JDEVELOPER\jdev\bin\jdev.conf
    JNI Option: -Dide.startingcwd=C:\JDEVELOPER\jdev\bin
    JNI Option: -Dide.shell.fileTypeKeyDefined=true
    JNI Option: -Dide.shell.enableFileTypeAssociation=true
    JNI Option: -Djava.class.path=..\lib\jdev-loader.jar
    JNI Option: -Djdev.class.path=..\..\..\classes;..\..\ide\lib\javax-ide.jar;..\..
    \ide\lib\javatools.jar;..\..\ide\lib\ide.jar;..\..\jlib\jewt4.jar;..\..\jlib\sha
    re.jar;..\..\jlib\help4.jar;..\..\jlib\inspect4.jar;..\..\lib\xmlparserv2.jar;..
    \..\jdbc\lib\orai18n.jar;..\lib\jdev-ep.jar;C:\Program Files\Java\jdk1.5.0_12\li
    b\tools.jar;C:\Program Files\Java\jdk1.5.0_12\lib\dt.jar
    JNI Option: -Djava.system.class.loader=oracle.ideimpl.IdeClassLoader
    JVM path is C:\Program Files\Java\jdk1.5.0_12\jre\bin\client\jvm.dll
    Error occurred during initialization of VM
    java.lang.Error: java.lang.ClassNotFoundException: oracle.ideimpl.IdeClassLoader

    Thanks
    JP

    DB:2.61:Jdeveloper Is Not Starting cp

    Thanks Frank for your quick reply.

    Looks like all jar files from jdev\lib got deleted. I will have to get that from different machine and try it.

    Thanks
    JP

  • RELEVANCY SCORE 2.61

    DB:2.61:Can This Possible dm


    by jni we can use native function and other feture of os. but by jni can we use java function in c/c++ program. if yes, how

    DB:2.61:Can This Possible dm

    http://java.sun.com/developer/onlineTraining/Programming/JDCBook/jni.html

  • RELEVANCY SCORE 2.61

    DB:2.61:Jni.H File Not Found When Creating Dll ks


    I'm just learning how to use the JNI and have been following the tutorial provided by Sun. My knowledge of C and its compilation system is very limited (I'm a Java generation programmer) I try to create a dll using the method proposed by the tutorial like this:
    cl -Ic:program files\java\jdk1.5.0_09\ include
    -Ic:program files\java\jdk1.5.0_09\include\win32
    -LD HelloWorldImp.c
    -Fehello.dllI get an error message stating
    fatal error C1083: Cannot open include file: 'jni.h': No such file or directoryThe code is identical to the tutorial's code.
    I am running Windows XP and Microsoft Visual C++ 6.0

    The preprocessor statement where the error is located is
    #include jni.hand this is the very first line in the c program named HelloWorldImp.c

    I fixed this problem by just placing a copy of jni.h into the same directory, but a slew of other problems followed, and I don't think that that is a very good practice to get into anyway.

    I have set the paths of the directories of the include and include/win32 in my environment variables, because I don't know what else to do and I believe in luck. This also proved to be a miserable disgrace. How can I get the c file to compile into a dll? I know that this seems to be more of a c problem than a java problem, but I've compiled my share of c programs without difficulty. And I know that this seems like a pretty elementary problem, but my mother loves me anyway.

    Thanks for any help on the issue :)

    -Daniel

    DB:2.61:Jni.H File Not Found When Creating Dll ks

    hi
    this solution seems stupid,
    but try removing the space between file path

    cl -Ic:program files\java\jdk1.5.0_09\ include

    try
    cl -Ic:program files\java\jdk1.5.0_09\include

    this may solve the problem

  • RELEVANCY SCORE 2.61

    DB:2.61:Call Jni Method From Javaswing 18


    from a graphical interface(made using javaswing) i call a nativemethod using JNI which reads value from port. javaswing,jni compilation is successfull. but when run the javaswingprogram,there is a error that is----

    java -classpath . SwitchTest
    Xlib: connection to ":0.0" refused by server
    Xlib: No protocol specified
    Exception in thread "main" java.lang.InternalError: Can't connect to X11 window server using ':0.0' as the value of the DISPLAY variable.
    at sun.awt.X11GraphicsEnvironment.initDisplay(Native Method)
    at sun.awt.X11GraphicsEnvironment.access$000(X11GraphicsEnvironment.java:53)
    at sun.awt.X11GraphicsEnvironment$1.run(X11GraphicsEnvironment.java:142)
    at java.security.AccessController.doPrivileged(Native Method)
    at sun.awt.X11GraphicsEnvironment.clinit(X11GraphicsEnvironment.java:131)
    at java.lang.Class.forName0(Native Method)
    at java.lang.Class.forName(Class.java:164)
    at java.awt.GraphicsEnvironment.getLocalGraphicsEnvironment(GraphicsEnvironment.java:68)
    at java.awt.Window.init(Window.java:263)
    at java.awt.Window.init(Window.java:311)
    at java.awt.Frame.init(Frame.java:405)
    at java.awt.Frame.init(Frame.java:370)
    at javax.swing.JFrame.init(JFrame.java:150)
    at SwitchFrame.init(SwitchTest.java:20)
    at SwitchTest.main(SwitchTest.java:11)

    what to do next,plz reply as early as possible.we r in urgent need..
    thaking u,

  • RELEVANCY SCORE 2.61

    DB:2.61:Throwing Exceptions From A Thread In A Library 9s


    I have a problem in exception handling in c++

    I built a sharedlibrary which is loaded by a java program using jni.
    After the java program loads the library it calls a method which will spawn threads defined in the same library.If i try to throw an exception from the library either from a an ordinay function or from a thread the program recieves a sigabort signal and crashes.Is there any special compilation switches or configuration options to compile a multithreaded library which throws exceptions.I m using g++ compiler and ld for linking.

    can any one of u tell me the compilation statement will all the needed switches

    DB:2.61:Throwing Exceptions From A Thread In A Library 9s

    Unfortunately, right now GCC's standard C++ runtime library is NOT threadsafe. You can find documentation supporting this on the GCC website. Since you're running a multithreaded Java/JNI application, you'll certainly hit this shortcoming.
    p
    Supposedly, this will all be fixed in GCC 3.0.
    p
    In the meantime, if you're using SPARC, the only option you have is either using SC4.2 or Forte 6 Update 2 (this particular version is VERY important for several reasons).

  • RELEVANCY SCORE 2.60

    DB:2.60:Method To Get List Of Window's Installed Programs? 3m


    Does anyone have a jni or any other method to get window's variables like
    the programs currently installed on the machine, total system memory,
    processor speed, etc.. Are they stored in a file anywhere? If anyone could point
    me in the right direction I would appreciate it.

    DB:2.60:Method To Get List Of Window's Installed Programs? 3m

    There is a JNDI service provider that provides access to the Windoze registry. Sun provides a short list of some JNDI providers at http://java.sun.com/products/jndi/serviceproviders.html and the Windoze registry JNDI service provider is Cogent Logic Corp.: http://cogentlogic.com/cocoon/CogentLogicCorporation/JNDI.xml.

  • RELEVANCY SCORE 2.60

    DB:2.60:Where Jni Is Used?..I Want Typical Applications k9


    Hello All,

    I am new to JNI...
    I have written some applications..
    I will like to know where JNI can be used typically..
    What r such application?
    Plz give some examples..
    Which applications should i try to make proper use of
    JNI

    Thanks in advance..

    DB:2.60:Where Jni Is Used?..I Want Typical Applications k9

    Hello,
    I think the most typicall application is the JavaVM it self. All connections to the OS are done through JNI.

    Baseman