Skip to content

Commit

Permalink
Update makeDemoLogFile.sh
Browse files Browse the repository at this point in the history
The jars no longer contain the OS name so I've removed the if-block.
  • Loading branch information
chriswhocodes authored Jul 7, 2023
1 parent 806af2f commit fe6f41b
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions scripts/makeDemoLogFile.sh
Original file line number Diff line number Diff line change
Expand Up @@ -70,11 +70,7 @@ echo "VM Switches $REQUIRED_SWITCHES $OPTIONAL_SWITCHES"

echo "Building example HotSpot log"

if [ "$unamestr" = 'Darwin' ]; then
export CLASSPATH=../ui/target/jitwatch-ui-shaded-mac.jar
else
export CLASSPATH=../ui/target/jitwatch-ui-shaded.jar
fi
export CLASSPATH=../ui/target/jitwatch-ui-shaded.jar

"$JAVA_HOME/bin/java" $REQUIRED_SWITCHES $OPTIONAL_SWITCHES -cp "$CLASSPATH" org.adoptopenjdk.jitwatch.demo.MakeHotSpotLog 2>&1 >/dev/null
echo "Done"

0 comments on commit fe6f41b

Please sign in to comment.