add substitude for java opts, too.