Could not find or load core class files

I am trying to create a simple application to call a jdbc database. I have banks in the build path, and my sqljdbc_Auth.dll is located in the folder:

C: \ Program Files (x86) \ jdbc \ sqljdbc_4.0 \ enu \ auth \ x64

I get an error

Error: could not find or load core class files

my VM arguments: looks like this:

-Djava.library.path = C: \ Program Files (x86) \ jdbc \ sqljdbc_4.0 \ enu \ auth \ x64

And that is what I know so far. Does the sqljdbc_auth.dll file get java.library.pathmore involved?

+4
source share
1 answer

It looks like you are using Eclipse. It:

-Djava.library.path=C:\Program Files (x86)\jdbc\sqljdbc_4.0\enu\auth\x64

, . Windows, , , :

"-Djava.library.path=C:\Program Files (x86)\jdbc\sqljdbc_4.0\enu\auth\x64"
+7

All Articles