Install Java 6 for ArgoUML


Run the ArgonUML

Install the Java 6 to run the ArgonUML application

Install the older brew package versions

  1. Tap the older repository

    1
    brew tap homebrew/cask-versions
  2. Search and list all java related package name

    1
    brew search java
  3. Install the older java 6 by the package name

    1
    brew cask install java6

Install the java management tools

  1. Install the tools

    1
    brew install jenv
  2. Add this tools to run configure file (like bash)

    1
    echo 'if which jenv > /dev/null; then eval "$(jenv init -)"; fi' >> ~/.bashrc
  3. Check the version

    1
    jenv versions

    If you cannot see the command work, try to open new windows

Find local installed java versions

  1. List all installed versions

    1
    ls -ls /Library/Java/JavaVirtualMachines
  2. Add each java home path to jenv tools for management like

    1
    jenv add /Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Home
  3. When all added, check the version list in jenv tools

    1
    jenv versions

Change the default java version

  1. Check current enabled global version

    1
    java -version
  2. Change the global version to java 6 like

    1
    jenv global oracle64-1.6.0.65
  3. Check the current global version again

    1
    java -version

Install the ArgoUML app

  1. Download the latest app from github repository

    1
    wget https://github.com/argouml-tigris-org/argouml/releases/download/VERSION_0_35_1/ArgoUML-0.35.1.app.tar.gz
  2. Unpack the downloaded file

    1
    tar zxvf ArgoUML-0.35.1.app.tar.gz
  3. Move the applications directory

    1
    mv ArgoUML.app /Applications
  4. Clear the quarantine attribute (security protection issue)

    1
    sudo xattr -rd com.apple.quarantine /Applications/ArgoUML.app
  5. Open it

    1
    open /Applications/ArgoUML.app