How to Activate SPSS using Command Line on Mac

One user reported that she could not activate SPSS on her machine. The error is that her account has no permission to activate it. I shared with her with the commands that I used before to activate SPSS. Here are the steps:

  1. Open up Terminal application
  2. Type in the commands:
    cd /Applications/IBM/SPSS/Statistics/24/SPSSStatistics.app/Contents/bin
    sudo java -jar licenseactivator.jar CONSOLEMODE codes=your_activation_code_here

Note that the commands are for version 24. Please change the directory name with your version of SPSS. Also, replace your_activation_code_here with the actual code you have.