Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

BlueGhillie

macrumors newbie
Original poster
May 20, 2013
2
0
I'm trying to use Mobile Atlas Creator to make some maps for my iOS devices.
The issue is that when I try running the script "start.sh"
It just opens up in the Text Edit app...
When I try running the code directly in the Terminal I get this response
java -Xms64m -Xmx1024M -jar Mobile_Atlas_Creator.jar
Unable to access jarfile Mobile_Atlas_Creator.jar​

The start.sh file gives this advice if it keeps opening in text edit:
"# If you see this file in an editor you may have to set the executable bit and execute it as script in a terminal"

I'm not sure how to set the executable bit but have tried renaming the file to "start.command" which makes it open in the terminal but it either tells me I don't have the permissions or just gives me the same output as running the java code in Terminal.

Any help would be awesome
 
Which makes it open in the terminal but it either tells me I don't have the permissions.

Do you have permission to execute the script?

Try

Code:
chmod 755 <script>

eg : chmod 755 ~/Desktop/script.sh

and then run the script.
 
Ran what you suggested and all I got back was the bellow:

Weston-Watersons-iMac:~ Weston$ chmod 755 /Applications/Mobile\ Atlas\ Creator\ 1.9.12/start.sh
Weston-Watersons-iMac:~ Weston$​

When I run the scrip in the start.sh file I get:

Weston-Watersons-iMac:~ Weston$ java -Xms64m -Xmx1024M -jar Mobile_Atlas_Creator.jar
Unable to access jarfile Mobile_Atlas_Creator.jar
Weston-Watersons-iMac:~ Weston$​

The stupid thing is that I can open the .Jar file directly... it just says it isn't giving it enough memory.
 
Um I dunno then, does Mobile Atlas Creator have like a support forum.
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.