Both sides previous revision
Previous revision
Next revision
|
Previous revision
Last revision
Both sides next revision
|
installingdds [2018/07/26 18:51] felipe |
installingdds [2019/07/25 16:11] felipe [GNU/Linux] |
* ''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'' |
- 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'' |
* ''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 |