EmuNewz Network

Full Version: Fix for Java 7
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Oh oh!, I just deleted the thread!, Anyway here the tutorial

EDIT : My code is cleaner than the jPCSP

First thing first!,
1. Right click the following files "start-windows-x86", If you deleted that files create it!
2. Delete all inside it
3. Paste the codes, The codes are in the end of the post!
4. Profit!

Codes:
@echo off
set PATH=%PATH%;lib\;lib\windows-x86\
if "%programfiles(x86)%XXX"=="XXX" goto JAVA32
if not exist "%programfiles(x86)%\Java\jre6\bin" goto JAVA32
echo Running JPCSP 64bit...
"%programfiles(x86)%\Java\jre6\bin\java" -Xmx1024m -Djava.library.path=lib/windows-x86 -jar bin/jpcsp.jar
goto END

:JAVA32
if not exist "%programfiles%\Java\jre6\bin" goto JAVA7
echo Running JPCSP 32bit...
"%programfiles%\Java\jre6\bin\java" -Xmx1024m -Djava.library.path=lib/windows-x86 -jar bin/jpcsp.jar
goto END

:JAVA7
set PATH=%PATH%;lib\;lib\windows-x86\
if "%programfiles(x86)%XXX"=="XXX" goto JAVA732
if not exist "%programfiles(x86)%\Java\jre7\bin" goto JAVA732
echo Running JPCSP 64bit...
"%programfiles(x86)%\Java\jre7\bin\java" -Xmx1024m -Djava.library.path=lib/windows-x86 -jar bin/jpcsp.jar
goto END

:JAVA732
if not exist "%programfiles%\Java\jre7\bin" goto JAVAMISSING
echo Running JPCSP 32bit...
"%programfiles%\Java\jre7\bin\java" -Xmx1024m -Djava.library.path=lib/windows-x86 -jar bin/jpcsp.jar
goto END

:JAVAMISSING
echo The required version of Java has not been installed or isn't recognized.
echo Go to http://java.sun.com to install the 32bit Java JRE.
pause

:END
OMG, Finally i don't need JPCSP Launcher anymore, thanks :3

Cya~
Reference URL's