java runtime object invoke a linux interavtive command
hellow friend I can use the runtime object to exec() a "ls". But I can't invoke the command "passwd " because it need to comfirm the passwd .how can I do thank my linux fan.
Unidentified subject!
my linux fan : thank you very mach! I has try this method before I mail my first letter. I found if my code don't invoke "waitfor()". I can get the inputstream of the new process. so I try use printstream to write new password to the stream and invoke the "waitfor()" but the process do not go on .(I use the "ps " see it).
re :invoke a command in java.runtimeobject
hellow my linux fan:thank you very much! maybe you don't run you program in "jdb". Oh my god .the program which write like you second example blocked by javac now run nice in "jdb".So I think it may need a thread and use something like "notify()". but no matter I write the thread . It just blocked . and if I use jdb, it run nice .is it a portable bug?
re:invoke command in java.runtimeobject
my linux fan :thank you very mach ! I use the jdb notice you words. my program run well in "jdb" ,but it block in "javac" i you printStream to get the outputstream of process.use println(),flash(),to put passwd and confirm ,after i done this ,I call waitfor(). all this done well in jdb but it just block in javac .and I try to write this word in run(). also it done well in jdb (change the passwd ).but fail in javac .the process was "s".
Unidentified subject!
this program run well in jdb of linux (redhat5.2),but run so bad in sun soloris 2.6.it change the password ,but dosen't the value I set. And ,after my several day's test.I can say my program run well with java in sun os ,soloris ,with the common interactive program .( i wirte a interactive c program to make test,and passed ) Test.jav
to uncle
I am a linux and java fan .And I like the uncles of blackdown .What can I do for our blackdown.
relation protocal of e-commerice on linux
hellow : my linux java fan! if I want to make a solution of linux port .which protocal should i refreing to .and if lay on java .Do you think it is a good idea.
ssl and java
how can I get a ssl package of java I just want make a test of ssl with java
java sniffer
hellow linux and java fan can I get another good java sniffer package rather then the www.besiex.org/ByProxy/Developers/Sniffers/programming_guide.html
jni problem
I have been develop java program for a serveral days.But I havn't have a success test with the java native include in linux on my redhat 5.1 with jdk1.1.7. when I complied the c impliction code with gcc as : cc -G NativeHello.c NativeHelloImp.c -o libHello.so ,I encount a problum "cc: unrecognized option `-G' /usr/lib/crt1.o(.text+0x36): undefined reference to `main'" before I do this ,I had copy the include file of java/include into /usr/include ,and I copy the *.h in subdir of java/include also into /usr/include can anybody give me a good advice ! -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Why rmiregistry fail
Hello my linux and java fan ! I develop a rmi enable program with 1.1.7 on redhat 5.2 with kernal 2.2 It work well so cool !(I use Jsp and rmi in it ). But When I change my computer address ,(I user the xwin program netconfig to change the hosts file ,eth address defalut gateway ),the rmi falied java.rmi.ServerException: Server RemoteException; nested exception is: java.rmi.AccessException: Registry.rebind 10.103.34.2/10.103.34.2 != java.zj.cninfo.net/10.103.34.5 java.rmi.ServerException: Server RemoteException; nested exception is: java.rmi.AccessException: Registry.rebind 10.103.34.2/10.103.34.2 != java.zj.cninfo.net/10.103.34.5 Server RemoteException; nested exception is: java.rmi.AccessException: Registry.rebind 10.103.34.2/10.103.34.2 != java.zj.cninfo.net/10.103.34.5 10.103.34.2 is my computer address . 10.103.32.244 is my old address . what it means Oh, I develop a total free solution . but now why make this .and its mean. -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
does anyone have taste the gcj and libgcj of cygnus
I have complie the gcj .but I have never make the source code of libgcj complied ok on my redhat 5.2 Oh ,how should I do .I complie it the snapshot of 1999-5-13. maybe the 13 :-) -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
the mem assign
hi linux and java fan: I was leaving for jdk on linux for a weeks ,becase I have to face to the performance of the application . Now I found myself still a newer about the linux.Oh!.can anybody tell me more about the mem manager of the linux .and How many bytes of mem can me use in my single program .is the mem is line one .Does the mem assign like the xx95 or xxNT. thanks ! another linux fan optima -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
