1, download in "http://staruml.io/";
2,sudo dpkg-i staruml-v2.5.0-64-bit.deb installation.
3, register. Enter it in the Help. Name:maxiongying Registration Code: 54RCZXRCXSZEWW
Or register like this, never tried.
Modify Licensemanagerdomain.js
Function validate (Pk, name, product, licensekey) { var pk, decrypted; //Add a comment to this block of code /* return { name: "0XCB", product: "StarUML", licenseType: "VIP", quantity: "Bbs.chinapyg.com", licenseKey: "later equals never!" }; */ try { &Nbsp; pk = new nodersa (PK); decrypted = pk.decrypt (licenseKey, ' UTF8 ' ); } catch (ERR) { return false; } var terms = decrypted.trim (). Split ("\ n"); if (Terms[0] === name && terms[1]  === PRODUCT) { return { name: name, product: product, licenseType: terms[2], quantity: terms[3], licenseKey: licenseKey }; } else { return false; } }
(1) Find licensemanagerdomain.js location
Command:
Dpkg-s STARUML | grep licensemanagerdomain.js
Then edit the file
sudo gedit/opt/staruml/www/license/node/licensemanagerdomain.js
Install STARUML version 2.5 on Ubuntu 14.04 64bit