A message for Linux.com registered users: We are in the process of making changes to the Linux forums. Starting Monday, 8/13/18 at 6:00 PM PT, you will be unable to access the forums. They will re-launch as soon as possible on Wednesday, 8/15/18 with new features and improved functionality. Thank you for your patience and stay tuned for the new improved forums.

July 16, 2010

Translations

Forums: 

Hey i have a run.bat for rsps i know noob. but i would like help translating the .bat into shell and im new to linux so please help me. the code is

@echo off

if exist "%HOMEDRIVE%\Program Files (x86)" goto x64

goto x32

pause

:x32

"%HOMEDRIVE%/Program Files/Java/jre6/bin/java.exe" -Xmx500m Jframe 10 0 highmem members 32

pause

:x64

"%HOMEDRIVE%\Program Files (x86)\Java\jre6\Bin\Java.exe" -Xmx500m Jframe 10 0 highmem members 32

pause

please can you translate this into shell so i can run the rsps.

-thanks,

danb

Click Here!