Hi @Corral Gomez-Calcerrada Alberto ,
Apologies for the delayed response. You may have success with using -Duser.dir system property:
<httpPlatform processPath="%JAVA_HOME%\bin\java.exe" arguments="-Djava.net.preferIPv4Stack=true \-Dserver.port=%HTTP_PLATFORM_PORT% -Duser.dir=/home/site/wwwroot -jar "D:\home\site\wwwroot\app.jar"">
However, I've been informed that modifying web.config isn't the best experience, and it would be best to move to managed offering. See this quickstart for an example. That way, you can use JAVA_OPTS=-Duser.dir=/home/site/wwwroot
and it will be passed to JVM.