Skip to content
Prev 3007 / 3656 Next

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-gnu/6/include/jni.h 
gcj-6-jdk: /usr/lib/jvm/java-1.5.0-gcj-6-amd64/include/jni.h 
libavcodec-dev: /usr/include/x86_64-linux-gnu/libavcodec/jni.h 
libgluegen2-build-java: /usr/share/gluegen2/make/stub_includes/jni/jni.h 
openjdk-8-jdk-headless: /usr/lib/jvm/java-8-openjdk-amd64/include/jni.h 

I was 99% sure I already had that last installed. Sure enough: 

root at DebianAdvent:/home/chris/Downloads/gmp-6.1.2# apt-get install openjdk-8-jdk-headless 
Reading package lists... Done 
Building dependency tree 
Reading state information... Done 
openjdk-8-jdk-headless is already the newest version (8u181-b13-2~deb9u1). 
openjdk-8-jdk-headless set to manually installed. 
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 

Anyone else got any ideas? 

Chris