Fix for Java 7 - Printable Version +- EmuNewz Network (https://www.emunewz.net/forum) +-- Forum: PSP Emulation (https://www.emunewz.net/forum/forumdisplay.php?fid=191) +--- Forum: JPCSP Official Forum (https://www.emunewz.net/forum/forumdisplay.php?fid=51) +---- Forum: svn trunk discussion (https://www.emunewz.net/forum/forumdisplay.php?fid=56) +---- Thread: Fix for Java 7 (/showthread.php?tid=139564) |
Fix for Java 7 - prana890 - 04-10-2013 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 RE: Fix for Java 7 - Lunedi - 04-12-2013 OMG, Finally i don't need JPCSP Launcher anymore, thanks :3 Cya~ |