Preeti Malik

Greenhorn
+ Follow
since Dec 14, 2006
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 Preeti Malik

hi
hi

i have developed an application in java using netbeans that uses javax.comm package. In order to use this package I need to put 3 file: win32com.dll, comm.jar and javax.comm.properties in appropriate folders in jdk and jre. Now I want to deploy my application. How can I include these three files in my netbeans package itself, so that the end user can run my application directly. I know how to create a jar of my netbeans application. I also know that comm.jar can be added to library. But is there a way of packaging win32com.dll and javax.comm.properties...in case you know of any free java product installer that detects a jdk and jre, and after detection will allow me to specify copying of the 3 javax.comm files in certain folders, please let me know... please help me...this is very important for me..thanks
hi
hi

i have developed an application in java using netbeans that uses javax.comm package. In order to use this package I need to put 3 file: win32com.dll, comm.jar and javax.comm.properties in appropriate folders in jdk and jre. Now I want to deploy my application. How can I include these three files in my netbeans package itself, so that the end user can run my application directly. I know how to create a jar of my netbeans application. I also know that comm.jar can be added to library. But is there a way of packaging win32com.dll and javax.comm.properties...in case you know of any free java product installer that detects a jdk and jre, and after detection will allow me to specify copying of the 3 javax.comm files in certain folders, please let me know... please help me...this is very important for me..thanks
13 years ago
hello

can you please tell me how to access the FIFO control register of serial ports using java, i have used javax.comm package to establish serial port communication, but it does not seem to have any methods or fields to set serial port registers, can some please tell me if this is possible in java?

thanks
13 years ago
javax.comm is working properly now, problem solved!
13 years ago
i have put jdk/bin path in PATH variable also, the problem still persists, so are you suggesting i use rxtx instead of javax.comm?? i need my program to read & write to a serial port and not USB
13 years ago
I am using javax.comm package to achieve serial communication in java. I did the following:

1. put comm.jar in jdk/lib and jre/lib
2. put javax.comm.properties in jdk/lib and jre/lib
3. put win32com.dll in jdk/bin and jre/bin

I put my java program in jdk/bin directory and compiled it, its compiling and running properly. Its able to read from and write to a serial port and communicate with a device attached to that port.
But when i put the same program in another directory (my directory of java programs), it compiles fine but shows the following exception when run:

Exception in thread "main" java.lang.NullPointerException
at WriteReadPort.main(WriteReadPort.java:27)

I am working on Windows 2000, I have added the path of my java programs directory in CLASSPATH env variable, i really dont know why this exception is occuring, the same program is running perfectly in the jdk/bin directory.

Can anyone please help me out, this is very important.

thanks
13 years ago