Java issues with PMcheck

Issues related to the installation of Pmetrics and getting it to run on your system.
Post Reply
User avatar
mneely
Site Admin
Posts: 234
Joined: Tue Nov 08, 2011 11:08 am
Contact:

Java issues with PMcheck

Post by mneely » Fri Oct 10, 2014 9:24 am

This issue only applies to Windows users as far as I know. That is because they allow 32 bit versions of their operating system on 64 bit machines.

PMcheck uses Java to write a nicely formatted Excel file that highlights errors. If your computer is 32 bit, then you shouldn't have a problem as everything will be 32 bit, including Java, and R will be able to find Java.

If you have a 64 bit machine (right click "My Computer" and select properties to find out), you also have to have 64-bit software. It is possible to have 32 bit versions of Windows, or even have 64 bit Windows, but 32 bit browser (IE, Firefox or Chrome). If you have a 32 bit browser then 32 bit Java will be installed. This will cause a problem with 64-bit R and 64-bit Rstudio.

The simple check is in R, type the following into your console.

R.Version()

On Windows and Mac, look for this:


$arch
[1] "x86_64"


That will tell you that R is 64 bit. You then need to make sure you have a 64-bit version browser. The way you know you've got one is to go to the Java download page and click the download link. It will then take you to a page with another download button and it will say "64-bit Java for Windows" at the top. If it doesn't, it is 32 bit.

Hope that helps.

Post Reply