Set User Variables and Create a Development Directory on Windows

Create or modify the user variables required by the Oracle Analytics Desktop scripts. Then create the development directory to contain your development environment,

In this procedure, you create or update these required user variables:
  • PLUGIN_DEV_DIR - The location of your development directory, for example C:\PLUGIN_DEV_DIR.
  • DVDESKTOP_SDK_HOME - The location of your Oracle Analytics Desktop installation, for example C:\Program Files\Oracle Analytics Desktop\dvdesktop.
  • JAVA_HOME - The location of your JDK 1.8 installation, for example C:\Program Files\Java\jdk-1.8.
  • Path - The location of your Oracle Analytics Desktop bin directory, for example C:\Program Files\Oracle Analytics Desktop\tools\bin. This variable already exists in Windows. When you update it, make sure that you don't delete or modify any of the variable's existing paths.
  1. Open File Explorer, right-click This PC, and then click Properties. Click Advanced System Settings, and in the Advanced tab click Environment Variables.
  2. In Environment Variables, click New under User variables for <computer name>. In the New User Variable dialog, go to Variable name and enter the name of the variable, and then browse for or enter the directory location. See the list at the top of this task for variable name and value requirements. Click OK.
  3. In Environment Variables, under User variables for <computer name> click the Path variable, and then click Edit. Browse for or enter the location of your Oracle Analytics Desktop bin directory. Click OK.
  4. In the Environment Variables dialog, click OK.
  5. To create the development directory, open the Command Prompt and run this command:
    cd C:\
    mkdir $PLUGIN_DEV_DIR