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"), "/java/maxent.jar", sep='')" when I execute 
the function:        xm <- maxent(predictors, pres_train, factors='biome').The 
R show the error(Cannot create Java virtual machine) .  Java is correct 
installed .
My R version is 2.14.0.
 I don't know how to solve the problem. Will you help me out?
Thank you,all. 
                          Yuwei Wang
Cnic,CAS
          

        [[alternative HTML version deleted]]

______________________________________________
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.

Reply via email to