10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
Hi All,
I have been struggling for a week trying to run a unix command from my java program.
the unix command is:
ssh dmdev3@tsapid01-zt3d01 ':> /t3/envs/dmdev3/test/file_list.txt'
when i try to run this command directly on my unix console, it works perfectly.
but when i try it form... (12 Replies)
Discussion started by: madhu_sharan
12 Replies
2. Programming
Hi All,
Can anyone help me for knowing the java best side forums. where i will get a quick responce like here , as i am having lot of question.
Thanks (1 Reply)
Discussion started by: aish11
1 Replies
3. UNIX for Dummies Questions & Answers
I am setting up Kerberos authentication and this is one of the steps:
1. Open the JBoss startup script.
2. Add the following Java System Properties
-Djava.security.krb5.conf=/disk01/kerb/krb5.conf
-Djavax.security.auth.useSubjectCredsOnly=false
I added these 2 lines and it works in a... (0 Replies)
Discussion started by: shoefiend
0 Replies
4. Programming
Greeings all
Im trying to excute a command from Java and direct the output to the main output screen or to another file .... can you please help with this ? can I use filewriter for this ?
Here is my code....
import java.io.BufferedReader;
import java.io.File;
import java.io.FileWriter;... (3 Replies)
Discussion started by: yahyaaa
3 Replies
5. Programming
Under windows environment,I can compile C code into dll,then I can use Java to call this dll. I want to know whether Java can call C under Unix environment? How to do it? Where can I get example Java and C code?
Thanks (1 Reply)
Discussion started by: konvalo
1 Replies
6. Programming
Hi, I have got java 1.4.1 in my unix server, i wish to upgrade it to 1.4.2 version. I know how to do that in Windows, but it is the first time i am doing it in UNIX. Please tell me how to do it from command line?
Are there any environment variable to be set in unix as in windows?
Thanks in... (0 Replies)
Discussion started by: macmohanin
0 Replies
7. Solaris
Hello Everyone,
I had a question which i would like to put over here.
I am on the track understanding and learning about Solaris
I have been learning for the past 3 months and at this stage i have realized to really master Unix, we can`t keep a blind eye to programming language.
I wish to... (1 Reply)
Discussion started by: akash_wish
1 Replies
8. Shell Programming and Scripting
Hi all,
is there any way to return value from UNIX to JAVA application.
I have my source code like this:
application.java
Runtime runtime = Runtime.getRuntime();
Process p = runtime.exec(myscript);
myscript.sh
text="Hello World"
echo $text
How to return the "Hello World"... (3 Replies)
Discussion started by: suigion
3 Replies
9. UNIX for Advanced & Expert Users
Hey..i need some assistance to login to unix using a java application. The point is, i need to read a particular file in unix using a java application on windows. (2 Replies)
Discussion started by: dowell
2 Replies
10. Shell Programming and Scripting
hi everybody,
i have a small unix script and i want to use it with java, so how can i executte unix command with java (if it is possible): in fact i want to use some values returned by this script with java swings.
is it possible (of course everything is possible) but how can i do? thank you in... (4 Replies)
Discussion started by: mips
4 Replies