Typically when someone says this they installed Java 8 but neglected to use that version.
For Clients this is as simple as setting your installation's Java Version.
For Servers you either need to replace the newer Java version with Java 8 in your system's path variable (global, affects every java program), or use the full path to the java 8 exe instead of simply invoking java (recommended, only affects this server)