Win a copy of Re-engineering Legacy Software this week in the Refactoring forum
or Docker in Action in the Cloud/Virtualization forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Cant See RTF Files in JAR but can when running program from command prompt

Chetan Pandey
Ranch Hand
Posts: 31
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

I have a Java Swing APP. It has Menus which displays information through File I/O in a JEditorPane.

When I run my program from Command Prompt using "java myApp" it shows these RTF Files as it is.

However when I run them after converting Directory into a Executable JAR FILE, it fails. I get a blank JEditorPane. My RTF files are in the CORRECT PATH, just dont get displayed. Rest of the APP works fine.


any suggetsions
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic