This week's book giveaway is in the Agile and other Processes forum. We're giving away four copies of The Mikado Method and have Ola Ellnestam and Daniel Brolund on-line! See this thread for details.
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......
K Riaz
Ranch Hand
Joined: Jan 08, 2005
Posts: 375
posted
0
Put the jar of "comm api" in your classpath before running your application.
prat chan
Greenhorn
Joined: Mar 25, 2005
Posts: 7
posted
0
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
Bonagiri UmaMaheshwar Rao
Greenhorn
Joined: Mar 27, 2005
Posts: 12
posted
0
put your comm.jar file in java_home\jre\lib\ext directory. It should solve your problem.
prat chan
Greenhorn
Joined: Mar 25, 2005
Posts: 7
posted
0
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