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 > Hardware - Troubleshooting and Discussion > Mac Desktops > Running batch files on Mac

Running batch files on Mac
Thread Tools
Fresh-Faced Recruit
Join Date: Oct 2009
Status: Offline
Oct 21, 2009, 01:09 AM
 
Here is the download for the game/program i'm trying to run: http://www.mediafire.com/?zwlmmmmijtd

If that link doesn't work try http://www.multiupload.com/TEJGKVDR2F


okay hi everyone i'm new to the forums and new to macs as i just recently purchased one. My question is similar to the one here: http://forums.macnn.com/82/applicati...-files-mac-os/

except...my .bat coding is different:

@echo off
cd Source
start java -Xmx512m -cp .;Theme Gui
@echo on.

i did everything that they did on that fourm, and replaced
Code:
/System/Library/Frameworks/JavaVM.framework/Versions/1.6.0/Home/bin/java -Xmx500m EGUI
with
Code:
/System/Library/Frameworks/JavaVM.framework/Versions/1.6.0/Home/bin/java -Xmx512m -cp .;Theme Gui
and when i press enter/return in the terminal i end up getting
Code:
Last login: Tue Oct 20 23:58:44 on ttys000 susan-crewss-macbook-pro:~ Susan$ /System/Library/Frameworks/JavaVM.framework/Versions/1.6.0/Home/bin/java -Xmx512m -cp .;Theme Gui Usage: java [-options] class [args...] (to execute a class) or java [-options] -jar jarfile [args...] (to execute a jar file) where options include: -d32 use a 32-bit data model if available -d64 use a 64-bit data model if available (implies -server, only for x86_64) -client to select the "client" VM -server to select the "server" VM -jvm is a synonym for the "client" VM [deprecated] -hotspot is a synonym for the "client" VM [deprecated] The default VM is client. -cp <class search path of directories and zip/jar files> -classpath <class search path of directories and zip/jar files> A : separated list of directories, JAR archives, and ZIP archives to search for class files. -D<name>=<value> set a system property -verbose[:class|gc|jni] enable verbose output -version print product version and exit -version:<value> require the specified version to run -showversion print product version and continue -jre-restrict-search | -jre-no-restrict-search include/exclude user private JREs in the version search -? -help print this help message -X print help on non-standard options -ea[:<packagename>...|:<classname>] -enableassertions[:<packagename>...|:<classname>] enable assertions -da[:<packagename>...|:<classname>] -disableassertions[:<packagename>...|:<classname>] disable assertions -esa | -enablesystemassertions enable system assertions -dsa | -disablesystemassertions disable system assertions -agentlib:<libname>[=<options>] load native agent library <libname>, e.g. -agentlib:hprof see also, -agentlib:jdwp=help and -agentlib:hprof=help -agentpath:<pathname>[=<options>] load native agent library by full pathname -javaagent:<jarpath>[=<options>] load Java programming language agent, see java.lang.instrument -splash:<imagepath> show splash screen with specified image -bash: Theme: command not found susan-crewss-macbook-pro:~ Susan$
i have no idea what to next if i'm even doing this correctly. can someone please help me?

EDIT - i think this is in the wrong section...i'll re-post it in the correct section...sorry
( Last edited by skeebo; Oct 21, 2009 at 01:54 AM. )
     
   
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 10:40 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