Forums
New posts
Articles
Product Reviews
Policies
FAQ
Log in
Register
What's new
Search
Search
Search titles only
By:
New posts
Menu
Log in
Register
Install the app
Install
Forums
Apple Computing Products:
macOS - Operating System
Opening .bat files
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an
alternative browser
.
Reply to thread
Message
<blockquote data-quote="scathe" data-source="post: 1079608" data-attributes="member: 81672"><p>Nice post lol <img src="data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7" class="smilie smilie--sprite smilie--sprite8" alt=":D" title="Big grin :D" loading="lazy" data-shortname=":D" /></p><p></p><p>it's two commands:</p><p>1. "java -Xmx1000m -cp ."</p><p>-cp that will do a search for a class in the current dir, but why not just pass in the single class?</p><p>-Xmx100M is a setting for the heap size, what exactly are you trying to run lol? <img src="data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7" class="smilie smilie--sprite smilie--sprite8" alt=":D" title="Big grin :D" loading="lazy" data-shortname=":D" /></p><p></p><p>2. "Theme.jar Bot 0 0 lowmem members 32"</p><p>you can retype this as:</p><p>java -jar Theme.jar Bot 0 0 lowmem members 32</p><p></p><p>I would edit the file in the following way:</p><p>java -Xmx1000m -cp .</p><p>java -jar Theme.jar Bot 0 0 lowmem members 32</p><p></p><p>save it in the same location as the original .bat, add execute permissions as described above</p><p></p><p>and dude, when some1 used <> it meant you needed to substitute that for the correct path, not write <location> in your script <img src="data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7" class="smilie smilie--sprite smilie--sprite1" alt=":)" title="Smile :)" loading="lazy" data-shortname=":)" /></p></blockquote><p></p>
[QUOTE="scathe, post: 1079608, member: 81672"] Nice post lol :D it's two commands: 1. "java -Xmx1000m -cp ." -cp that will do a search for a class in the current dir, but why not just pass in the single class? -Xmx100M is a setting for the heap size, what exactly are you trying to run lol? :D 2. "Theme.jar Bot 0 0 lowmem members 32" you can retype this as: java -jar Theme.jar Bot 0 0 lowmem members 32 I would edit the file in the following way: java -Xmx1000m -cp . java -jar Theme.jar Bot 0 0 lowmem members 32 save it in the same location as the original .bat, add execute permissions as described above and dude, when some1 used <> it meant you needed to substitute that for the correct path, not write <location> in your script :) [/QUOTE]
Verification
Name this item. 🍎
Post reply
Forums
Apple Computing Products:
macOS - Operating System
Opening .bat files
Top