Skip to content

Commit

Permalink
Make OsmMapCreator work with OpenJDK 17
Browse files Browse the repository at this point in the history
  • Loading branch information
frafra committed Feb 18, 2024
1 parent 15bb297 commit e1c159c
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions backend/scripts/mapcreator.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,11 @@ MAPCREATOR="$1"
CONF="$2"

cd "$MAPCREATOR"
# https://github.com/osmandapp/OsmAnd-tools/issues/484#issuecomment-1315382705
exec java \
-Djava.util.logging.config.file=logging.properties \
-Xms64M -Xmx12G \
--add-opens java.base/java.util=ALL-UNNAMED \
-cp "./OsmAndMapCreator.jar:lib/OsmAnd-core.jar:./lib/*.jar" "net.osmand.util.IndexBatchCreator" \
"$CONF"

0 comments on commit e1c159c

Please sign in to comment.