Displaying 20 results from an estimated 9000 matches similar to: "Error in .jinit() : Cannot create Java Virtual Machine"
2012 Aug 08
1
Cannot create Java virtual machine (-1)
All,
I am trying to get the XLConnect package to work on one of my servers and I am getting an error that XLConnectJars cannot create the java virtual machine. The server is a 32-bit Windows Server 2003 machine with R 2.15.1. The version of Java installed on the server is J2SE Environment 5.0 update 8. I know this not the latest version of Java, and I will try to update it when I get
2007 May 17
2
.jinit() problem
Hello there.
When I try to start the jvm using .jinit() after loading library(rJava) I
don't seem to be able to as I get the message:
Error in .jinit() : Cannot create Java Virtual Machine
What is going on here? I have java 1.6 installed on my XP machine
Thanks again.
--
View this message in context: http://www.nabble.com/.jinit%28%29-problem-tf3774265.html#a10671963
Sent from the R
2011 Nov 14
1
.jinit() : Cannot create Java virtual machine
Dear all,
when using .jinit() I get the message .jinit() : Cannot create Java
virtual machine (-1).
The details:
I am using the Dismo package.Dismo has a function 'maxent' that communi-cates with this program(MaxEnt).MaxEnt is available as a stand-alone Java program.
It is normal when I execute the command : "jar <- paste(system.file(package="dismo"),
2011 Nov 14
0
rJava .jinit() : Cannot create Java virtual machine (-1)
Hi,
I have the same problem in R, and I want to ask you that how to solve the problem.
Thank you very much.
Wang
2011-11-14
ahwangyuwei
[[alternative HTML version deleted]]
2006 Nov 06
0
rJava: java.lang.OutOfMemoryError
Hy,
In my case I just invoked as root (on a linux box) the command R CMD
javareconf and checked if my system and root vm did match the version of
the user vm. After this the
command .jinit(parameters=c("-Xmx512m","-Xmx128m")) could be executed
without errors. I got this information from
http://www.rosuda.org/JGR/down.shtml
--
Hi,
Has anybody encountered the following
2007 Mar 14
0
Cannot create Java Virtual Machine
Hi I installed package rJava but .jinit() gives an error "Cannot create
Java Virtual Machine".
Currently, I am running Win XP, with JRE and JDK 1.5 installed. I am not
quite familiar with java configuation. Can anyone give some ideas on the
error mentioned above? Thanks.
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
This message is intended only
2011 Apr 30
3
Copying to R a rectangular array from a Java class
Bare test code: My simple Java test class source and R test code follow:
public class RJavTest {
public static void main(String[]args) { RJavTest rJavTest=new RJavTest();
}
public final static String conStg="testString";
public final static double con0dbl=10000001;
public final static double[]con1Arr=new double[] {
10001,10002,10003,10004,10005,10006 };
public final static
2017 Oct 21
2
Problem when trying to run Java in R:
Hello All,
Although running Java from R used to work, for some mysterious reason, it's stopped.
Today when I tried to load a basic JDBC driver (or the sample .jinit()) code, I got:
- JavaVM: requested Java version ((null)) not available. Using Java at "" instead.
- JavaVM: Failed to load JVM: /bundle/Libraries/libserver.dylib
- JavaVM FATAL: Failed to load the jvm library.
I
2008 Apr 03
0
Reloading java classes with rJava
Dear R people,
I have recently started using rJava to interact with Java code that I have
written and am finding it a very useful bridge. Thanks!
I have now run into a problem I can't figure out. If I edit and recompile my
java source code I would like to force rJava to reload the modified java
class. However even doing:
.jinit(force.init=TRUE)
To restart the jvm doesn't seem to do
2009 May 13
0
Segmentation fault in package rJava on CentOS server
Hello,
I just installed rJava on
[root at UG13 ~]# R --version
R version 2.9.0 (2009-04-17)
runing on a
[root at UG13 ~]# cat /etc/redhat-release
CentOS release 5.3 (Final)
This is the output of
[root at UG13 ~]# R CMD javareconf
Java interpreter : /usr/bin/java
Java version : 1.4.2_18
Java home path : /usr/java/j2sdk1.4.2_18/jre
Java compiler : /usr/bin/javac
Java headers gen.:
2006 Oct 11
0
Accessing R from Java [Broadcast]
I've had good luck with Rserve. http://stats.math.uni-augsburg.de/Rserve/
Hope this helps,
Matt
-----Original Message-----
From: r-help-bounces at stat.math.ethz.ch
[mailto:r-help-bounces at stat.math.ethz.ch] On Behalf Of fuad
Sent: Tuesday, October 10, 2006 9:58 PM
To: R-help at stat.math.ethz.ch
Subject: [R] Accessing R from Java [Broadcast]
Hello All,
I am Fuad from Indonesia. I
2006 Oct 11
0
Accessing R from Java
Hello All,
I am Fuad from Indonesia. I am doing a research using R. I need to access R
from Java.
Here are my computer specifications :
1. Windows XP
2. Java 1.4.0
3. R 2.2.1
4. rJava_0.4.3.zip ; I download the binary from CRAN
5. Rserve_0.4 ; I download the exe from Rosuda
6. JRI_0.3.5.tar.gz from Rosuda too
I have successfully install and try a
2010 Apr 28
1
rJava (installation?) problem: unable to find the basic String class
Hello,
I have experienced the following problem after installing rJava (it
being a prerequisite for another package in which I am relly
interested). Any helpful thoughts would be appreciated:
OS: Windows XP Professional 2002 SP3, have Java 6 Update 20 from Sun,
also installed the JDK from
http://java.sun.com/javase/downloads/index.jsp (or at least I suspect
I installed it as it asked to re-boot
2013 Sep 23
0
Unable to execute Java MapReduce (Hadoop) code from R using rJava
Hi All,
I have written a Java MapReduce code that runs on Hadoop. My intention is
to create an R package which will call the Java code and execute the job.
Hence, I have written a similar R function. But when I call this function
from R terminal, the Hadoop job is not running. Its just printing few lines
of warning messages and does nothing further. Here is the execution
scenario:
*>
2013 Nov 11
2
problem using rJava with parallel::mclapply
Dear all,
I got an issue trying to parse excel files in parallel using XLConnect, the
process hangs forever.
Martin Studer, the maintainer of XLConnect kindly investigated the issue,
identified rJava as a possible cause of the problem:
This does not work (hangs):
library(parallel)
require(rJava)
.jinit()
res <- mclapply(1:2, function(i) {
2009 Apr 05
1
RJava question(class not found with rJava's vm, though found with alternate vm)
Not sure if this the right place, but I can't seem to subscribe to the rJava
mailing list. Sorry for the noise.
I have a jar file in the CLASSPATH variable. On running .jinit and checking
.jclassPath, i can see the jar file containing the class. Yet when trying to
instantaite the class, i get a class not found error.
Now If if, create my own vm (see below), and then run .jinit (which will
2008 Mar 11
0
.jinit()
Dear list,
when I write .jinit(), the following error message coming out.
Error occurred during initialization of VM
Could not reserve enough space for object heap
Error in .jinit() : Cannot create Java virtual machine (-4)
I have C:\Program Files\Java\jre1.6.0_04 and C:\Program
Files\Java\jre1.6.0_05 both installed
Appreciate for any replies as I am not using Java at all.
Regards.
mam
2007 Sep 27
2
rJava and RJDBC
I am desperate for help.
I am trying to get the RJDBC and rJava .5to work on both my windows xp
and linux Redhat EL5 Server. On both I get a
ava.lang.ClassNotFoundException when calling JDBC().
My example is
require(RJDBC)
classPath='C:\\libraries\\mysql-connector-java-5.1.3-rc\\mysql-connector-java-5.1.3-rc-bin.jar'
driverClass=c("com.mysql.jdbc.Driver")
drv <-
2017 Jun 26
3
rJava Broken on Linux + R 3.4
Dear All,
I think there is something wrong with rJava on any Debian based
distribution.
I may be wrong, but I experiencing exactly the problems mentioned at
https://github.com/amattioc/SDMX/issues/130
and at
https://github.com/s-u/rJava/issues/110
A couple of packages (RJSDMX and xlsx) are now impossible to install
on my debian stretch platform running R 3.4.
It seems I am not the only one
2017 Jun 25
1
rJava Broken on Linux + R 3.4
Dear All,
I think there is something wrong with rJava on any Debian based
distribution.
I may be wrong, but I experiencing exactly the problems mentioned at
https://github.com/amattioc/SDMX/issues/130
and at
https://github.com/s-u/rJava/issues/110
A couple of packages (RJSDMX and xlsx) are now impossible to install
on my debian stretch platform running R 3.4.
It seems I am not the only one