Displaying 20 results from an estimated 203 matches for "java_home".
2010 Mar 09
1
rJava works on karmic for root but not for user sean
...ets methods base
>
root at SeansPC:~# R CMD javareconf
Java interpreter : /usr/bin/java
Java version : 1.6.0_15
Java home path : /usr/lib/jvm/java-6-sun-1.6.0.15/jre
Java compiler : /usr/bin/javac
Java headers gen.: /usr/bin/javah
Java archive tool: /usr/bin/jar
Java library path:
$(JAVA_HOME)/lib/amd64/server:$(JAVA_HOME)/lib/amd64:$(JAVA_HOME)/../lib/amd64::/usr/java/packages/lib/amd64:/lib:/usr/lib
JNI linker flags : -L$(JAVA_HOME)/lib/amd64/server
-L$(JAVA_HOME)/lib/amd64 -L$(JAVA_HOME)/../lib/amd64 -L
-L/usr/java/packages/lib/amd64 -L/lib -L/usr/lib -ljvm
JNI cpp flags : -I$(JAV...
2004 Dec 29
2
Makefile vs Makevars vs configure
...s 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 need help with Makevars is because it needs jni.h from the
user's JAVA_HOME/include and jni_md.h from the user's
JAVA_HOME/include/OS_TYPE directory.
In addition, it needs libjvm.so from the user's
JAVA_HOME/jre/lib/ARCH/client directory.
I've looked at the SJava package with the idea of using a similar configure
script, but I was hoping I could just get by w...
2010 Aug 13
1
Installing rJava fails on Gentoo (amd64) with Sun JDK - checking JNI data types... error
...r VM (build 16.3-b01, mixed mode)
The compiler mentioned in the R output :-
/home/astaines/.gentoo/java-config-2/current-user-vm
is a link pointing to
/usr/lib/jvm/sun-jdk-1.6
which in turn is a link pointing to
/opt/sun-jdk-1.6.0.20
however, any of the three will work.
# R CMD javareconf
*** JAVA_HOME is not a valid path, ignoring
Java interpreter : /usr/bin/java
Java version : 1.6.0_20
Java home path : /opt/sun-jdk-1.6.0.20/jre
Java compiler :
/home/astaines/.gentoo/java-config-2/current-user-vm/bin/javac
Java headers gen.: /usr/bin/javah
Java archive tool: /usr/bin/jar
Java library pa...
2012 Mar 20
1
rJava / RCMD javareconf fails
...MD javareconf as root I am rot on my
machines) Fails.
/
[root at penguins1lanalt etc]# R CMD javareconf
Java interpreter : /usr/bin/java
Java version : 1.6.0_30
Java home path : /usr/java/jre1.6.0_30
Java compiler : not present
Java headers gen.:
Java archive tool:
Java library path:
$(JAVA_HOME)/lib/i386/server:$(JAVA_HOME)/lib/i386:$(JAVA_HOME)/../lib/i386:/usr/java/packages/lib/i386:/lib:/usr/lib
JNI linker flags : -L$(JAVA_HOME)/lib/i386/server -L$(JAVA_HOME)/lib/i386
-L$(JAVA_HOME)/../lib/i386 -L/usr/java/packages/lib/i386 -L/lib -L/usr/lib
-ljvm
JNI cpp flags :
Updating Java con...
2010 Dec 14
7
source /etc/profile
Hello ,
There is a way to source /etc/profile inside puppet on demand?
My problem is that I install Java, afterwards I set JAVA_HOME variable
in /etc/profile.
After Java is installed, a gem which depends on Java starts to
install ... but as it needs JAVA_HOME environment to be set, it fails.
I am not sure what can I do ...
Thank you,
Adrian
--
You received this message because you are subscribed to the Google Groups "...
2007 Apr 19
1
rJava help
Hi,
I use Redhat Linux for R. Now I am trying to use the rJava library. I
downloaded JRE beta 2 from Sun. I typed
root@~]# R CMD javareconf
Java interpreter : /usr/bin/java
Java version : 1.6.0-beta2
Java home path : /usr/java/jre1.6.0
Java library path:
$(JAVA_HOME)/lib/amd64/server:$(JAVA_HOME)/lib/amd64:$(JAVA_HOME)/../lib/amd64::/usr/java/packages/lib/amd64:/lib:/usr/lib
JNI linker flags : -L$(JAVA_HOME)/lib/amd64/server
-L$(JAVA_HOME)/lib/amd64 -L$(JAVA_HOME)/../lib/amd64 -L
-L/usr/java/packages/lib/amd64 -L/lib -L/usr/lib -ljvm
when I try to install r...
2018 Mar 27
7
R and Java 10 ➜ rJava not able to build
...mpiler : /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 -I/Library/Java/JavaVirtualMachines/jdk-10.jdk/Co...
2018 Mar 28
0
R and Java 10 ➜ rJava not able to build
...vaVirtualMachines/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
>-I/Library/Java/JavaVirtu...
2009 Jul 14
1
Ubuntu JGR
...MD javareconf
root at gunnar-laptop:~# R CMD javareconf
Java interpreter : /usr/bin/java
Java version : 1.5.0_18
Java home path : /usr/lib/jvm/java-1.5.0-sun-1.5.0.18/jre
Java compiler : /usr/bin/javac
Java headers gen.: /usr/bin/javah
Java archive tool: /usr/bin/jar
Java library path: $(JAVA_HOME)/lib/i386/client:$(JAVA_HOME)/lib/i386:
$(JAVA_HOME)/../lib/i386
JNI linker flags : -L$(JAVA_HOME)/lib/i386/client -L
$(JAVA_HOME)/lib/i386 -L$(JAVA_HOME)/../lib/i386 -ljvm
JNI cpp flags : -I$(JAVA_HOME)/../include -I
$(JAVA_HOME)/../include/linux
Updating Java configuration in /etc/R
Done.
Th...
2010 Jun 04
1
R Java compile problem
...ni -L/lib -L/usr/lib -ljvm'
configure: error: One or more Java configuration variables are not set.
Make sure R is configured with full Java support (including JDK). Run
R CMD javareconf
as root to add Java support to R.
##
When I run R CMD javareconf as root, I get:
##
# R CMD javareconf
*** JAVA_HOME is not a valid path, ignoring
Java interpreter : /usr/bin/java
Java version : 1.6.0_0
Java home path : /usr/lib/jvm/java-6-openjdk/jre
Java compiler : /usr/bin/javac
Java headers gen.: /usr/bin/javah
Java archive tool: /usr/bin/jar
Java library path:
$(JAVA_HOME)/lib/amd64/server:$(JAVA_HO...
2015 Oct 17
3
R 3.2.2 - make check and install package hang
...nterpreter : /usr/bin/java
Java version : 1.7.0_85
Java home path : /usr/lib/jvm/java-1.7.0-openjdk-1.7.0.85.x86_64/jre
Java compiler : /usr/bin/javac
Java headers gen.: /usr/bin/javah
Java archive tool: /usr/bin/jar
trying to compile and link a JNI program
detected JNI cpp flags : -I$(JAVA_HOME)/../include -I$(JAVA_HOME)/../include/linux
detected JNI linker flags : -L$(JAVA_HOME)/lib/amd64/server -ljvm
make[2]: Entering directory `/tmp/Rjavareconf.lcq59l'
gcc -std=gnu99 -I/home/dmccully/R-3.2.2/include -DNDEBUG -I/usr/lib/jvm/java-1.7.0-openjdk-1.7.0.85.x86_64/jre/../include -I/usr/li...
2010 May 24
4
Need Help debugging a Java based windows application to run
Hi All,
I am trying to run a java based communication client developed for winidows to run on Ubuntu/Wine.
First I tried installing the app without having JRE under Wine, it halted with an error while installing JRE. So, I installed JRE separately under wine and then the application. It installed correctly.
Now, when I run the application, it starts (I can see it under the process list) and
2008 Feb 13
2
Perils of R_LIBRARY_PATH
...end sets (via etc/ldpath) R_LIBRARY_PATH, including
R_JAVA_LD_LIBRARY_PATH. Perhaps the later is too obliging, as I've just
be caught by it in a way that took me a while to track down.
One of my machines has a Sun jdk1.6.0* JDK installed, and as a result
we have
${R_JAVA_LD_LIBRARY_PATH=${JAVA_HOME}/lib/amd64/server:${JAVA_HOME}/lib/amd64:
${JAVA_HOME}/../lib/amd64}
What I was not aware of was that the Sun JDK contains Gtk+ libraries such
as cairo and pango, and those were older than the ones whose headers I
had compiled against which eventually resulted in a crash.
It seems to be an issu...
2018 Mar 28
1
R and Java 10 ➜ rJava not able to build
...ts/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
>...
2007 May 30
5
java bindings 1.0.0 - jni.h not found
...ure:
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 and if I look into the directory
"/usr/lib/jvm/java-1.5.0-sun/include" there is a "jni.h" file - This
directory does not appear if I don't set JAVA_HOME.
Next I tried to set the variable JNI_INCLUDE_DIR. No effect at all.
The script claims to look in the proper...
2012 Apr 12
1
Can't get R to recognize Java for rJava 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 headers gen.:
Java archive tool: /usr/bin/jar
Java library path: $(JAVA_HOME)/lib/i386/client:$(JAVA_HOME)/lib/i386:$(JAVA_HOME)/../lib/i386:/usr/java/packages/lib/i386:/lib:/usr/lib
JNI linker flags : -L$(JAVA_HOME)/lib/i386/client -L$(JAVA_HOME)/lib/i386 -L$(JAVA_HOME)/../lib/i386 -L/usr/java/packages/lib/i386 -L/lib -L/usr/lib -ljvm
JNI cpp flags :
Updating Java conf...
2009 Jul 13
1
Ubuntu und R
...#39;''
{{{
root at gunnar-laptop:~# R CMD javareconf
Java interpreter : /usr/bin/java
Java version : 1.6.0_13
Java home path : /usr/lib/jvm/java-6-sun-1.6.0.13/jre
Java compiler : /usr/bin/javac
Java headers gen.: /usr/bin/javah
Java archive tool: /usr/bin/jar
Java library path: $(JAVA_HOME)/lib/i386/client:$(JAVA_HOME)/lib/i386:
$(JAVA_HOME)/../lib/i386::/usr/java/packages/lib/i386:/lib:/usr/lib
JNI linker flags : -L$(JAVA_HOME)/lib/i386/client -L
$(JAVA_HOME)/lib/i386 -L$(JAVA_HOME)/../lib/i386 -L
-L/usr/java/packages/lib/i386 -L/lib -L/usr/lib -ljvm
JNI cpp flags : -I$(JAVA_HOME...
2012 Jun 05
0
[LLVMdev] vmkit: Requires JAVA_HOME
While building i got this error
Error: JAVA_HOME is not defined correctly.
I wonder why vmkit requires JAVA_HOME, i would expect it to be
independent of any java staff except the classspath. Am i missing something?
Thank you
Foivos
2012 Jun 05
1
[LLVMdev] vmkit: Requires JAVA_HOME
While building i got this error
Error: JAVA_HOME is not defined correctly.
I wonder why vmkit requires JAVA_HOME, i would expect it to be
independent of any java staff except the classspath. Am i missing something?
Thank you
Foivos
2006 Oct 30
2
RJB in Rails - setting JAVA_HOME correctly in environment.rb
All,
I am attempting to use RJB (Java-Ruby Bridge - see:
http://arton.no-ip.info/collabo/backyard/?RubyJavaBridge) in my Rails
app.
The documentation says: "Both LD_LIBRARY_PATH and JAVA_HOME setting
required in environment.rb file of RoR."
However, it doesn''t say _how_ to set these variables in environment.rb.
I''ve tried
JAVA_HOME = ''path_to_java_home''
ENV[''JAVA_HOME''] = ''path_to_java_home''
but I can'...