'Using JCEF for one of my project, its working fine when we run through eclipse. But When i took jar file, its not showing error

I'm using JCEF DLL's for my project. It's working fine while running in Eclipse.

But, when I took the jar file and tried to run it in a command prompt using java -jar demo.jar, then it's showing the error below. The JSON file contains this:

{
 "version": "95.7.14"
}
java.io.IOException: Invalid json content in jcefmaven_build_meta.json
    at me.friwi.jcefmaven.impl.step.fetch.PackageDownloader.loadJCefMavenVersion(PackageDownloader.java:98)
    at me.friwi.jcefmaven.impl.step.fetch.PackageDownloader.downloadNatives(PackageDownloader.java:41)
    at me.friwi.jcefmaven.CefAppBuilder.build(CefAppBuilder.java:194)
    at me.friwi.jcefmaven.detailed.MainFrame.<init>(MainFrame.java:1075)
    at me.friwi.jcefmaven.detailed.MainFrame.loadbrowser(MainFrame.java:300)
    at me.friwi.jcefmaven.detailed.MainFrame.main(MainFrame.java:266)


Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source