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
#2
OMG, Finally i don't need JPCSP Launcher anymore, thanks :3

Cya~
My PC:
AMD Athlon 64 X2 Dual Core 5200+
2,6 GHz 2 GB de RAM
Video NVIDIA GeForce 9600 GT 1 GB
S.O WinXP SP3 (Shadow Lite) x86
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)