With Java 8+, the idea is to extract the required libraries from a Java 7 archive. And then install them into your Stambia environment.
Afterwards, Stambia will be able to use them.
We are preparing an article which will detail how to do this. it is not ready yet, but here is some information so that you can work:
About installing the missing librairies:
- Get these two files from a Java 7 distribution: "jre/lib/rt.jar", "jre/bin/JdbcOdbc.dll" for Windows, "jre/bin/JdbcOdbc.so" for Linux
- Installing the Java 7 libraries in the Runtime
- Copy "rt.jar" and "JdbcOdbc.dll" (or .so) into the stambiaRuntime/lib/jdbc directory
- Restart the Runtime
- Installing the Java 7 libraries in the Designer
- Append the following lines to your stambia.ini (or stambia32.ini) file:
-Djdbc.odbc.wrapped.lib.path=stambiaRuntime/lib/jdbc/JdbcOdbc.dll
-Djdbc.odbc.wrapped.jar.path=stambiaRuntime/lib/jdbc/rt.jar
- In the Designer, open Window/Preferences/SQL Editor/JDBC Drivers
- If the "JDBC ODBC Bridge Wrapper" entry does not exist then create if with the "Add" button:
Name: JDBC ODBC Bridge Wrapper
Example URL: jdbc:odbc:<alias>
- Edit the "JDBC ODBC Bridge Wrapper" entry:
In the "Extra class path" tab, Add Jar "stambiaRuntime\lib\jdbc\stambia.jdbc.driver.odbc.jar" and click "List drivers"
The Driver class name should be automatically set to "com.stambia.jdbc.odbc.JdbcOdbcDriverWrapper"
About creating a metadata in the Designer:
- Create an excel metadata as usual
- Make sure you select the "JDBC-ODBC Bridge Wrapper" driver
- set the jdbc url to jdbc:odbc:<your-odbc-alias>
We are insterested in your feedback, please keep us informed