Opened 9 years ago
Closed 9 years ago
#108 closed defect (invalid)
Mono not detected when installed on Mac
Reported by: | Iritscen | Owned by: | Christian |
---|---|---|---|
Priority: | critical | Component: | AEI2 |
Keywords: | Cc: |
Description (last modified by )
Over the last few months, there were various issues with Mono installing in 10.11. I believe all those have been cleared up by the developers. However, the AEI is now failing to detect Mono when it is installed. The install directory was moved from /usr/bin/ to /usr/local/bin/ to work with 10.11, but that shouldn't make a difference.
I see that the AEI is simply running "which mono" and checking the output to see if it looks like a path. This should work; on my Macs, I can run "which mono" in Terminal and get "/usr/local/bin/mono" as output, but the AEI does not seem to be getting this output when it runs the command. The result is that it tells the user to install .NET and quits.
This bug seems to be occurring in not just 10.11, but also 10.9 (therefore probably all OS versions).
Change History (2)
comment:1 by , 9 years ago
Description: | modified (diff) |
---|
comment:2 by , 9 years ago
Resolution: | → invalid |
---|---|
Status: | new → closed |
Somehow I failed to realize that the environment being used to invoke Java from the Mac AE launch shortcut app does not have the extended PATH variable that is present in the Terminal environment. The "AppleScript" environment (default Unix environment?) does not include /usr/local/bin/, where Mono is now installed due to 10.11's security restrictions, so "which mono" could not possibly work for the AEI. I have updated the Mac AE Setup to include a fixed launch app that extends PATH when calling the AEI's .jar.