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.
The moose likes JNLP and Web Start and the fly likes Resources from a JAR file for w/s Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

JavaRanch » Java Forums » Java » JNLP and Web Start
Bookmark "Resources from a JAR file for w/s" Watch "Resources from a JAR file for w/s" New topic

Resources from a JAR file for w/s

Edward Morris

Joined: Jun 29, 2006
Posts: 18
I made an executable jar for my application and I'm having trouble with this,

C:\>java -jar jed.jar
Exception in thread "main" java.util.MissingResourceException: Can't find bundle for base name jedit, 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 edu.bsu.cs.gui.JeditResources.<init>(
at edu.bsu.cs.gui.JeditControls.<init>(
at edu.bsu.cs.gui.JeditFrame.<init>(
at JEdit.main(

My app reads all the resources from a .properties file and all the image resources for icons are in my classes older that I included in the jar. How do I fix this?
Carl Trusiak

Joined: Jun 13, 2000
Posts: 3340
What code are you using to load the resource bundles?
Aalok Pandit

Joined: Sep 26, 2005
Posts: 15
try this link. it might be helpful.
I’ve looked at a lot of different solutions, and in my humble opinion Aspose is the way to go. Here’s the link:
subject: Resources from a JAR file for w/s
jQuery in Action, 3rd edition