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
installingdds [2018/07/26 18:51]
felipe
installingdds [2019/07/25 16:14]
felipe [GNU/Linux]
Line 28: Line 28:
     * ''OSPL_HOME=/opt/OpenSplice/HDE/x86_64.linux''     * ''OSPL_HOME=/opt/OpenSplice/HDE/x86_64.linux''
     * ''PATH=$OSPL_HOME/bin:$PATH''     * ''PATH=$OSPL_HOME/bin:$PATH''
-    * ''LD_LIBRARY_PATH=$OSPL_HOME/lib${LD_LIBRARY_PATH:+:}$LD_LIBRARY_PATH''+    * ''LD_LIBRARY_PATH=$LD_LIBRARY_PATH:$OSPL_HOME/lib''
     * ''CPATH=$OSPL_HOME/include:$OSPL_HOME/include/sys:${CPATH:=}''     * ''CPATH=$OSPL_HOME/include:$OSPL_HOME/include/sys:${CPATH:=}''
     * ''OSPL_URI=file:%%//%%$OSPL_HOME%%/%%etc%%/%%config%%/%%ospl.xml''     * ''OSPL_URI=file:%%//%%$OSPL_HOME%%/%%etc%%/%%config%%/%%ospl.xml''
     * ''export OSPL_HOME PATH LD_LIBRARY_PATH CPATH OSPL_TMPL_PATH OSPL_URI''     * ''export OSPL_HOME PATH LD_LIBRARY_PATH CPATH OSPL_TMPL_PATH OSPL_URI''
-  - Make the file executable using the ''%%chmod%%'' command.+  - Make the file executable using the ''%%chmod%%'' command (''%%sudo chmod +x opensplice.sh%%'').
   - Move the file to the ''%%/%%etc%%/%%profile.d'' folder in the system, resulting in the following ''%%/%%etc%%/%%profile.d%%/%%opensplice.sh'' file.   - Move the file to the ''%%/%%etc%%/%%profile.d'' folder in the system, resulting in the following ''%%/%%etc%%/%%profile.d%%/%%opensplice.sh'' file.
   - Finally, restart the system.   - Finally, restart the system.
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