<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
  <channel>
    <title>Mac Howto on developwith — developer tips</title>
    <link>https://developwith.com/tags/mac-howto/</link>
    <description>Recent content in Mac Howto on developwith — developer tips</description>
    <generator>Hugo</generator>
    <language>en-us</language>
    <atom:link href="https://developwith.com/tags/mac-howto/index.xml" rel="self" type="application/rss+xml" />
    <item>
      <title>How to fix Adobe Illustrator on macOS with Java 7</title>
      <link>https://developwith.com/how-do-i/mac/fix-illustrator-with-java-7/</link>
      <pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
      <guid>https://developwith.com/how-do-i/mac/fix-illustrator-with-java-7/</guid>
      <description>&lt;p&gt;Go to &lt;code&gt;/System/Library/LaunchAgents&lt;/code&gt; and move &lt;code&gt;com.apple.java.InstallOnDemand.plist&lt;/code&gt;. That will remove the &amp;ldquo;Install Java&amp;rdquo; dialogue.&lt;/p&gt;&#xA;&lt;div class=&#34;highlight&#34;&gt;&lt;pre tabindex=&#34;0&#34; class=&#34;chroma&#34;&gt;&lt;code class=&#34;language-sh&#34; data-lang=&#34;sh&#34;&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;&lt;span class=&#34;nb&#34;&gt;cd&lt;/span&gt; /System/Library/LaunchAgents&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;sudo mv com.apple.java.InstallOnDemand.plist /tmp&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&#xA;&lt;p&gt;After that make sure illustrator doesn&amp;rsquo;t need java by removing the &lt;code&gt;FXGFileFormat&lt;/code&gt; plugin. Go to &lt;code&gt;/Applications/Adobe Illustrator CS6/Plug-ins.localized/Illustrator Formats.localized&lt;/code&gt; and move &lt;code&gt;FXGFileFormat.aip&lt;/code&gt; and &lt;code&gt;FXGFileFormatUI.aip&lt;/code&gt; out of the directory. Now restart Illustrator and Voila!&lt;/p&gt;&#xA;&lt;div class=&#34;highlight&#34;&gt;&lt;pre tabindex=&#34;0&#34; class=&#34;chroma&#34;&gt;&lt;code class=&#34;language-sh&#34; data-lang=&#34;sh&#34;&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;&lt;span class=&#34;nb&#34;&gt;cd&lt;/span&gt; /Applications/Adobe Illustrator&lt;span class=&#34;se&#34;&gt;\ &lt;/span&gt;CS6/Plug-ins.localized/Illustrator&lt;span class=&#34;se&#34;&gt;\ &lt;/span&gt;Formats.localized&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;mv FXGFileFormat* /tmp&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&#xA;&lt;p class=&#34;tip&#34;&gt;&lt;strong&gt;Tip:&lt;/strong&gt; Change the illustrator folder `Adobe Illustrator CS6` to your version. Ony&lt;/p&gt;</description>
    </item>
    <item>
      <title>How to set JAVA_HOME on macOS</title>
      <link>https://developwith.com/how-do-i/mac/set-java-home/</link>
      <pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
      <guid>https://developwith.com/how-do-i/mac/set-java-home/</guid>
      <description>&lt;p&gt;To get location of JAVA_HOME run:&#xA;&lt;div class=&#34;highlight&#34;&gt;&lt;pre tabindex=&#34;0&#34; class=&#34;chroma&#34;&gt;&lt;code class=&#34;language-sh&#34; data-lang=&#34;sh&#34;&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;/usr/libexec/java_home -v 1.8&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;/p&gt;&#xA;&lt;p&gt;Pass in the version you want, for instance &lt;code&gt;1.7&lt;/code&gt;, &lt;code&gt;1.8&lt;/code&gt;, etc&amp;hellip;&lt;/p&gt;&#xA;&lt;p&gt;To set JAVA_HOME environment variable run:&lt;/p&gt;&#xA;&lt;div class=&#34;highlight&#34;&gt;&lt;pre tabindex=&#34;0&#34; class=&#34;chroma&#34;&gt;&lt;code class=&#34;language-sh&#34; data-lang=&#34;sh&#34;&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;&lt;span class=&#34;nb&#34;&gt;export&lt;/span&gt; &lt;span class=&#34;nv&#34;&gt;JAVA_HOME&lt;/span&gt;&lt;span class=&#34;o&#34;&gt;=&lt;/span&gt;&lt;span class=&#34;s2&#34;&gt;&amp;#34;&lt;/span&gt;&lt;span class=&#34;k&#34;&gt;$(&lt;/span&gt;/usr/libexec/java_home -v 1.8&lt;span class=&#34;k&#34;&gt;)&lt;/span&gt;&lt;span class=&#34;s2&#34;&gt;&amp;#34;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&#xA;&lt;p&gt;Check out the &lt;a href=&#34;http://stackoverflow.com/questions/6588390/where-is-java-home-on-osx-yosemite-10-10-mavericks-10-9-mountain-lion-10&#34;&gt;discussion on Stackoverflow&lt;/a&gt;&lt;/p&gt;</description>
    </item>
    <item>
      <title>Mac</title>
      <link>https://developwith.com/how-do-i/mac/</link>
      <pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
      <guid>https://developwith.com/how-do-i/mac/</guid>
      <description>&lt;p&gt;Practical answers for configuring and fixing macOS development environments.&lt;/p&gt;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;&lt;strong&gt;How do I fix Adobe Illustrator on macOS with Java 7?&lt;/strong&gt; — Resolve the Java runtime prompt that prevents Adobe Illustrator from launching on macOS. &lt;a href=&#34;fix-illustrator-with-java-7/&#34;&gt;→ Read more&lt;/a&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;strong&gt;How do I set JAVA_HOME on macOS?&lt;/strong&gt; — Set the JAVA_HOME environment variable so Java-based tools can find your JDK installation. &lt;a href=&#34;set-java-home/&#34;&gt;→ Read more&lt;/a&gt;&lt;/li&gt;&#xA;&lt;/ul&gt;</description>
    </item>
  </channel>
</rss>
