Looks like no one’s replied in a while. To start the conversation again, simply ask a new question.

Java Virtual Machine & SPSS 18

Hi,

I'm getting the following error from SPSS 18.0.3 when I try to run descriptive statistics: Could not start Java Virtual Machine. Chart will not be drawn".

I need charts for my grad school assignment. I've never had this issue before, and since I've install the most recent patch, I think it must be an operating system error.

Any idea how to get SPSS to recognize/link up with JVM?

I have no idea how this works, so I need help!

Macbook Pro, Mac OS X (10.6.4)

Posted on Oct 23, 2010 1:24 PM

Reply
166 replies

Nov 4, 2010 2:41 PM in response to Fred driver

SOLUTION:

First – download the 18.0.3 patch from the SPSS website and update your software if you haven’t already. You’ll have to set up an account with SPSS to get access to their technical help. The patch is 160MB or so it's not possible to e-mail it.

Second – on the same download page from SPSS you can then download the 18.0.3.4 patch to fix the JAVA problem. This one is a little harder to install as it requires you go into Terminal mode and enter a bunch of commands. Much smaller file and comes with a README for instructions. Just follow the README exactly and it should work. I did have one hiccup though.

In step 6 where you have to copy the new file to the appropriate SPSS directory, my computer couldn’t find it. In the example at the bottom of the README file it says to find the directory where you stored the new file and enter a command like:

FOR EXAMPLE, if the file is at /Macintosh HD/Users/foo/libspssjvm.dylib, the cp command must be this:

$ sudo cp -p "/Macintosh HD/Users/foo/libspssjvm.dylib" .

That didn’t work for me until I removed the "/Macintosh HD" part in the address and just used "/Users" as the first part of the directory address. Then it found the file and copied the file over to the SPSS directory.

Started up SPSS and it worked like a champ.

Nov 4, 2010 5:32 PM in response to thewests

Hey dukedinger! If you're still sending out fixes for PASW 18 I would appreciate it if you would add me to the list. I can't get the 18.0.3 update patch or the fix file as I use the program on my university's license and can't create an SPSS support login to get files/create support tickets. Thanks!

rayreichenberg (a) hotmail.com

Nov 5, 2010 11:49 AM in response to thewests

SPSS released a patch. It requires using terminal to update a file in the SPSS library, but the readme file is well written (with one exception, clarification below). Roughly, this is what you need to do:

1. Go to http://support.spss.com/ If you are an SPSS user, you should register if you haven't done so already. For some reason, you can't download patches and upgrades unless you are registered. If you already did, just log in.

2. On the Main Menu navigation menu (left-hand side), click on Statistics, then on Patches.

3. *If you haven't installed the 18.0.3 patch, download it and _install it first_.*

4. Get the 18.0.3.4 Hotfix.

5. This "Hotfix" is simply a new file libspssjvm.dylib that must replace the old one. Follow the instructions in the readme file, but pay attention to step (6), where it says to enter:

$ sudo cp -p (path where you saved the new libspssjvm.dylib)/libspssjvm.dylib .

*Ignore their example*, it has an unnecessary "Macintosh HD" in the path. If you downloaded the patch, your browser probably saved it on the Desktop or in the Downloads folder. If you have done nothing to the downloaded folder, this is probably what you need to enter:

$ sudo cp -p "/Users/yourusername/Desktop/IBM SPSS Statistics 18/libspssjvm.dylib" .

Just change "yourusername" to your actual user name and "Desktop" to "Downloads" (if necessary). It is very important that you do not change anything else to the line above, it should include the quotation marks and the dot at the end of the line.

It worked for me, it should work for you.

Nov 8, 2010 9:02 AM in response to Fred driver

HI,

I have downloaded the 18.0.3 patch but when I was about to install it my mac couldn't recognize the presence of the original SPSS 18. It's weird as I'm pretty sure I've got it on my laptop. I even tried to install and reinstall SPSS 18 before trying to installing the 18.0.3 patch. Still my mac can't detect SPSS 18. Do you have any idea about how this could happen? You have no such problems do you?

Thank your for all the help and I really look forward to your reply soon. My e-mail (if you don't mind): sadie.wang(a)gmail.com

Nov 9, 2010 10:35 AM in response to thewests

Hey everyone,

I applied the “hot fix”, as is suggested on the SPSS website, but now I'm unable to run any analysis whatsoever. Since applying the hot fix 18.0.3.4, SPSS seems to open appropriately (and seems to have fixed the problem with importing Excel files into SPSS), but freezes every time I try to run any kind of analysis. Has anyone else experienced this and/or have a suggestion about how to fix this problem? I am running Mac OS 10.6.5 and I applied the 18.0.3 update before installing hot fix (as was recommended on the SPSS website). Thanks in advance to anyone who is able to help. Best. Jeremy

Java Virtual Machine & SPSS 18

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple ID.