search for: jni

Displaying 20 results from an estimated 410 matches for "jni".

Did you mean: jne
2007 May 30
5
java bindings 1.0.0 - jni.h not found
Hi all, I am new to Xapian and want to use it with Java. In order to do that I tried to compile the Java bindings. I set XAPIAN_CONFIG and invoked "configure". However "./configure --with-java" exits with an error. Point of failure: checking for jni.h... no checking for jni.h in /usr/lib/jvm/java-1.5.0-sun/include... no checking for jni.h in /usr/lib/jvm/java-gcj/include... no checking for jni.h in /System/Library/Frameworks/JavaVM.framework/Headers... no configure: error: jni.h not found Note that I have added JAVA_HOME to my path an...
2019 Jan 22
2
So nearly there, but can't install rJava
...r/lib/jvm/default-java/jre/bin/java Java version : 1.8.0_181 Java home path : /usr/lib/jvm/default-java Java compiler : /usr/lib/jvm/default-java/bin/javac Java headers gen.: /usr/lib/jvm/default-java/bin/javah Java archive tool: /usr/lib/jvm/default-java/bin/jar trying to compile and link a JNI program detected JNI cpp flags : detected JNI linker flags : gcc -std=gnu99 -I"/usr/share/R/include" -DNDEBUG -fpic -g -O2 -fdebug-prefix-map=/home/jranke/git/r-backports/stretch/r-base-3.5.2=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -g...
2016 Sep 09
3
problem with bindings configure script
...ean in the xapian-core-1.4.0 directory. The second issue produces the following output from the xapian-bindings configure script: checking for java... /opt/java/jdk1.8.0_92/bin/java checking for javac... /opt/java/jdk1.8.0_92/bin/javac checking for jar... /opt/java/jdk1.8.0_92/bin/jar checking for jni.h... cat: confdefs.h: No such file or directory no checking for jni.h in /opt/java/jdk1.8.0_92/include... cat: confdefs.h: No such file or directory found, but not usable checking for jni.h in /opt/java/jdk1.8.0_92/include... cat: confdefs.h: No such file or directory found, but not usable checking...
2010 Aug 13
1
Installing rJava fails on Gentoo (amd64) with Sun JDK - checking JNI data types... error
Installing rJava fails consistently, whether installed via the command line as below, or through "install.packages( 'rJava' )", and whether 0.84 or 0.85 is used, with the message :- "checking JNI data types... configure: error: One or more JNI types differ from the corresponding native type. You may need to use non-standard compiler flags or a different compiler in order to fix this." I've tried to fix it using suggestions from the r-help list, and the Gentoo java documentation, b...
2016 Sep 12
2
problem with bindings configure script
James, That worked, thanks, but with a caveat. I don't know if this is a limitation of autoconf/configure, but jni.h wants to include jni_md.h, which is located in JNI_INCLUDE_DIR/win32, which is not automatically searched. I was able to work around this by moving jni_md.h from the win32 sub directory to the same directory as jni.h. No idea who's bug this is, if it is legitimately a bug, but putting this ti...
2019 Jan 22
4
So nearly there, but can't install rJava
As ever, I learn from this: I didn't know apt-file. Got it, installed it, used it: root at DebianAdvent:/home/chris/Downloads/gmp-6.1.2# apt-file search jni.h android-libnativehelper-dev: /usr/include/android/nativehelper/jni.h android-platform-frameworks-native-headers: /usr/include/android/android/asset_manager_jni.h android-platform-frameworks-native-headers: /usr/include/android/android/native_window_jni.h gcj-6-jdk: /usr/lib/gcc/x86_64-linux-g...
2010 Mar 19
1
Can't setup rJava under ubuntu
...'/usr/bin/javah' cpp flags : '-I/usr/lib/jvm/java-6-openjdk/jre/../include' java libs : '-L/usr/lib/jvm/java-6-openjdk/jre/lib/i386/client -L/usr/lib/jvm/java-6-openjdk/jre/lib/i386 -L/usr/lib/jvm/java-6-openjdk/jre/../lib/i386 -L -L/usr/java/packages/lib/i386 -L/usr/lib/jni -L/lib -L/usr/lib -ljvm' checking whether JNI programs can be compiled... configure: error: Cannot compile a simple JNI program. See config.log for details. e a simple JNI program. See config.log for details. Well, there is no /usr/bin folder on my computer and I have no idea of why in...
2017 Oct 27
1
javareconf issue
...erminal: Java interpreter : /usr/bin/java Java version : 9 Java home path : /Library/Java/JavaVirtualMachines/jdk-9.jdk/Contents/Home Java compiler : /usr/bin/javac Java headers gen.: /usr/bin/javah Java archive tool: /usr/bin/jar System Java on macOS *trying to compile and link a JNI program * *detected JNI cpp flags : -I/System/Library/Frameworks/JavaVM.framework/Headers* *detected JNI linker flags : -framework JavaVM* *clang -I/Library/Frameworks/R.framework/Resources/include -DNDEBUG -I/System/Library/Frameworks/JavaVM.framework/Headers -I/usr/local/include -fPIC -...
2009 Nov 09
0
Thanks, cloning support, JNI, and new project using Speex
...rrent (active) frame they differ. - I discard cloned encoders when the participant becomes silent again. There are at most a few participants speaking at the same time, so this way I save a lot of CPU. I thus implemented cloning of the encoder state, both in the Java version of Speex, and in a JNI interface I wrote (because Encours.org is able to use the latest speex sources as JNI and fall back to pure java if the JNI is not found for some reason). In case this is useful to anyone, do not hesitate to take the cloning code back from Encours.org :) Happy hacking, Nicolas
2006 Oct 31
0
6285992 JNI should make use of dm_inuse() when 6343802 is fixed
Author: talley Repository: /hg/zfs-crypto/gate Revision: ee193c0b713e5b433df62de6679214ea81efd17b Log message: 6285992 JNI should make use of dm_inuse() when 6343802 is fixed 6399767 JNI: pools without root datasets are not modeled in JNI Files: update: usr/src/lib/libzfs_jni/common/libzfs_jni_dataset.c update: usr/src/lib/libzfs_jni/common/libzfs_jni_dataset.h update: usr/src/lib/libzfs_jni/common/libzfs_jni_diskm...
2011 Jan 13
3
Wine app, can use Linux Java (JNI)?
I have a windows application that use Java virtual machine through JNI for run this application i've installed also JRE on Wine. The application works well but is there a way to use the Java virtual machine installed on Linux machine instead of JVM installed in wine ?
2012 Jun 20
2
[LLVMdev] Performance of JNI in VMKit
Dear developers, Are there any benchmarks for the performance of Java Native Interface (JNI) calls in VMKit? Since VMKit is based on LLVM which can also run C++ code (maybe in the same just-in-time compiler?) I guess calls from Java to C++ and back could be much faster than in Sun's JVM which has extremely slow C++ -> Java callbacks. If this was the case, this would be a big advan...
2008 Mar 26
3
[LLVMdev] Say hi to VMKit: JVM/LLVM, CLI/LLVM
Very nice Torok! I applied most of the patch. A few comments: 1) What is your jni.h file? I can't compile the Jni.cpp file with your changes. 2) ISO C++ does not support %jd. x86_64 does not know about %lld? Thanks! Nicolas Török Edwin wrote: > Nicolas Geoffray wrote: > >> Hi everyone, >> >> I've just checked in a JVM and a CLI for LLVM (cal...
2018 Mar 27
7
R and Java 10 ➜ rJava not able to build
...ualMachines/jdk-10.jdk/Contents/Home Java compiler : /Library/Java/JavaVirtualMachines/jdk-10.jdk/Contents/Home/bin/javac Java headers gen.: /usr/bin/javah Java archive tool: /Library/Java/JavaVirtualMachines/jdk-10.jdk/Contents/Home/bin/jar Non-system Java on macOS trying to compile and link a JNI program detected JNI cpp flags : -I$(JAVA_HOME)/include -I$(JAVA_HOME)/include/darwin detected JNI linker flags : -L$(JAVA_HOME)/lib/server -ljvm /usr/local/opt/llvm/bin/clang -I/usr/local/Cellar/r/3.4.4/lib/R/include -DNDEBUG -I/Library/Java/JavaVirtualMachines/jdk-10.jdk/Contents/Home/include...
2012 Jun 27
1
[LLVMdev] Performance of JNI in VMKit
Hi Nicolas, thanks for your detailed answer! Now I understand the issues a little better. I'm going to install LLVM + Vmkit and try it out using JNI. Regarding the garbage collector, do you think that the Garbage Collection ABI of C++11 could be implemented in a way compatible to the JVM's garbage collector? http://www2.research.att.com/~bs/C++0xFAQ.html#gc-abi Perhaps this could make the C/C++/Java integration quite seamless and the two...
2012 Jun 23
0
[LLVMdev] Performance of JNI in VMKit
Hi Bruno, On Wed, Jun 20, 2012 at 3:04 PM, Bruno Daniel <abml at mailoo.org> wrote: > Dear developers, > > Are there any benchmarks for the performance of Java Native Interface (JNI) > calls in VMKit? Since VMKit is based on LLVM which can also run C++ code > (maybe in the same just-in-time compiler?) I guess calls from Java to C++ > and > back could be much faster than in Sun's JVM which has extremely slow C++ -> > Java callbacks. > > If this was t...
2018 Mar 28
0
R and Java 10 ➜ rJava not able to build
...Home >Java compiler : >/Library/Java/JavaVirtualMachines/jdk-10.jdk/Contents/Home/bin/javac >Java headers gen.: /usr/bin/javah >Java archive tool: >/Library/Java/JavaVirtualMachines/jdk-10.jdk/Contents/Home/bin/jar >Non-system Java on macOS > >trying to compile and link a JNI program >detected JNI cpp flags : -I$(JAVA_HOME)/include >-I$(JAVA_HOME)/include/darwin >detected JNI linker flags : -L$(JAVA_HOME)/lib/server -ljvm >/usr/local/opt/llvm/bin/clang >-I/usr/local/Cellar/r/3.4.4/lib/R/include -DNDEBUG >-I/Library/Java/JavaVirtualMachines/jdk-10.j...
2008 Mar 26
0
[LLVMdev] Say hi to VMKit: JVM/LLVM, CLI/LLVM
Nicolas Geoffray wrote: > Very nice Torok! I applied most of the patch. A few comments: > Thanks! > 1) What is your jni.h file? I can't compile the Jni.cpp file with your > changes. > Ouch, did they change 'const'-ness between gcj versions? I was using gcj-4.2.3, and jni.h is from libgcj8-dev. > 2) ISO C++ does not support %jd. x86_64 does not know about %lld? > It does, but gcc giv...
2004 Aug 06
1
timing_sleep malfunctioning under MinGW
...the libshout-2.0 release to compile under gcc/MingGW ('gcc -mno-cygwin', version 'gcc (GCC) 3.3.1 (cygming special)'), after applying Leigh Smith's patches as posted on this list (http://www.xiph.org/archives/icecast-dev/0660.html). I have then generated a dll and wrapped it in JNI using the stubs from libshout-java (http://benow.ca/index?page=project&project=libshout-java). So, I have libshout basically working through Java on Windows XP. I think everything is working ok, except shout_sync. This call returns immediately under the compilation setup above, instead of actu...
2011 Mar 22
0
JGR compile problem: JNI type error with a twist
Hi folks: Updated my system again and am stuck on a JGR compile problem. What I've seen in discussion of the problem doesn't seem to be helping. As others have encountered, it can't compile rJava (for one), getting this error: checking JNI data types... configure: error: One or more JNI types differ from the corresponding native type. Also, consistently with what others report, when I run javareconf, I get: JAVA_HOME is not a valid path, ignoring It seems that some people have fixed this problem by pointing JAVA_HOME to the valid...