prat chan

Greenhorn
+ Follow
since Mar 25, 2005
Merit badge: grant badges
For More
Cows and Likes
Cows
Total received
0
In last 30 days
0
Total given
0
Likes
Total received
0
Received in last 30 days
0
Total given
0
Given in last 30 days
0
Forums and Threads
Scavenger Hunt
expand Ranch Hand Scavenger Hunt
expand Greenhorn Scavenger Hunt

Recent posts by prat chan

thank you all so much for all the help
i had installed java on the d: drive and the system drive is c:
java installation would create a java folder in c: as well even if we install java on any other drive, i placed the comm.jar, the dll file and the properties sheet in the lib and bin directores on the system drive and things worked fine
this forum is excellent with good response from the users, i am using this for the first time and its very knowledgable, one can learn a lot if we browse through the various queries posted on tis forum...
well now i am planning to test it on a network and see how the comm api behaves...
thanks again....
18 years ago
yes, the property sheet and the comm.jar file cause problems
i have placed copies of the two in almost all java and my project classpath folder hoping it would pick up from somewhere. i have unjarred the comm.jar and placed the folders in my project folder. comm.jar has two folders the com/sun/comm and javax/comm folders, theres not much to read about the comm api and jar files on net or maybe i could not locate any . would appreciate your help.
18 years ago
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
19 years ago
according to the release notes of comm api the comm.jar has to be placed in <jdk>\jre\lib\ext , the win32com.dll has to be placed in <jdk>\jre\bin and the javax.comm.pro sheet has to be in <jdk>\jre\lib.... the comm api being an external package was included in the class-path field of the manifest file however the comm.jar is not recognised..... the manifest file looks like :

Manifest Version:
Class-Path: comm.jar
Main-Class: main class name

the jar created using this manifest works good at the command prompt using the java -jar jarname command..... however the jar wehen executed by double clicking works fine untill the class using the comm api is encountered....
had posted this on intermediate as well no one seems to help..... need to sort this out, got practicals coming up.....
19 years ago
how do we jar an application using comm api....... the comm.jar does not seem to be recognised at runtime when the jar is double clicked....... (the jar is an executable jar)....... however the jar works fine with the following command "java -jar jarname" ......... have been looking for a solution for a long time would appreciate any help ......
19 years ago
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
19 years ago
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......
19 years ago