Permalink
Fetching contributors…
Cannot retrieve contributors at this time
executable file 18 lines (14 sloc) 712 Bytes
@echo off
echo PS3 Media Server
echo ---------------------
echo In case of troubles with PMS.exe, this shell will launch ps3mediaserver in a more old fashioned way
echo You can try to reduce the Xmx parameter value if you keep getting "Cannot create Java virtual machine" errors...
echo If private JRE bundle in "..\jre" subfolder not found this script will use system-wide Java installation.
echo ------------------------------------------------
pause
SET JVM_ARGS=-Xmx768M -Djava.net.preferIPv4Stack=true -Dfile.encoding=UTF-8 -classpath update.jar;pms.jar net.pms.PMS
IF EXIST "%~dp0jre\bin\javaw.exe" (
start "" "%~dp0jre\bin\javaw.exe" %JVM_ARGS%
) ELSE (
start javaw %JVM_ARGS%
)