This repository has been archived by the owner. It is now read-only.
Permalink
Browse files

Revert 3c33d72 and 73086af

Discussion: 3c33d72
  • Loading branch information...
SubJunk committed Feb 12, 2012
1 parent c681dcd commit bd0c7ba9b59647b6b23af6b8be3ca13034407750
View
@@ -13,5 +13,5 @@
<stringAttribute key="org.eclipse.jdt.launching.MAIN_TYPE" value="net.pms.PMS"/>
<stringAttribute key="org.eclipse.jdt.launching.PROJECT_ATTR" value="ps3mediaserver"/>
<stringAttribute key="org.eclipse.jdt.launching.SOURCE_PATH_PROVIDER" value="org.eclipse.m2e.launchconfig.sourcepathProvider"/>
-<stringAttribute key="org.eclipse.jdt.launching.VM_ARGUMENTS" value="-Xmx768M -Djava.encoding=UTF-8"/>
+<stringAttribute key="org.eclipse.jdt.launching.VM_ARGUMENTS" value="-Xmx768M -Djava.net.preferIPv4Stack=true -Djava.encoding=UTF-8"/>
</launchConfiguration>
@@ -6,4 +6,4 @@ echo You can try to reduce the Xmx parameter value if you keep getting "Cannot c
echo Last word: You must have java installed ! http://www.java.com
echo ------------------------------------------------
pause
-start javaw -Xmx768M -Dfile.encoding=UTF-8 -classpath update.jar;pms.jar net.pms.PMS
+start javaw -Xmx768M -Djava.net.preferIPv4Stack=true -Dfile.encoding=UTF-8 -classpath update.jar;pms.jar net.pms.PMS
@@ -49,4 +49,4 @@ if $cygwin; then
fi
# Execute the JVM
-exec "$JAVA" $JAVA_OPTS -Xmx768M -Xss1024k -Dfile.encoding=UTF-8 -classpath "$PMS_JARS" net.pms.PMS "$@"
+exec "$JAVA" $JAVA_OPTS -Xmx768M -Xss1024k -Dfile.encoding=UTF-8 -Djava.net.preferIPv4Stack=true -classpath "$PMS_JARS" net.pms.PMS "$@"
@@ -50,7 +50,7 @@ Section ""
; change for your purpose (-jar etc.)
${GetParameters} $1
- StrCpy $0 '"$R0" -classpath update.jar;pms.jar -Xmx768M -Dfile.encoding=UTF-8 ${CLASS} $1'
+ StrCpy $0 '"$R0" -classpath update.jar;pms.jar -Xmx768M -Djava.net.preferIPv4Stack=true -Dfile.encoding=UTF-8 ${CLASS} $1'
SetOutPath $EXEDIR
Exec $0

0 comments on commit bd0c7ba

Please sign in to comment.