# Mac OSX - NCL Does Not Launch Project

**URL:** <https://forum.inductiveautomation.com/t/mac-osx-ncl-does-not-launch-project/18288>\
**Category:** Ignition\
**Created:** [June 4, 2018, 8:41pm UTC](https://forum.inductiveautomation.com/t/mac-osx-ncl-does-not-launch-project/18288 "2018-06-04T20:41:00Z")\
**Posts on this page:** 9\
**Page:** 1

<div class="post-metadata">

**Author:** ![robwarren](https://avatars.discourse-cdn.com/v4/letter/r/7cd45c/32.png) [@robwarren](https://forum.inductiveautomation.com/u/robwarren)\
**Post date:** [June 4, 2018, 8:41pm UTC](https://forum.inductiveautomation.com/t/mac-osx-ncl-does-not-launch-project/18288/1 "2018-06-04T20:41:00Z")

</div>

Hello,  
I am migrating completely to the NCL, but I am a complete novice when it comes to Mac computers.

I am using the method mentioned [here](http://forum.inductiveautomation.com/t/java-version-client-sadness/14033) for all of my Windows installs, but I’m not sure what I’m going to do about Macs.

I’ve tried just installing the NCL on a Mac that I can work on, but I can’t even seem to get that going.  
I have installed java but I get this error message and nothing happens when I try to launch a project out of the Native Client Launcher:

 ![](https://us1.discourse-cdn.com/inductiveautomation/original/2X/d/ddccb6d893bace2a799caf7c0e8ae143dcba5602.png)

Does anyone have any suggestions for getting it to work in general, and also suggestions for a package that I could distribute which launches with all of the necessary arguments set? (gateway.addr=myserver project=myproject , etc)

I appreciate your help,  
-Rob

---

<div class="post-metadata">

**Author:** ![PerryAJ](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/perryaj/32/3281_2.png) [@PerryAJ](https://forum.inductiveautomation.com/u/PerryAJ)\
**Post date:** [June 5, 2018, 2:55pm UTC](https://forum.inductiveautomation.com/t/mac-osx-ncl-does-not-launch-project/18288/2 "2018-06-05T14:55:15Z")

</div>

It looks like java may not be on the path. How did you install java (recommend homebrew if possible)? If you echo $JAVA\_HOME at the terminal, does it give the correct path? What version of java is reported with `java -version`?

---

<div class="post-metadata">

**Author:** ![robwarren](https://avatars.discourse-cdn.com/v4/letter/r/7cd45c/32.png) [@robwarren](https://forum.inductiveautomation.com/u/robwarren)\
**Post date:** [June 5, 2018, 3:22pm UTC](https://forum.inductiveautomation.com/t/mac-osx-ncl-does-not-launch-project/18288/3 "2018-06-05T15:22:40Z")

</div>

I just installed it from the web at [https://java.com/en/download/](https://java.com/en/download/)

echo $JAVA\_HOME just leaves a blank line.

java -version yields:  
“No Java runtime present, requesting install.” with the same result as the error message above.

Looking through some Java documentation [(command line java on mac)](https://java.com/en/download/help/version_manual.xml#cmdline), it looks like you have to have the jdk installed, not just the run time environment to use the command line tools.

Or is it possible to just add java to the path?

Thanks for the response Perry.

---

<div class="post-metadata">

**Author:** ![PerryAJ](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/perryaj/32/3281_2.png) [@PerryAJ](https://forum.inductiveautomation.com/u/PerryAJ)\
**Post date:** [June 5, 2018, 5:08pm UTC](https://forum.inductiveautomation.com/t/mac-osx-ncl-does-not-launch-project/18288/4 "2018-06-05T17:08:28Z")

</div>

The easiest way is to just add the JAVA\_HOME path export to your `~/.profile` file, which is executed when you start a shell session. Most commonly that export is just adding a line ```  
export JAVA\_HOME=$(/usr/libexec/java\_home)

```auto

On mac, `java_home` symlink should point to the correct current version.

  As mentioned, I generally find that installing via `brew cask install java` (using the popular homebrew package manager https://brew.sh/) to be the best allround installation route if not using jenv. The java that comes with Mac by default is pretty old IIRC and I am not sure it will be sufficient for Ignition.
```

---

<div class="post-metadata">

**Author:** ![robwarren](https://avatars.discourse-cdn.com/v4/letter/r/7cd45c/32.png) [@robwarren](https://forum.inductiveautomation.com/u/robwarren)\
**Post date:** [June 5, 2018, 9:34pm UTC](https://forum.inductiveautomation.com/t/mac-osx-ncl-does-not-launch-project/18288/5 "2018-06-05T21:34:56Z")

</div>

I checked out Homebrew, and installed that, and then installed java through that as you suggested.

That all seemed to go smoothly, but I’m getting another error:

 ![](https://us1.discourse-cdn.com/inductiveautomation/original/2X/5/5aebfb75125e8973216043dd243a8b5b453fed14.png)

I checked  
echo $JAVA\_HOME  
and it returned with a blank input, so I followed your suggestion to set the path with the export function.  
$JAVA\_HOME and java -version  
both seem to show valid outputs now, but I’m still getting the same error as above.

-Rob W.

---

<div class="post-metadata">

**Author:** ![paul-griffith](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/paul-griffith/32/37249_2.png) [@paul-griffith](https://forum.inductiveautomation.com/u/paul-griffith)\
**Post date:** [June 5, 2018, 9:51pm UTC](https://forum.inductiveautomation.com/t/mac-osx-ncl-does-not-launch-project/18288/6 "2018-06-05T21:51:53Z")

</div>

Make sure you’ve removed all other Java versions from your system - especially Java9+ if you’re not yet on 7.9.6.

---

<div class="post-metadata">

**Author:** ![PerryAJ](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/perryaj/32/3281_2.png) [@PerryAJ](https://forum.inductiveautomation.com/u/PerryAJ)\
**Post date:** [June 6, 2018, 6:26pm UTC](https://forum.inductiveautomation.com/t/mac-osx-ncl-does-not-launch-project/18288/7 "2018-06-06T18:26:15Z")

</div>

Just to make sure we understand what you’re seeing, what are the outputs from the following commands:

`which java`  
`echo $JAVA_HOME`  
`java -version`

Also, it may be helpful for you to enable the java console, and then posting the output of one of your failed launches. To enable the console, open up your system preferences, and click on the Java section. Then in advanced, you want the console set to show:

 ![](https://us1.discourse-cdn.com/inductiveautomation/original/2X/8/8243b26cc45f9a62d99f351ee4b6338f91cc44f4.png)

---

<div class="post-metadata">

**Author:** ![cmisztur2](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/cmisztur2/32/4243_2.png) [@cmisztur2](https://forum.inductiveautomation.com/u/cmisztur2)\
**Post date:** [June 14, 2018, 11:30am UTC](https://forum.inductiveautomation.com/t/mac-osx-ncl-does-not-launch-project/18288/8 "2018-06-14T11:30:33Z")

</div>

Can you try logging in as a new user in OSX and try there? Does that work for you?

---

<div class="post-metadata">

**Author:** ![robwarren](https://avatars.discourse-cdn.com/v4/letter/r/7cd45c/32.png) [@robwarren](https://forum.inductiveautomation.com/u/robwarren)\
**Post date:** [March 25, 2019, 10:05pm UTC](https://forum.inductiveautomation.com/t/mac-osx-ncl-does-not-launch-project/18288/9 "2019-03-25T22:05:53Z")

</div>

Hey guys, I gave up on this thread due to lack of necessity from my customers.

I now have a customer who must have the MAC version.  
I got the NCL installed and it’s running and even connecting to my server. Unfortunately, I have hidden all of my projects so they don’t show up in the NCL page.

Is there a way to create a shortcut link on a MAC which will automatically launch the NCL, connect to my Server, and select the correct Project? (Just like I currently do in Windows?)
