I have created a Java desktop application using NetBeans. After building and compiling the project , when I execute JAR file from dist folder, it runs fine, but when I copy the same Jar to my desktop and run it, it shows following error:
"Could not find the main class :rssreader.RSSReaderApp. Program will exit"
Please help me out.