1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Mac/OSX Damaged file

Discussion in 'General Discussion' started by Krilion_GD, Aug 14, 2017.

  1. Krilion_GD

    Krilion_GD Community Manager
    Staff Member

    Joined:
    Aug 1, 2011
    Messages:
    1,997
    Likes Received:
    136
  2. mileskor

    mileskor New Member

    Joined:
    Aug 18, 2017
    Messages:
    2
    Likes Received:
    0
    The message I got was "The D20PRO jar file does not exist in the data directory."

    Now being asked to install a Java Development Kit (in progress). Hope this works. :)
     
  3. Krilion_GD

    Krilion_GD Community Manager
    Staff Member

    Joined:
    Aug 1, 2011
    Messages:
    1,997
    Likes Received:
    136
    D20PRO comes with it's own version of Java built in (The JDK should not be required), the instructions above will work, launch the app via the Jar file.
     
    #3 Krilion_GD, Aug 18, 2017
    Last edited: Aug 18, 2017
  4. mileskor

    mileskor New Member

    Joined:
    Aug 18, 2017
    Messages:
    2
    Likes Received:
    0
    Update: The instructions didn't work until after I'd dl'd and installed the JDK.
    It may be that the new Macs don't come with native Java. (Mine is a 2016)
    Anyway, was able to try out the demo version of World Builder, and that was my goal.
    Thanks for the help!
     
  5. Krilion_GD

    Krilion_GD Community Manager
    Staff Member

    Joined:
    Aug 1, 2011
    Messages:
    1,997
    Likes Received:
    136
    upload_2017-8-18_15-14-16.png

    The JDK should not be required as far as I know. D20PRO comes with the JRE that it uses for that build, to prevent Java version/editions conflicts.
     
  6. Krilion_GD

    Krilion_GD Community Manager
    Staff Member

    Joined:
    Aug 1, 2011
    Messages:
    1,997
    Likes Received:
    136
    Curtis would be the person to ask though for sure, cuz even using the work around of launching from the jar file, you're gonna want to pass augments to the app, such as XmX settings and the like, similarly to using a batch file in windows.
     
  7. Jobsays

    Jobsays New Member

    Joined:
    Mar 16, 2017
    Messages:
    4
    Likes Received:
    0
    I'm getting the same problem on Mac OS High Sierra whether or not I install Java separately. Was there ever a fix for this or troubleshooting steps to try? A work-around I discovered was to launch D20PRO.jar from the data directory, rather than D20PRO.app from the parent directory.
     
  8. Krilion_GD

    Krilion_GD Community Manager
    Staff Member

    Joined:
    Aug 1, 2011
    Messages:
    1,997
    Likes Received:
    136
    This is the current documented work around. We are looking at a permanent fix, @owlbear even mentioned it this morning.

    upload_2017-11-12_10-42-46.png
     
  9. owlbear

    owlbear Administrator
    Staff Member

    Joined:
    Sep 5, 2011
    Messages:
    574
    Likes Received:
    151
    I'm still working on this. The D20PRO.app is signed but it's signed with an old release. I'm attempting to re-write the signature with an updated application sig but Sierra is resisting me!!! *shakes my fist at the cert deities*

    This WILL be part of the 3.7.2 release.
     
  10. owlbear

    owlbear Administrator
    Staff Member

    Joined:
    Sep 5, 2011
    Messages:
    574
    Likes Received:
    151
    Hello folks. I have a test build for Mac uploaded to our WeTransfer account here:

    https://we.tl/h6d4dFmD1y

    This is not a significant update to the last .20 release, however it does carry a signed D20PRO.app launch file and should work on Mac OS X so long as you enable the security option to allow App Store and Developers.

    Please let me know how this works for you if you're able to test the build. We've tested on the two Mac's we have on hand successfully. On a side note, this is still a temporary solution while we work on a full installer bundle for OS X.
     
  11. Zipwhaa

    Zipwhaa New Member

    Joined:
    Sep 20, 2016
    Messages:
    8
    Likes Received:
    0
    Hi. I just downloaded 3.7.3 and am getting the error of "The D20Pro jar file does not exist in the data directory. Any known way to get past that without just clicking on the jar file?
     
  12. Krilion_GD

    Krilion_GD Community Manager
    Staff Member

    Joined:
    Aug 1, 2011
    Messages:
    1,997
    Likes Received:
    136
    -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=--=-=-=-=-=-=-=-=-=-=-=-=-=-
    macOS 10.12 (10.12 Sierra) Gatekeeper
    -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=

    If D20PRO does not want to open in Mac OS X, and presents an error of:

    "D20PRO is damaged and can't be opened. You should move it
    to the Trash."

    This is a Gatekeeper issue, let's learn more about it...

    Gatekeeper gives you control over what you can install. The Mac App Store option is used as default, as Apple can control what's in their App Store. And Gatekeeper will not allow you to change this unless you perform the following steps:

    1. Open the Terminal app from the /Applications/Utilities/ folder.
    2. Enter in the following command
    sudo /usr/sbin/spctl --master-disable
    3. Press Return, then authenticate with your admin password.

    ( for High Sierra/OSX 10.13+, skip to step 6.)

    4. Open System Preferences and goto Security & Privacty > General Tab
    5. Under the header "Allow applications downloaded from:" pick "Anywhere"

    6. If you continue to get an error when attempting to launch D20PRO.app stating the jar cannot be found in the data
    directory, you'll need to do the following:


    1. Drag and drop the D20PRO.app to the data directory.
    2. Drag and drop the D20PRO.app back to the original location (one level up from the data directory).
    3. Boggle at why this works.


    Terminal Command Notes:

    sudo = super user do (this)
    spctl = manages the security assessment policy subsystem
    --master-disable = Disable the assessment subsystem altogether.

    Operations that would be denied by system policy will be allowed to proceed.
    Requires root access.
     
  13. Zipwhaa

    Zipwhaa New Member

    Joined:
    Sep 20, 2016
    Messages:
    8
    Likes Received:
    0
    ------------
    Hi.

    It's not the Gatekeeper in this case. I got that part to run. When I try to launch it though I'm getting a "The D20Pro Jar file does not exist in the data Directory". The file is there and I can launch it if I actually launch that file. The actual D20Pro icon though gives me the error.

    I saw this with a previous version but can't remember which one it was now.
     
  14. Krilion_GD

    Krilion_GD Community Manager
    Staff Member

    Joined:
    Aug 1, 2011
    Messages:
    1,997
    Likes Received:
    136
  15. Zipwhaa

    Zipwhaa New Member

    Joined:
    Sep 20, 2016
    Messages:
    8
    Likes Received:
    0
    That worked, thank you. I totally glazed over what you had highlighted the first time. Some day I'll learn to read EVERYTHING, especially when it's nicely highlighted for me. Thanks again for the prompt reply. As always, it's greatly appreciated and makes me really continue to enjoy the platform.
     
  16. Krilion_GD

    Krilion_GD Community Manager
    Staff Member

    Joined:
    Aug 1, 2011
    Messages:
    1,997
    Likes Received:
    136
    np.. happy to serve :)
     

Share This Page