Tag: os x
-
Cannot find setclasspath.sh when starting up Tomcat 7
In attempting to start Tomcat 7 on my MacBook Pro on El Capitan, I was getting the following error: amp-macbook:Cellar anton$ catalina start Cannot find /usr/local/Cellar/tomcat7/7.0.63/libexec/bin/setclasspath.sh This file is needed to run this program I found the issue to be due to my CATALINA_HOME environment variable. To resolve this, just do the following from your…
-
Enable root in OS X Yosemite and El Capitan
I needed to do some file moving between users and noticed my admin account didn’t have access, so I tried “su” and “sudo” without success. Apparently, like it Yosemite, root access is disabled by default. Here’s how to enable it: 1. Open Directory Utility (I usually do it via CMD + spacebar, then type “dire”)…
-
Homebrew: How to install on OS X
Since moving to OS X in 2011/2012 for work to do all my development, I’ve moved Homebrew to a must-have. Adding it here for archiving purposes. From a terminal: 1. /usr/bin/ruby -e “$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)” 2. brew tap caskroom/cask The 2nd point is to install Homebrew Cask as well, which extends Homebrew’s functionality. Now get…
-
IntelliJ IDEA: Pass M2_HOME to the IDE on OS X Yosemite
I had issues in Yosemite with IntelliJ always complaining that it couldn’t see my M2_HOME variable, even though I had it in my .bash_profile. Turns out that only works in the terminal. In any case, this worked — I verified it on my Mac, which runs v10.10.5. 1. Save this plist in ~/Library/LaunchAgents/ as custom.startup.plist…