Java Link

See which of your colleagues or former colleagues are already on Java Link: Check out the Contact Finder
Java - General » Core Java » How to run a .chm file in jar without using absolute path

140 Views
  0 Replies

0
Vote Vote
How to run a .chm file in jar without using absolute path
Share  
 Type: Professional, Report if fun topic
Ashutosh
Ashutosh Picture
1 Posts
back to top
Posted 10-08-2010Reply

hi,



when i have integrate .chm file through IDE with absolute path is working fine .



java.lang.Runtime.getRuntime().exec("rundll32 url.dll,FileProtocolHandler example.chm");





but i want to run the .chm file without using absolute path.

An executable jar file itself find the .chm file in the jar file after build a jar file



thanks.

0
Vote Vote
Share  
 Type: Professional, please report if fun topic

Recent Activity in Forums

05-04-2012.
05-04-2012.
Kanchana posted a new forum topic in
27-02-2012.
11-02-2012.
Kanchana posted a new forum topic in
11-02-2012.