2527232 - JRE 9: java.lang.NoClassDefFoundError: Could not initialize class sap.jdbc4.sqlanywhere.IDriver | SAP Knowledge Base Article

SAP Knowledge Base Article - Preview

2527232 - JRE 9: java.lang.NoClassDefFoundError: Could not initialize class sap.jdbc4.sqlanywhere.IDriver

Symptom

Exception in thread "main" java.lang.NoClassDefFoundError: Could not initialize class sap.jdbc4.sqlanywhere.IDriver
at java.base/java.lang.Class.forName0(Native Method)
at java.base/java.lang.Class.forName(Unknown Source)
at java.sql/java.sql.DriverManager.isDriverAllowed(Unknown Source)
at java.sql/java.sql.DriverManager.getConnection(Unknown Source)
at java.sql/java.sql.DriverManager.getConnection(Unknown Source)
at Main.main(Main.java:6)


Read more...

Environment

SAP SQL Anywhere 17.0.x
SAP SQL Anywhere 16.0.x
Oracle JDK 9

Product

SAP SQL Anywhere 17.0

Keywords

Sybase , KBA , BC-SYB-SQA-CLI , SQL Anywhere - Client libraries (odbc, jdbc ...) , Problem

About this page

This is a preview of a SAP Knowledge Base Article. Click more to access the full version on SAP ONE Support launchpad (Login required).

Search for additional results

Visit SAP Support Portal's SAP Notes and KBA Search.