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:
  • 1 Vote(s) - 5 Average
  • 1
  • 2
  • 3
  • 4
  • 5
cmd help with jpcsp
#9
(08-26-2012, 09:09 AM)montcer9012 Wrote:
(08-26-2012, 08:41 AM)Tatsuya Wrote: Do you need a picture of me not runing it as administer?
No, just make right click on "start-windows-x86.bat", select edit; a notepad will open. Copy the content and then paste it here between CODE function so it will be more easy to read.

Code:
@echo off
set PATH=%PATH%;lib\;lib\windows-x86\

if NOT EXIST "%SystemRoot%\SysWOW64" goto JAVA32
set key=HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\JavaSoft\Java Runtime Environment
goto JAVA

:JAVA32
set key=HKEY_LOCAL_MACHINE\SOFTWARE\JavaSoft\Java Runtime Environment

:JAVA
set JAVA_CMD=java.exe

rem Checking if the "reg" command is available
reg /? >NUL
if ERRORLEVEL 1 goto RUN

set JAVA_VERSION=
set JAVA_HOME=
for /f "tokens=3* skip=2" %%a in ('reg query "%key%" /v CurrentVersion') do set JAVA_VERSION=%%a
for /f "tokens=2* skip=2" %%a in ('reg query "%key%\%JAVA_VERSION%" /v JavaHome') do set JAVA_HOME=%%b

set JAVA_CMD=%JAVA_HOME%\bin\java.exe
if not exist "%JAVA_CMD%" goto JAVAMISSING

:RUN
echo Running Jpcsp 32bit...
"%JAVA_CMD%" -Xmx1024m -Xss2m -XX:MaxPermSize=128m -XX:ReservedCodeCacheSize=64m -Djava.library.path=lib/windows-x86 -jar bin/jpcsp.jar %*
if ERRORLEVEL 1 goto PAUSE
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
pause

:END


I also DO have the lastest Java run time so maybe they can't find it?
Reply


Messages In This Thread
cmd help with jpcsp - by Tatsuya - 08-25-2012, 03:58 PM
RE: cmd help with jpcsp - by montcer9012 - 08-25-2012, 05:15 PM
RE: cmd help with jpcsp - by Tatsuya - 08-25-2012, 05:56 PM
RE: cmd help with jpcsp - by montcer9012 - 08-25-2012, 10:21 PM
RE: cmd help with jpcsp - by Tatsuya - 08-25-2012, 11:08 PM
RE: cmd help with jpcsp - by montcer9012 - 08-26-2012, 01:38 AM
RE: cmd help with jpcsp - by Tatsuya - 08-26-2012, 08:41 AM
RE: cmd help with jpcsp - by montcer9012 - 08-26-2012, 09:09 AM
RE: cmd help with jpcsp - by Tatsuya - 08-26-2012, 10:23 AM
RE: cmd help with jpcsp - by montcer9012 - 08-26-2012, 09:17 PM
RE: cmd help with jpcsp - by Tatsuya - 08-27-2012, 12:36 AM
RE: cmd help with jpcsp - by montcer9012 - 08-27-2012, 12:41 AM
RE: cmd help with jpcsp - by montcer9012 - 08-27-2012, 04:27 AM

Forum Jump:


Users browsing this thread: 2 Guest(s)