This week's book giveaway is in the OO, Patterns, UML and Refactoring forum. We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line! See this thread for details.
Like with all applications, you need a class with a main method to start the application. Then you need to add a manifest file to the jar which references the class with the main method; see JarFiles for more details.
I add all the necessaries directories (also properties and .classpath) to the jar. When I am trying to run the jar I get the fallowing error:
Exception in thread "main" java.util.MissingResourceException: Can't find bundle for base name rcyProperties, locale en_US at java.util.ResourceBundle.throwMissingResourceException(Unknown Source) at java.util.ResourceBundle.getBundleImpl(Unknown Source) at java.util.ResourceBundle.getBundle(Unknown Source) at utils.RcyUtils.getResourceBundle(RcyUtils.java:27) at utils.RcyUtils.getImageIcon(RcyUtils.java:31) at gui.BootScreen.<init>(BootScreen.java:67) at main.StartRcy.main(StartRcy.java:12)
The properties directory is define in the .classpath file. Should I need to add this directory also into the manifest.txt (and how)?