Re: [sleuthkit-users] Java Bindings cannot initialize case database
Brought to you by:
carrier
From: Darryl Vo <ro...@gm...> - 2015-12-22 23:04:13
|
Oh my mistake, I didn't realize I was giving it a relative path to the Eclipse working directory. Doing that and adding in more dependencies to the class path fixed my problem, thank you! On Tue, Dec 22, 2015 at 2:45 PM, Eamonn Saunders <ea...@ya...> wrote: > > Is that your actual code or are you giving newCase the path to where the > SQLite database should be created (which is what the documentation calls > for)? > > On Tue, Dec 22, 2015 at 5:27 PM, Darryl Vo > <ro...@gm...> wrote: > Hello all, > > I currently am trying to create a simple java program with the java > bindings. Everything is installed correctly. > I am currently using eclipse on Ubuntu. I have added the jar from dist to > the class path. > > When I simply try to call SleuthkitCase sk = > SleuthkitCase.newCase("database"); > I get this as the error message when catching TskCoreException : > > Failed to create case database at database > > It does however create a file. When I try to open it with a > SleuthKitCase.openCase(), it also fail to open it. > What's wrong? > > ------------------------------------------------------------------------------ > _______________________________________________ > sleuthkit-users mailing list > https://lists.sourceforge.net/lists/listinfo/sleuthkit-users > http://www.sleuthkit.org > > |