10 More Discussions You Might Find Interesting
1. Linux
Viewers Please help me to get out of the below issue.. Thanks in advance
Required shell script for Monitoring status of the objects and it should update the child objects status as well.
Requirements:-
1. We are working on IIB (IBM Integration Bus v10) and trying to implement the broker ('... (0 Replies)
Discussion started by: dsreddy447
0 Replies
2. Shell Programming and Scripting
Hello,
I am trying to write a perl script to access Solid LDAP database using JDBC.
The script connects to the database but gives below error while running sql prepare command :
try.pl
connecting
preparing................
DBD::JDBC::db prepare failed: java.io.IOException:... (0 Replies)
Discussion started by: PerlMonkey
0 Replies
3. UNIX for Dummies Questions & Answers
Hello,
I try to run a script shell from a java program:
but it runs only if i do :chmod 777 myShellScript in the terminal
Please how can i insert chmod 777 in my java code without going through the terminal?
Thank you (1 Reply)
Discussion started by: chercheur857
1 Replies
4. Programming
Hello,
Please i want to insert this code in a java program because i need to call a java function inside the while:
Please how can i do?
thank you so much (9 Replies)
Discussion started by: chercheur857
9 Replies
5. Shell Programming and Scripting
Hello;
Is it possible to insert Java code in a shell script, if so how please?
Thank you (0 Replies)
Discussion started by: chercheur857
0 Replies
6. Programming
Hello,
This is my script shell:
echo Mon premier script
echo Liste des fichiers :
ls -la
exit 0
This is my code java:
public class test {
public static void main(String args) {
try {
Process process = Runtime.getRuntime().exec("sh script1.sh");
} catch... (2 Replies)
Discussion started by: chercheur857
2 Replies
7. UNIX for Advanced & Expert Users
hi,
how to run shell script in java?
i have script a.sh which takes 1 argument as input and returns exit code integer.
how to handle it in java.
should i have to invoke process to execute it and then wait til it completes ?
please explain with code
thanks (1 Reply)
Discussion started by: crackthehit007
1 Replies
8. Shell Programming and Scripting
Members,
I been faced with an issue where i have to sale my project against JAVA.would like to know more on the strong point of shell script (bash shell) over java.I have a very limited knowledge on java.is there anyone who has worked on java and shell scripting in both and really been able to... (13 Replies)
Discussion started by: navojit dutta
13 Replies
9. Shell Programming and Scripting
Hi
How can I call a .sh (shell script) from a java procedure? Is this possible at all?
Please tell me.
Thanks.
Asty (3 Replies)
Discussion started by: Asty
3 Replies
10. UNIX for Dummies Questions & Answers
I have written a java file which runs fine when I compile and run it from the command prompt manually.
i.e, >javac z.java
>java z
I have put these two lines in a executable file. But when I run the executable file, it throws an error 'Thread Exception'. Any thoughts?
#executable file... (1 Reply)
Discussion started by: inpavan
1 Replies