Displaying 20 results from an estimated 6000 matches similar to: "java bindings 1.0.0 - jni.h not found"
2016 Sep 09
3
problem with bindings configure script
All,
I'm trying to compile xapian core and bindings under cygwin. I have no
issues running the configure script and then compiling core, but bindings
is giving me some issues. I'm running the configure script for bindings as
follows:
in xapian-bindings-1.4.0 directory.
./configure XAPIAN_CONFIG=/home/John/xapian-core-1.4.0 --with-java and had
two issues.
The first I solved by doing
2007 Apr 03
4
binding JAVA, rushing!
Hi,
I met a problem when I binding JAVA.
1. download xapian-bindings-0.9.10.tar.gz to my local.
2. unzip binding file.
3. input ./configure --with-java in cygwin.
4 give me error:
checking for java... /cygdrive/c/Program
Files/Java/jdk1.5.0_11/bin/java
checking for javac... /cygdrive/c/Program
Files/Java/jdk1.5.0_11/bin/javac
checking for jar... /cygdrive/c/Program
Files/Java/jdk1.5.0_11/bin/jar
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,
2004 Dec 29
2
Makefile vs Makevars vs configure
Apologies in advance for the long post.
I'm currently using a Makefile to build my shared library. Pursuant to the
R-exts manual, I'd like to switch to a Makevars file or a configure file if
necessary.
Having never used these types of make utilities before, I'm a bit lost.
My package is quite simple. It only has one source file and one header:
excelpoi.cpp
excelpoi.h
The reason I
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
2009 Apr 30
1
rjava - JDK not found
Hi,
I would like to test the new package RGG (R Gui Generator). This package requires the installation of several other package.
One of them is rJava.
I installed sun-java6-jdk and run the R CMD javareconf but the installation still fails !
Do you have any ideas ?
* Installing *source* package ‘rJava’ ...
checking for gcc... gcc -std=gnu99
checking for C compiler default output file
2012 Feb 18
1
help updating package rJava (on ubuntu)
Esteemed useRs and Devs,
Attempts to update package:rJava to the latest version have failed. See
my code and output below.
Notably, as suggested here
http://stackoverflow.com/questions/3311940/r-rjava-package-install-failing
$ sudo apt-get install r-cran-rjava
ran successfully without error or warning, but my rJava package is not
updated, and remains un-updatable...
Greatly appreciate any
2019 Jan 22
3
So nearly there, but can't install rJava
Thanks Dirk and Enrico,
First clarification: I'm in this mess because I'm trying to run R 3.5.2 within Debian stable (9/"sretch") using the stretch-cran35 repository. That uses and provides r-api-35 but many of the packages depend upon r-api-3. As Johannes said a day or so back, the way around this is to use install.packages() in R to get the packages you want. That leads you
2018 Mar 27
7
R and Java 10 ➜ rJava not able to build
Hi!
I?m on macOS 10.13.3 and just installed the new Java 10 using Homebrew Cask. I also have installed R with Homebrew. Everything seems to work fine, however I just get different outputs if I run sudo R CMD javareconf or R CMD javareconf. With sudo I get pointed to Java 9 and without sudo I get pointed to Java 10. I really don?t know why.
Without sudo:
$ R CMD javareconf
2018 Mar 28
0
R and Java 10 ➜ rJava not able to build
I am not a Mac user, but I do use Linux and I would recommend not running R with sudo unless you are an admin ninja. That defensive practice would render the answer to your question moot.
It is possible that your problem may have started with inappropriate use of sudo in configuring java, but configuring Java is not on-topic here.
--
Sent from my phone. Please excuse my brevity.
On March 27,
2018 Mar 28
1
R and Java 10 ➜ rJava not able to build
Hi Jeff!!
I really don?t know if running R CMD javareconf with sudo has posed a problem here, now or in the past. What I know is sometimes it?s the only way to really config it, if I don?t run with sudo, in the end it asks me if I want to overwrite the configuration from root
override rw-r--r-- root/admin for
/usr/local/Cellar/r/3.4.4/lib/R/etc/Makeconf? (y/n [n]) y
override rw-r--r--
2009 Jan 27
1
rJava in R 2.8.1 on Ubuntu 8.10
Hi all
I have problems installing rJava on my system.
######## My system:
> R.version # at R prompt
platform x86_64-pc-linux-gnu
arch x86_64
os linux-gnu
system x86_64, linux-gnu
status
major 2
minor 8.1
year 2008
month 12
day 22
svn rev 47281
language R
version.string R version 2.8.1
2017 Oct 27
1
javareconf issue
Hi,
Wasn't able to see a bug report on this issue yet... Hope I'm not doublng
up.
There seems to be little info around for what "R CMD javareconf" does but
it has some deprecation errors seemingly.
On running cmd in terminal:
Java interpreter : /usr/bin/java
Java version : 9
Java home path : /Library/Java/JavaVirtualMachines/jdk-9.jdk/Contents/Home
Java compiler :
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:
2016 Apr 21
3
Cannot Run On The Command Line
On Wed, 20 Apr 2016 20:50:57 +0000
"Ellen K" <keyes at pushyes.xyz> wrote:
> From: "Ellen K" <keyes at pushyes.xyz>
> To: cireyapmin at gmail.com
> Subject: RE: [R-sig-Fedora] Cannot Run On The Command Line
> Date: Wed, 20 Apr 2016 20:50:57 +0000
> X-Mailer: iPad Mail (12H143)
>
> Hi virgo,
>
> Thank you for your interest in the
2012 Apr 12
1
Can't get R to recognize Java for rJava installation
Hi, I am unable to install the package rJava. I tried doing what the output suggests, but it doesn't help. How can I get R to find/recognize my Java installation? I am running R-2.15.0.
waichler at snow> sudo R CMD javareconf
Java interpreter : /usr/bin/java
Java version : 1.6.0_22
Java home path : /usr/lib/jvm/java-1.6.0-openjdk-1.6.0.0/jre
Java compiler : /usr/bin/javac
Java
2010 Jun 04
1
R Java compile problem
Hi folks: I'm trying to update my JGR and related packages, but run
into a compile problem, that I suspect must be affecting others. I
get this output when compiling rJava, JavaGD, etc.:
##
checking Java support in R... present:
interpreter : '/usr/bin/java'
cpp flags : ''
java libs : '-L/usr/lib/jvm/java-6-openjdk/jre/lib/amd64/server
2008 Jun 03
2
JGR / linux
Hi all,
i'm trying to install JGR on linux (see bottom), but it runs into errors.
The bottom of the sequence below shows "JavaJD could not be found"
Any suggestion, please?
$ sudo apt-get install sun-java6-jdk
$ sudo update-alternatives --config java
There are 5 alternatives which provide `java'.
Selection Alternative
-----------------------------------------------
1
2015 Oct 27
1
[PATCH] configure: Move language binding detection to separate files.
This commit starts to split our massive, monolithic configure.ac file
into smaller files, using the m4_include mechanism to combine them.
I don't know if we should really do this, so I'm open to comments
about it. However:
- Our configure.ac script is 1800+ lines long, and that's pretty long.
- configure.ac lacks structure; splitting it up might improve that.
- From what I read,
2009 Jul 08
2
can't get rJava to install on Linux
Having difficulties getting rJava to install on my Debian Squeeze box.
Perused the R-help list and tried some things that have worked for
others but not for me. Below is the output of my attempted build, R
CMD javareconf -e, and sessionInfo(). Note I tried the R CMD
javareconf also as root, restarted R after each of these, all no help.
* Installing *source* package ?rJava? ...
checking for