installingdds

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
Next revision Both sides next revision
installingdds [2018/07/26 18:50]
felipe
installingdds [2019/01/11 17:28]
felipe [Mac OS X]
Line 21: Line 21:
   - Change the ''opensplice.txt'' file to ''opensplice.bat'' to make it a batch executable file.   - Change the ''opensplice.txt'' file to ''opensplice.bat'' to make it a batch executable file.
   - Run this file ''opensplice.bat'' as administrator (Right-click on the file and choose ''Run as administrator'')   - Run this file ''opensplice.bat'' as administrator (Right-click on the file and choose ''Run as administrator'')
-This will set the environment variables needed for the OpenSplice to be used by the ContextNet.+This will set the environment variables needed for OpenSplice to be used by the ContextNet.
  
 ===== GNU/Linux ===== ===== GNU/Linux =====
Line 41: Line 41:
   - Edit the file ''.bash_profile''   - Edit the file ''.bash_profile''
   - Add the following to the end of the ''.bash_profile'' file: (OBS: In this tutorial the OpenSplice is installed at the ''/usr/local/opt'' folder)   - Add the following to the end of the ''.bash_profile'' file: (OBS: In this tutorial the OpenSplice is installed at the ''/usr/local/opt'' folder)
 +**For OpenJDK:**
     * ''# Setting OpenSplice in PATH''     * ''# Setting OpenSplice in PATH''
     * ''OSPL_HOME=/usr/local/opt/OpenSplice/HDE/x86_64.darwin10_clang''     * ''OSPL_HOME=/usr/local/opt/OpenSplice/HDE/x86_64.darwin10_clang''
Line 48: Line 49:
     * ''OSPL_URI=file:%%//%%$OSPL_HOME/etc/config/ospl.xml''     * ''OSPL_URI=file:%%//%%$OSPL_HOME/etc/config/ospl.xml''
     * ''export OSPL_HOME PATH DYLD_LIBRARY_PATH CPATH OSPL_URI''     * ''export OSPL_HOME PATH DYLD_LIBRARY_PATH CPATH OSPL_URI''
-  - To apply the changes, you can either restart the system, close and open the terminal or simple type on the terminal:+**For Oracle JDK:** 
 +    * ''# Setting OpenSplice in PATH'' 
 +    * ''OSPL_HOME=/usr/local/opt/OpenSplice/HDE/x86_64.darwin10_clang'' 
 +    * ''PATH=$OSPL_HOME/bin:$PATH'' 
 +    * ''JAVA_LIBRARY_PATH=$OSPL_HOME/lib${JAVA_LIBRARY_PATH:+:}$JAVA_LIBRARY_PATH'' 
 +    * ''CPATH=$OSPL_HOME/include:$OSPL_HOME/include/sys:${CPATH:=}'' 
 +    * ''OSPL_URI=file:%%//%%$OSPL_HOME/etc/config/ospl.xml'' 
 +    * ''export OSPL_HOME PATH JAVA_LIBRARY_PATH CPATH OSPL_URI'' 
 +5. To apply the changes, you can either restart the system, close and open the terminal or simple type on the terminal:
     * ''cd'' press Enter     * ''cd'' press Enter
     * ''source .bash_profile'' press Enter     * ''source .bash_profile'' press Enter
  • installingdds.txt
  • Last modified: 2019/07/25 16:14
  • by felipe