Forcing Java 1.7 compliance

I need my program to work on Java 1.7. I have built it with 1.8 in mind. I dont know how to tell if it would work with 1.7. Can you tell me how to do that? I’m using Eclipse if that has something that could help. Thanks!