Forums Register Login

Resources from a JAR file for w/s

+Pie Number of slices to send: Send
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>(JeditResources.java:40)
at edu.bsu.cs.gui.JeditControls.<init>(JeditControls.java:76)
at edu.bsu.cs.gui.JeditFrame.<init>(JeditFrame.java:84)
at JEdit.main(JEdit.java:6)

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?
+Pie Number of slices to send: Send
What code are you using to load the resource bundles?
+Pie Number of slices to send: Send
try this link. it might be helpful.
Evil is afoot. But this tiny ad is just an ad:
a bit of art, as a gift, the permaculture playing cards
https://gardener-gift.com


reply
reply
This thread has been viewed 1757 times.
Similar Threads
file reading in applet
Run JAR file in Applet
Unable to load resource: http://LH:8080/...
EJB running at client, weblogic security problem
javax.jnlp
More...

All times above are in ranch (not your local) time.
The current ranch time is
Mar 28, 2024 17:14:55.