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 .bat files for Mac OSX

Need help with .bat files for Mac OSX
Thread Tools
Fresh-Faced Recruit
Join Date: Sep 2009
Status: Offline
Reply With Quote
Sep 3, 2009, 11:31 PM
 
Hey, I am not very experience with this stuff. I need help to run a client (moparscape). Any help?

And if I need to provide you guys with any data so you can help me better, what? I pretty much need a step by step walkthrough. Hope you can help.
     
Posting Junkie
Join Date: Dec 2000
Status: Offline
Reply With Quote
Sep 3, 2009, 11:43 PM
 
Let me guess... the script is to run some Java app. Right?

Ticking sound coming from a .pkg package? Don't let the .bom go off! Inspect it first with Pacifist. Macworld - five mice!
     
Fresh-Faced Recruit
Join Date: Sep 2009
Status: Offline
Reply With Quote
Sep 3, 2009, 11:48 PM
 
here is the link. maybe it will help.

EnduraScapeV1.rar

possibly you can figure it out, then tell me how you did it. Just dont use any other applications, like birtualbox or boxer or whatever.
     
Fresh-Faced Recruit
Join Date: Sep 2009
Status: Offline
Reply With Quote
Sep 4, 2009, 12:00 AM
 
I really need some help.
     
Posting Junkie
Join Date: Dec 2000
Status: Offline
Reply With Quote
Sep 4, 2009, 12:01 AM
 
Yep, Java. My suggestion would be to read one of the many already existing threads that have been posted on the topic (for whatever reason).

Ticking sound coming from a .pkg package? Don't let the .bom go off! Inspect it first with Pacifist. Macworld - five mice!
     
Fresh-Faced Recruit
Join Date: Sep 2009
Status: Offline
Reply With Quote
Sep 4, 2009, 12:10 AM
 
I just dont understand how to find the information on how to do it. Like where in the textedit?
     
Clinically Insane
Join Date: Mar 2001
Location: yes
Status: Offline
Reply With Quote
Sep 4, 2009, 12:17 AM
 
Line 4, column 36?
     
Fresh-Faced Recruit
Join Date: Sep 2009
Status: Offline
Reply With Quote
Sep 4, 2009, 12:25 AM
 
huh?
     
Fresh-Faced Recruit
Join Date: Sep 2009
Status: Offline
Reply With Quote
Sep 4, 2009, 12:29 AM
 
what do you mean by that?
     
Professional Poster
Join Date: Sep 2002
Location: New York, NY
Status: Offline
Reply With Quote
Sep 4, 2009, 12:36 AM
 
Why does it always seem like it's a matter of life and death to get this answered immediately with all of these java .bat threads?
Vandelay Industries
     
Clinically Insane
Join Date: Mar 2001
Location: yes
Status: Offline
Reply With Quote
Sep 4, 2009, 12:59 AM
 
Just being about as helpful as anybody could given the lack of information you've provided. Why not share the instructions you already have, give us a good idea as to what you are doing, explain what was confusing in the other threads, ask us specific questions - something?? Nobody is going to guess at your problem with your cryptic description and take the time to guess at a step-by-step set of instructions like you requested that was not already posted to the 4+ other threads very similar to this one. Cryptic problems with cryptic goals and cryptic descriptions will get you cryptic answers, at best.
     
Fresh-Faced Recruit
Join Date: Sep 2009
Status: Offline
Reply With Quote
Sep 4, 2009, 01:19 AM
 
Ok, I saw the first thread charless provided me. That person had some data from the textedit which would help to run the .bat. How do I obtain that?
     
Fresh-Faced Recruit
Join Date: Sep 2009
Status: Offline
Reply With Quote
Sep 4, 2009, 01:40 AM
 
WIth the link I provided, just could you go through it and tell me how you did it, that would be easiest.
     
Clinically Insane
Join Date: Mar 2001
Location: yes
Status: Offline
Reply With Quote
Sep 4, 2009, 01:52 AM
 
No, I'm not going to look for some text in another thread because you can't be bothered to post it here and provide a clear description of what you are trying to do. I would suggest putting in a little legwork and showing a little initiative before asking people to do things, as I frankly have absolutely no inspiration to help you at this point, especially given how cryptic this is.
     
Fresh-Faced Recruit
Join Date: Sep 2009
Status: Offline
Reply With Quote
Sep 4, 2009, 01:54 AM
 
I downloaded a client and I need to be able to run it. Unfortunately, I don't know what to do at all. How do I do it?
     
Clinically Insane
Join Date: Jun 2001
Location: planning a comeback !
Status: Offline
Reply With Quote
Sep 4, 2009, 02:00 AM
 
Originally Posted by CharlesS View Post
Yep, Java. My suggestion would be to read one of the many already existing threads that have been posted on the topic (for whatever reason).
Is this some sort of spam ?

-t
     
Clinically Insane
Join Date: Mar 2001
Location: yes
Status: Offline
Reply With Quote
Sep 4, 2009, 02:07 AM
 
What do the instructions for your game say to do? I'm not downloading and executing some file hosted on some random person's Mediafire account, sorry.
     
Clinically Insane
Join Date: Mar 2001
Location: yes
Status: Offline
Reply With Quote
Sep 4, 2009, 02:09 AM
 
These Java apps look like they belong to some game. 4 threads and I had to Google that for myself because these thread creators seem unable to provide us with these basic details, truly bizarre.
     
Posting Junkie
Join Date: Dec 2000
Status: Offline
Reply With Quote
Sep 4, 2009, 02:24 AM
 
Originally Posted by turtle777 View Post
Is this some sort of spam ?

-t
I've kind of wondered that myself sometimes. Each time, the OP has a strikingly similar writing and posting style to the last time, it's always extremely cryptic, the author always refers to the problem as "running a .bat file" even though what he's really trying to do is run a Java app, and he's always extremely impatient. The other thing is that there have been a lot more than just those four threads - I didn't post every one that came up in the search.

Of course, if it's indeed a game, we could just be dealing with 12-year-old gamers, which could explain some of those features.
( Last edited by CharlesS; Sep 4, 2009 at 02:30 AM. )

Ticking sound coming from a .pkg package? Don't let the .bom go off! Inspect it first with Pacifist. Macworld - five mice!
     
Professional Poster
Join Date: Sep 2002
Location: New York, NY
Status: Offline
Reply With Quote
Sep 4, 2009, 03:21 AM
 
Must be past someone's bedtime. No more repeated begging for a solution.
Vandelay Industries
     
Fresh-Faced Recruit
Join Date: Sep 2009
Status: Offline
Reply With Quote
Sep 4, 2009, 10:57 AM
 
your hilarious. its a game that I need to run on the mac. I dont know how.
     
Fresh-Faced Recruit
Join Date: Sep 2009
Status: Offline
Reply With Quote
Sep 4, 2009, 11:00 AM
 
I just dont understand how to do it at all. when I open it with text edit, I get all of these odd characters:

IHDRÛˇabKGD˘Cª pHYs

◊B(õxtIME’
89¡rµ§ùIDAT8À•í=hSQ«˜ôJìÇ˝†î@ AABU˙1vî≠‡¢E©¯Q∫u©káÇt(¥≠ ‘€"hE∏
ó" m†ïPflΩπÕÀÈí&i^®¯[.ú{œÔ¸9\uÛVr:ç>£km˘,ÿKãØ@=zÚP∆ ‹kziåÊ“ Ú˘¸Ì‘J˙u† ô∏¡÷◊≠†!|ÿxflXzûZIOѬ·]ù›ÅǃıdyöR(•HøM= k-Z{ºÀÓ≥ôãp"Œ$∏|?!=ÌÊ[5¡f.¬‹‰∆˙'r¥ü>≈„Ÿı !≠=~Ì∂w ˛÷=t≥bØ’’œıu‡cáõGw≥∆G äq<œ´&h÷\!H‚Tv–™π›A-Ûo>÷|øÑ9Î¥9%ëc ´õã„ÓÚ∫Hı #iÌq∂≥¿Óæ≈›’
ê¬+î}9¸ŒÌø:¿óÔ@@§˜"PBà R˙œ˜∞æ∫F∑˘π¨ÜÓŒlxm±a˛ëéÉü ?.O]·9
 ∑é∂ ≥oIENDÆB`Çp#t¿ê?..®eY1ßö:0 EnduraScape\Run Client.bat8ú@echo off
java -Xmx512m -cp .;Theme.jar Gui
«°t¿Ä;M2>ùåía83"EnduraScape\SAXPar ser.class  ÃΩyvKñR¿øà[)m?2B°§v¡ T€ñ–PQΟ.êtr87Æ©‚ßÖÇG·A‡î M«cz‹únÀUTû≠Ó,Á9ôõœ«âÔ?9ÕÕ_|æ Ë≈ŒæxÛ˚˙˝Ü»iêõò∑}P÷i,–ú Ò‹;Ω∂$Œ j0HÂ*Ï(µ«å ºÑÂ"jí§ u©#˘]‘7ô·ï>ÖwT|Îqï€>©‘º,€∞˛˝d∞® )ÉsSy[-√=ΩSˇ˚o7µóyfi∂™lÚ{Ü,2b±J¨Á∆K ?]«íï;÷Kt¬¥∆"{£fi—M_°õ⁄√vEç*À2ª ı›R u∑=ûú:∞¸¸púïàH#T⁄Ä˛Ûœæ S¬ •Ò4êfü‰Ù◊{]U?yU∫9i˙ Ó#*õ~8’Ñˇ®fl∑•pzÏu‘Fp _ã$UÜÕ¨áä«!löïiflK'<f ˝R À{≠KˆÖNrk¿Î..2|¢§é†|BÊ?π@√B ∑ë˚¨∫?Üœ§F≥¿‚
>‰o¢ÿ

A very very small part of when I opened it in text edit.
     
Posting Junkie
Join Date: Nov 2000
Location: in front of my Mac
Status: Offline
Reply With Quote
Sep 4, 2009, 11:17 AM
 
D'oh! That is the game.

You're supposed to find the Easter eggs in that ASCII mess. Happy hunting!
     
Fresh-Faced Recruit
Join Date: Sep 2009
Status: Offline
Reply With Quote
Sep 4, 2009, 11:28 AM
 
lol? what do u mean by that.
     
Clinically Insane
Join Date: Jun 2001
Location: planning a comeback !
Status: Offline
Reply With Quote
Sep 4, 2009, 11:41 AM
 
I just started building a space ship.

Can you guys help me with that. I really need to do that.

-t
     
Fresh-Faced Recruit
Join Date: Sep 2009
Status: Offline
Reply With Quote
Sep 4, 2009, 11:46 AM
 
dude. why cant someone help. I actually need some.
     
Clinically Insane
Join Date: Mar 2001
Location: yes
Status: Offline
Reply With Quote
Sep 4, 2009, 11:48 AM
 
Truer words have never been spoken! If you are not going to answer the questions that have been asked, there is nothing we can do, sorry!
     
Fresh-Faced Recruit
Join Date: Sep 2009
Status: Offline
Reply With Quote
Sep 4, 2009, 12:01 PM
 
Its an online game that uses downloadable clients. I need to know how to run this downloadable client on my mac.
     
Fresh-Faced Recruit
Join Date: Sep 2009
Status: Offline
Reply With Quote
Sep 4, 2009, 12:02 PM
 
It has no instructions. On a pc, you simply just extract the info, then run it. But with the mac, I dont know what to do.
     
cgc
Professional Poster
Join Date: Mar 2003
Location: Down by the river
Status: Offline
Reply With Quote
Sep 4, 2009, 12:19 PM
 
Originally Posted by mattack1 View Post
It has no instructions. On a pc, you simply just extract the info, then run it. But with the mac, I dont know what to do.
You could start by reading the advice given by the experts in here. They need more specifics which you are unwilling to provide (thus the space ship reference).

I think people would be more than willing to help you but only if you offer a complete and detailed description of what you need so they can exert their time and energy towards solving your problem (and not waste it).
     
Clinically Insane
Join Date: Mar 2001
Location: yes
Status: Offline
Reply With Quote
Sep 4, 2009, 12:24 PM
 
What is the name and extension of the main executable? What was the name and extension of that file you opened in TextEdit and pasted here? How does this relate to a .bat file? Have you tried running the Java applet through your Terminal, as I'm sure was discussed in the other threads? Do you have any questions about the solutions offered in the other threads?

Need more info, still. Your problem would be solved much faster if you'd get busy writing and explaining so that we don't have to coax this information out of you.
     
Clinically Insane
Join Date: Mar 2001
Location: yes
Status: Offline
Reply With Quote
Sep 4, 2009, 12:26 PM
 
Originally Posted by turtle777 View Post
I just started building a space ship.

Can you guys help me with that. I really need to do that.

-t

Your face is a space ship.
     
Fresh-Faced Recruit
Join Date: Sep 2009
Status: Offline
Reply With Quote
Sep 4, 2009, 12:48 PM
 
I literally dont know at all what to do. SO thats why I am asking you...
     
Fresh-Faced Recruit
Join Date: Sep 2009
Status: Offline
Reply With Quote
Sep 4, 2009, 02:04 PM
 
     
Posting Junkie
Join Date: Dec 2000
Status: Offline
Reply With Quote
Sep 4, 2009, 02:18 PM
 
So, did you try the java command from the terminal like was mentioned in that thread?

Ticking sound coming from a .pkg package? Don't let the .bom go off! Inspect it first with Pacifist. Macworld - five mice!
     
Clinically Insane
Join Date: Oct 2001
Location: San Diego, CA, USA
Status: Offline
Reply With Quote
Sep 4, 2009, 02:34 PM
 
I think the command is

java -Xmx512m -cp .:Theme.jar Gui
Chuck
___
"Instead of either 'multi-talented' or 'multitalented' use 'bisexual'."
     
Fresh-Faced Recruit
Join Date: Sep 2009
Status: Offline
Reply With Quote
Sep 4, 2009, 04:56 PM
 
he had the cd title thing. IS that what I do?
     
Fresh-Faced Recruit
Join Date: Sep 2009
Status: Offline
Reply With Quote
Sep 4, 2009, 06:46 PM
 
He had

"cd" title

what is mine? the same?
     
Clinically Insane
Join Date: Jun 2001
Location: planning a comeback !
Status: Offline
Reply With Quote
Sep 4, 2009, 06:48 PM
 
This is like trying to teach my mom assembly programming...

-t
     
Addicted to MacNN
Join Date: Aug 2004
Location: FFM
Status: Offline
Reply With Quote
Sep 4, 2009, 06:59 PM
 
.bat scripts can not be run on Macs.

Java-programs can be in principle, but one might be limited to a single platform only.

Whether this Java-program runs on Mac, and if so how it is run, you should best ask the maker of that program.
     
Fresh-Faced Recruit
Join Date: Sep 2009
Status: Offline
Reply With Quote
Sep 4, 2009, 07:02 PM
 
ok, on http://forums.macnn.com/82/applicati...-files-mac-os/ he was told to type "cd" title than JAVA-xm5200 or whatever. Do I type title for mine?
     
Posting Junkie
Join Date: Dec 2000
Status: Offline
Reply With Quote
Sep 4, 2009, 07:26 PM
 
The text you seem to be referring to is:

Originally Posted by davidbk1 View Post
He had it a little off. What you want to do is type "cd " without the quotes, but then drag the folder to the terminal window, and THEN press enter.
I fail to understand what about that is difficult to parse.

Ticking sound coming from a .pkg package? Don't let the .bom go off! Inspect it first with Pacifist. Macworld - five mice!
     
Professional Poster
Join Date: Jan 2000
Location: Columbus, OH
Status: Offline
Reply With Quote
Sep 4, 2009, 08:59 PM
 
Check out ITT-Tech.

They can teach you about all those technological thingies and you can get a job in computers.
HyperNova Software, LLC
     
Fresh-Faced Recruit
Join Date: Sep 2009
Status: Offline
Reply With Quote
Sep 5, 2009, 12:07 AM
 
Macintosh:~ matt$ cd/Users/matt/Downloads/EnduraScapeV1-1.rar
-bash: cd/Users/matt/Downloads/EnduraScapeV1-1.rar: No such file or directory
Macintosh:~ matt$
     
Clinically Insane
Join Date: Mar 2001
Location: yes
Status: Offline
Reply With Quote
Sep 5, 2009, 12:48 AM
 
Extract the files from the RAR archive using a program on the Mac that handles the RAR format (there are several to choose from, Google this), then cd into the *directory* of the app:

cd /Users/matt/Downloads/<foldername>

substitute the name of this folder for "<foldername>" and respect the space after the cd command. Then you can run the Java executable using the Java command given prior.
     
Fresh-Faced Recruit
Join Date: Sep 2009
Status: Offline
Reply With Quote
Sep 7, 2009, 12:22 AM
 
ok. So I extracted the file. I saved it to my desktop. How do I do it? And what is the directory of the app? Sorry, I dont know much at all.
     
Fresh-Faced Recruit
Join Date: Sep 2009
Status: Offline
Reply With Quote
Sep 7, 2009, 12:29 AM
 
Nevermind. I managed to figure it out. THank you all very much.
     
Fresh-Faced Recruit
Join Date: Sep 2009
Status: Offline
Reply With Quote
Sep 7, 2009, 01:14 PM
 
Exception in thread "main" java.lang.NoClassDefFoundError: Gui
Caused by: java.lang.ClassNotFoundException: Gui
at java.net.URLClassLoader$1.run(URLClassLoader.java: 200)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.j ava:188)
at java.lang.ClassLoader.loadClass(ClassLoader.java:3 16)
at sun.misc.Launcher$AppClassLoader.loadClass(Launche r.java:288)
at java.lang.ClassLoader.loadClass(ClassLoader.java:2 51)
at java.lang.ClassLoader.loadClassInternal(ClassLoade r.java:374)
Macintosh:EnduraScapeV1 matt$ java -Xmx512m -cp
-cp requires class path specification
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
Macintosh:EnduraScapeV1 matt$ -client
     
Professional Poster
Join Date: Sep 2002
Location: New York, NY
Status: Offline
Reply With Quote
Sep 7, 2009, 02:15 PM
 
The answer is already in this thread.
Vandelay Industries
     
Clinically Insane
Join Date: Mar 2001
Location: yes
Status: Offline
Reply With Quote
Sep 7, 2009, 03:03 PM
 
How do you expect us to help you out if you don't bother to post what command you issued to get that error?
     
 
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 06:55 PM.
All contents of these forums © 1995-2014 MacNN. All rights reserved.
Branding + Design: www.gesamtbild.com
vBulletin v.3.8.8 © 2000-2014, Jelsoft Enterprises Ltd., Content Relevant URLs by vBSEO 3.3.2