Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

is there any way to add jar file in the main.js file #9

Closed
gopal1996 opened this issue Dec 5, 2019 · 2 comments
Closed

is there any way to add jar file in the main.js file #9

gopal1996 opened this issue Dec 5, 2019 · 2 comments
Labels

Comments

@gopal1996
Copy link

Hi,
I need to retrive data from denodo database. It have only JDBC jar files.
I dont have any maven dependencies.. Is there any possible way to add JAR files explicitly in index file instead of package.json file?

Thanks in advance

@tonycaohs
Copy link

You could try 'addClasspath'.

import {JDBC, ResultSet, Statement, Java} from '@naxmefy/jdbc';

const jv = new Java(true, false);
jv.addClasspath([ './drivers/hsqldb.jar']);

@gopal1996
Copy link
Author

Thank You. Its Working :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants