Skip to content

Commit

Permalink
Merge pull request #4898 from sameeragunarathne/master
Browse files Browse the repository at this point in the history
Fix cipher tool for jdk11
  • Loading branch information
milindaperera authored Dec 15, 2019
2 parents 68cc62b + 2c54792 commit 1174f71
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions distribution/src/scripts/profiles/ciphertool.sh
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@ fi

# update classpath
CARBON_CLASSPATH=""
for f in "$CARBON_HOME"/../lib/org.wso2.ciphertool*.jar
for f in "$CARBON_HOME"/../lib/*.jar
do
CARBON_CLASSPATH=$CARBON_CLASSPATH:$f
done
Expand All @@ -119,4 +119,4 @@ if $cygwin; then
fi

# ----- Execute The Requested Command -----------------------------------------
$JAVA_HOME/bin/java -Dcarbon.home="$CARBON_HOME" -classpath "$CARBON_CLASSPATH" org.wso2.ciphertool.CipherTool $*
$JAVA_HOME/bin/java -Dcarbon.home="$CARBON_HOME" -Dcarbon.config.dir.path="$CARBON_HOME"/conf -classpath "$CARBON_CLASSPATH" org.wso2.ciphertool.CipherTool $*

0 comments on commit 1174f71

Please sign in to comment.