i have developed an program using comm api ...... i created a jar file of the same..... the jar file runs fine when i use the command java -jar filename....... however when i execute the jar by double clicking on it the application runs fine until the class that uses the comm api is encountered..... the jar is executable and works fine but does not recognise the class using comm api ...... help......
did that using the class-path variable in manifest file........... however the comm api requires certain files to be placed at specific location .......... the executable file does not recognise the comm.jar....... the jar works fine when run with the java -jar jarname command at the prompt........... plz help
thanks for the reply i have already placed the 3 files of the comm api in folders asspecified in the release notes.........
the comm.jar is in <jdk>\jre\lib\ext win32com.dll in <jdk>\jre\bin and javax.comm.properties sheet in <jdk.\jre\lib
the jar works perfectly well when i type java - jar jarname command at the command propmt so the jvm recognises the api
however the jar does not recognise the api......... teh jar is selfexecutable and runs fine untill the object of the class which uses comm api is encountered
thanks
The longest recorded flight time of a chicken is 13 seconds. But that was done without this tiny ad:
Free, earth friendly heat - from the CodeRanch trailboss