can't get sqljdbc42.jar to stay in my Java path

2 views (last 30 days)
I am setting up a Microsoft SQL database for use with MATLAB database Toolbox. I need to get sqljdbc42.jar in the java path and restart MATLAB. If I use javaaddpath, it adds my new path with .jar file, but it is just temporary and gets deleted after I restart MATLAB. Thus every time I try to configure my database it says "JDBC driver was not found on java class path". How do I get the driver to stay in my java class path?

Answers (0)

Categories

Find more on Word games in Help Center and File Exchange

Products

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!