Dear All,
I am running a java serial program ( Black Box on commapi package ) on a Linux. But when Main Menu can displayed, automatically program stop for running and I can't do anything with what's displayed, for examples: the button can't be pressed, the combo box can't be schrolled, etc. One thing that make me confused is threre's no error message at all, with all of happened.
I had done somethings like :
- put jar.com file on dir: usr/java/jdk/jre/lib/ext
- put javax.comm.prop erties file on dir: usr/java/jdk/jre/lib
- put libLinuxSerialP arallel_g.so and libLinuxSerialP arallel.so on dir: usr/lib
- set path on usr/java/jdk/bin
- set java home on usr/java/jdk
I had checked my current java with "which java" command and the result is suitable with path set.
I ran the Black Box program with command :
java -Djava.library.p ath=/usr/lib Black Box
where dir /usr/lib is directory that files .so located and Black Box is a class file name that is executed.
My question is : what's the trouble?? Is there in connection with respond rate of operating system that I used, because when my Black Box is executed on windows platform, the result is running and respond well.
My computer spec : Intel Pentium 4 with RAM 128 MB (but i'm not suggested that it's the reason).
Could somebody help me? I'll wait for your respond to solve the trouble, soon. Thanks a lot.
regards,
Endang Suryawati
I am running a java serial program ( Black Box on commapi package ) on a Linux. But when Main Menu can displayed, automatically program stop for running and I can't do anything with what's displayed, for examples: the button can't be pressed, the combo box can't be schrolled, etc. One thing that make me confused is threre's no error message at all, with all of happened.
I had done somethings like :
- put jar.com file on dir: usr/java/jdk/jre/lib/ext
- put javax.comm.prop erties file on dir: usr/java/jdk/jre/lib
- put libLinuxSerialP arallel_g.so and libLinuxSerialP arallel.so on dir: usr/lib
- set path on usr/java/jdk/bin
- set java home on usr/java/jdk
I had checked my current java with "which java" command and the result is suitable with path set.
I ran the Black Box program with command :
java -Djava.library.p ath=/usr/lib Black Box
where dir /usr/lib is directory that files .so located and Black Box is a class file name that is executed.
My question is : what's the trouble?? Is there in connection with respond rate of operating system that I used, because when my Black Box is executed on windows platform, the result is running and respond well.
My computer spec : Intel Pentium 4 with RAM 128 MB (but i'm not suggested that it's the reason).
Could somebody help me? I'll wait for your respond to solve the trouble, soon. Thanks a lot.
regards,
Endang Suryawati
Comment