We've tried to execute the java DB snippet in Java8 installed machine, where I got an exception that ClassNotFoundException in sun.jdbc.odbc.JdbcOdbcDriver.
So we have understood that this is because of Removal of JDBC-ODBC bridge from Java8 and that's why the snippet we developed in Java7 is throwing this type of error.
Here, please confirm whether the same snippet will work if we downgrade the Java8 to Java7? If so, how can we do that downgradation? Is updating the environment variable PATH
would be fair enough to instruct the machine to use Java7 for execution or we should do something else do?
Note: We don't have option for using some other drivers that support Java8. So please help us to overcome this situation. Thanks!