Probably is a AMC 304CI motor for the CJ's. It could be a 360 but doubtful as almost all of the V8 CJ in 77 were 304's. hope that helps!

Roland