Since version 8 Appium Java Client had several major changes, which might require to update your client code. Make sure to follow the v7 to v8 Migration Guide to streamline the migration process.
Before you can start performing Java automation testing with Selenium, you would need to: Install the latest Java development environment i.e. JDK 1.6 or higher. We recommend using the latest version.