This content has been marked as final. Show 2 replies
It looks to me that You can in fact launch the jar successfully but it runs to a problem during execution. If the same code works launched within Eclipse, I would suspect the problem is caused by differences between these two runtime environments : Eclipse environment and command line environment.
To solve the problem, I propose investigating what happens in line 63 of MusicDataAccessor.java, as that is the place where the stack trace indicates the NullPointerException. You might send that line of code here to get hints on what can go wrong.
One thing I'd like to mention is that when you export a project from Eclipse as Runnable JAR file, it is exported with selected Eclipse launch configuration and Eclipse specific launch wrappers. To create a standard executable JAR file, you can export as JAR file and specify the main class in last screen of the wizard.
Nice of you to offer help, but this thread is MONTHS old. The OP likely resolved it himself by actually performing some research.
Better focus your efforts on recent questions.