when creating jar file i use following command in DOS

jar cf UIA.jar *.class *.jpg *.html *.xml *.jhm *.jar

then i adding manifest by typing following command in DOS

jar cvfm UIA.jar mainClass.txt

when i double click the jar file, nothing come out, i think maybe the code it used to run the program is different

normally when i want to run my program, i type this code in command prompt to run the program, the program has implemented the java help system, i need to type these four files out when runing or compiling the program, because the window xp cant detect these four files which required by java help system.

java -cp .;jh.jar;jsearch.jar;jhall.jar;jhbasic.jar UIAMain

the program is free of error and able to run.
how do i do the same way in jar file ?

content in my mainClass.txt:
Main-Class: UIAMain


8 Years
Discussion Span
Last Post by C41R0

anyone please..... cause i failed to figure out whats going on?
if the detail i've given is unclear, please tell me, i will correct it

This question has already been answered. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.