Writing

  • OS X: Setting system-wide environment variables

    I believe up until Yosemite, I didn’t have issues setting up environmental variables (i.e. JAVA_HOME) via my .bash_profile. As I upgraded, that no longer worked, so I found another way: use a custom .plist in your LaunchAgents folder: Go to ~/Library/LaunchAgents Add something like the below and then reboot, or unload-load it via launchctl unload…

  • Maven error with Java 6 on OS X: “Unsupported major.minor version 51.0”

    ,

    If you encounter the error below with Java 6 on OS X, make sure you’re using Maven 3.2.5 or older. $ mvn Exception in thread "main" java.lang.UnsupportedClassVersionError: org/apache/maven/cli/MavenCli : Unsupported major.minor version 51.0   at java.lang.ClassLoader.defineClass1(Native Method)   at java.lang.ClassLoader.defineClassCond(ClassLoader.java:637)   at java.lang.ClassLoader.defineClass(ClassLoader.java:621)   at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:141)   at java.net.URLClassLoader.defineClass(URLClassLoader.java:283)   at java.net.URLClassLoader.access$000(URLClassLoader.java:58)   at java.net.URLClassLoader$1.run(URLClassLoader.java:197)   at java.security.AccessController.doPrivileged(Native Method)   at java.net.URLClassLoader.findClass(URLClassLoader.java:190)   at org.codehaus.plexus.classworlds.realm.ClassRealm.loadClassFromSelf(ClassRealm.java:401)…

  • Maven error in OS X: “Maven already installed, it’s just not linked”

    If you use Homebrew on OS X and you come across the error below, just: $ rm -rf /usr/local/Cellar/maven $ brew install maven $ mvn -version That’s it! $ brew install maven Updating Homebrew… ==> Auto-updated Homebrew! Updated 2 taps (caskroom/cask, caskroom/versions). Warning: maven-3.5.0 already installed, it's just not linked.

  • Seven wastes of software development

    Perfect for analyzing why a ticket you worked on longer than expected, which usually always does! Check it out here! Quickly, though, they are: Partially Done Work Extra Features Relearning Handoffs Delays Task Switching Defects

  • How to get to Amazon Chat

    Pretty straightforward. 1. Go to http://amazon.com 2. Scroll to the bottom and click “Help” 3. Click “Need More Help?” 4. Select the item in question 5. Select the issue and issue details 6. Click on “Chat” 7. Voila!

  • Tomcat 7: Where to put WAR files

    Tomcat 7 no longer “explodes” .war files like it used to; however, all you need to do is drop them into the /webapps folder and Tomcat will handle the rest. In my case, I installed Tomcat via Homebrew, so it’ll be in /usr/local/Cellar/tomcat7/7.0.70/libexec/webapps.