Update Utils.java

Add aries support