Hello,
It appears that my issues with calling java code form a loaded package is not wokring as well as I initially thought.
my original post is here: http://e2e.ti.com/support/embedded/tirtos/f/355/p/338143/1181180.aspx#1181180
When I tested that code, I used the following lines:
xdc.loadPackage('javautils');
var connection = java.sql.DriverManager.getConnection("jdbc:sqlite:test.db");
I got an error, but I assumed it was because the test.db file was missing. Now I have a real file, specified as a metaonly config value, and I am getting an error about there being no suitable driver. The driver jar file should be in the javautils package I created, as noted in the linked thread.
What is the best way to go about debugging this?
Is there a way to make XDC display the java class path?
Or find out which JRE it is using so I can install the driver jar there (non-ideal solution)?