Re: [R] rJava problem

From: mister_bluesman <mister_bluesman_at_hotmail.com>
Date: Thu, 17 May 2007 04:03:19 -0700 (PDT)

Ah.... thanks for that. That seems to have done the trick. But I'm not sure whether I have copied the right jvm.dll file into the path.

I have 3:

~\Java\jre1.6.0_01\bin\client   -    this is the one i copied
~\Java\jdk1.6.0_01\jre\bin\client
~\Java\jdk1.6.0_01\jre\bin\server

Did I copy the right one? or do the all have exactly the same file but just placed in different directories?

Many thanks

mister_bluesman wrote:
>
> Basically, I’m trying to install rJava on my windows XP machine. I think I
> have succeeded in doing so as it appears in the list when i type library()
> in R.
>
> However, when i type ‘library(rJava)’ I get an error dialog box saying:
>
> 'This application has failed to start because jvm.dll was not found.
> Re-installing the application may fix this problem'
>
> When I press 'OK' on the dialog box, I get the following in the R console:
>
> Error in dyn.load(x, as.logical(local), as.logical(now)) :
> unable to load shared library
> 'C:/PROGRA~1/R/R-25~1.0/library/rJava/libs/rJava.dll':
> LoadLibrary failure: The specified module could not be found.
> Error : .onLoad failed in 'loadNamespace' for 'rJava'
> Error: package/namespace load failed for 'rJava'
>
> Do you have any ideas how I can fix this? I really would appreciate any
> help you could give me?
>
> I have tried reinstalling it and I continue to get the same problem. I am
> using java's jdk1.6.0_01
>
> Thanks
>

-- 
View this message in context: http://www.nabble.com/rJava-problem-tf3771205.html#a10662098
Sent from the R help mailing list archive at Nabble.com.

______________________________________________
R-help_at_stat.math.ethz.ch 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.
Received on Thu 17 May 2007 - 11:09:35 GMT

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.2.0, at Thu 17 May 2007 - 12:31:17 GMT.

Mailing list information is available at https://stat.ethz.ch/mailman/listinfo/r-help. Please read the posting guide before posting to the list.