Welcome to the MacNN Forums.

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

You are here: MacNN Forums > Software - Troubleshooting and Discussion > Applications > Need help with a .bat

Need help with a .bat
Thread Tools
Fresh-Faced Recruit
Join Date: Jun 2009
Status: Offline
Reply With Quote
Jun 24, 2009, 10:22 PM
 
I need to find the new code for Terminal in order to run this, but I'm not sure what it is. When I open it in textedit, it says:
@echo off
COLOR 08
title www.runelife.com
java -Xmx500m -cp .;Theme.jar Gui 0 1 lowmem members 32
pause

Does anybody know the code I need to follow the files folder in on Terminal?
I know it's cd (insert files folder) return, and then a code, and it runs, but I don't know the code. Help would be appreciated.
     
Posting Junkie
Join Date: Dec 2000
Status: Offline
Reply With Quote
Jun 24, 2009, 11:46 PM
 
Why is it that every time someone comes in here asking how to run a .bat file, it always turns out to be a Java app? Odd.

Anyway, try this:

cd <path to the folder that Theme.jar is in>
java -Xmx500m Theme.jar

Ticking sound coming from a .pkg package? Don't let the .bom go off! Inspect it first with Pacifist. Macworld - five mice!
     
ninnmm  (op)
Fresh-Faced Recruit
Join Date: Jun 2009
Status: Offline
Reply With Quote
Jun 25, 2009, 07:47 AM
 
Well, in the folder entitled the application I want to run, there are tons of files, they're not in folders. I found the Theme.jar right below a folder called Theme, but when I open Theme I only see colours ending with .class. Should I put the entire folder, containing absolutely everything in or just Themes or just Theme.jar?
     
ninnmm  (op)
Fresh-Faced Recruit
Join Date: Jun 2009
Status: Offline
Reply With Quote
Jun 25, 2009, 07:53 AM
 
When, after cd[space] I put in the ENTIRE folder, the Terminal response is this:
Exception in thread "main" java.lang.NoClassDefFoundError: Theme/jar
michael-t-rowans-macbook-pro-2:Project Fubergen V8.3.1 Client mtr$

When after cd I put in the Theme.jar file, the terminal response is this:
michael-t-rowans-macbook-pro-2:~ mtr$ cd /Users/mtr/Downloads/Project\ Fubergen\ v8.3.1\ Client/Project\ Fubergen\ V8.3.1\ Client/Theme.jar
-bash: cd: /Users/mtr/Downloads/Project Fubergen v8.3.1 Client/Project Fubergen V8.3.1 Client/Theme.jar: Not a directory
michael-t-rowans-macbook-pro-2:~ mtr$ Exception in thread "main" java.lang.NoClassDefFoundError: Theme/jar
-bash: Exception: command not found
michael-t-rowans-macbook-pro-2:~ mtr$ michael-t-rowans-macbook-pro-2:Project Fubergen V8.3.1 Client mtr$
-bash: michael-t-rowans-macbook-pro-2:Project: command not found
michael-t-rowans-macbook-pro-2:~ mtr$

And when I just put in the Theme folder, the response is this: (kind of long)

mtr$ cd /Users/mtr/Downloads/Project\ Fubergen\ v8.3.1\ Client/Project\ Fubergen\ V8.3.1\ Client/theme
michael-t-rowans-macbook-pro-2:theme mtr$ michael-t-rowans-macbook-pro-2:~ mtr$ cd /Users/mtr/Downloads/Project\ Fubergen\ v8.3.1\ Client/Project\ Fubergen\ V8.3.1\ Client/Theme.jar
-bash: michael-t-rowans-macbook-pro-2:~: command not found
michael-t-rowans-macbook-pro-2:theme mtr$ -bash: cd: /Users/mtr/Downloads/Project Fubergen v8.3.1 Client/Project Fubergen V8.3.1 Client/Theme.jar: Not a directory
-bash: -bash:: command not found
michael-t-rowans-macbook-pro-2:theme mtr$ michael-t-rowans-macbook-pro-2:~ mtr$ Exception in thread "main" java.lang.NoClassDefFoundError: Theme/jar
-bash: michael-t-rowans-macbook-pro-2:~: command not found
michael-t-rowans-macbook-pro-2:theme mtr$ -bash: Exception: command not found
-bash: -bash:: command not found
michael-t-rowans-macbook-pro-2:theme mtr$ michael-t-rowans-macbook-pro-2:~ mtr$ michael-t-rowans-macbook-pro-2:Project Fubergen V8.3.1 Client mtr$
-bash: michael-t-rowans-macbook-pro-2:~: command not found
michael-t-rowans-macbook-pro-2:theme mtr$ -bash: michael-t-rowans-macbook-pro-2:Project: command not found
-bash: -bash:: command not found
michael-t-rowans-macbook-pro-2:theme mtr$ michael-t-rowans-macbook-pro-2:~ mtr$ -bash: michael-t-rowans-macbook-pro-2:~: command not found
michael-t-rowans-macbook-pro-2:theme mtr$
     
   
Thread Tools
Forum Links
Forum Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Top
Privacy Policy
All times are GMT -4. The time now is 01:24 PM.
All contents of these forums © 1995-2015 MacNN. All rights reserved.
Branding + Design: www.gesamtbild.com
vBulletin v.3.8.8 © 2000-2015, Jelsoft Enterprises Ltd., Content Relevant URLs by vBSEO 3.3.2