Application of the J-integral to obtain some similarity relations