This forum uses cookies
This forum makes use of cookies to store your login information if you are registered, and your last visit if you are not. Cookies are small text documents stored on your computer; the cookies set by this forum can only be used on this website and pose no security risk. Cookies on this forum also track the specific topics you have read and when you last read them. Please confirm whether you accept or reject these cookies being set.

A cookie will be stored in your browser regardless of choice to prevent you being asked this question again. You will be able to change your cookie settings at any time using the link in the footer.

Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Fix for Java 7
#1
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
Reply


Messages In This Thread
Fix for Java 7 - by prana890 - 04-10-2013, 05:40 AM
RE: Fix for Java 7 - by Lunedi - 04-12-2013, 01:55 PM

Forum Jump:


Users browsing this thread: 1 Guest(s)