This is my current database path
"jdbc:ucanaccess://D:/Java/TransactionProcessingSystem/src/transactionprocessingsystem/Resources/TPSystem.accdb"
But I want set the database path in the same compilation folder location, Like this:
"jdbc:ucanaccess://../Resources/TPSystem.accdb"
I am using Netbeans to develop the program.
It just must be a valid path(relative or absolute). Therefore, if you're using a relative path, it must be relative to the current working directory.