- 10
- Posts
- 11
- Years
- Seen Sep 30, 2023
I have the same problem and have windows, I have tried CMD way but that wont work either. HELP
I get it to work using a .bat file with the following:
Code:
@ECHO OFF
SET BINDIR=%~dp0
CD /D "%BINDIR%"
"%ProgramFiles%\Java\jre7\bin\java.exe" -Xmx128M -Xms128M -jar randomizer.jar
PAUSE
to make a .bat file:
1. open notepad
2. make your cmd commands
3a. File>Save As> (change the file type from .txt to all files ".")
and save as (file name here).bat
3b. make sure the .bat is in the same folder as the .jar file
4. double click the .bat file and enjoy the randomness