Script Help Mobile Atlas Creator

Discussion in 'macOS' started by BlueGhillie, May 20, 2013.

  1. BlueGhillie macrumors newbie

    Joined:
    May 20, 2013
    #1
    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
     
  2. w0lf macrumors 65816

    w0lf

    Joined:
    Feb 16, 2013
    Location:
    USA
    #2
    Do you have permission to execute the script?

    Try

    Code:
    chmod 755 <script>
    
    eg : chmod 755 ~/Desktop/script.sh

    and then run the script.
     
  3. BlueGhillie thread starter macrumors newbie

    Joined:
    May 20, 2013
    #3
    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.
     
  4. w0lf macrumors 65816

    w0lf

    Joined:
    Feb 16, 2013
    Location:
    USA
    #4
    Um I dunno then, does Mobile Atlas Creator have like a support forum.
     

Share This Page