Skip to content

Commit

Permalink
Remove hardcoded Windows env var for JAVA_HOME
Browse files Browse the repository at this point in the history
This fixes Azure#421
  • Loading branch information
brunoborges authored Jan 18, 2022
1 parent 89bab70 commit 5171cb9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions worker.config.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@
"description": {
"language": "java",
"extensions": [".jar"],
"defaultExecutablePath": "%JAVA_HOME%/bin/java",
"defaultExecutablePath": "java",
"defaultWorkerPath": "azure-functions-java-worker.jar",
"arguments": ["-XX:+TieredCompilation -XX:TieredStopAtLevel=1 -noverify -Djava.net.preferIPv4Stack=true -jar", "%JAVA_OPTS%", "%AZURE_FUNCTIONS_MESH_JAVA_OPTS%"]
}
}
}

0 comments on commit 5171cb9

Please sign in to comment.