10 More Discussions You Might Find Interesting
1. Programming
Hello,
The arguments are strings. In my code I need them to be a different type, I do the cast but it is not feasible ...
Have you any idea?
Thank you (8 Replies)
Discussion started by: chercheur857
8 Replies
2. Programming
Hi I have been trying to connect a remote linux server in a java program through ssh. Can anyone tell me the proper library to include?
Thanks
Ananth (0 Replies)
Discussion started by: Ananthdoss
0 Replies
3. Shell Programming and Scripting
Hi Guys,
We have a java program that basically install updates to an existing software. The java program consist of several screens asking user for choices (please see below for a detailed example)
*** Screen 1 ***
Please choose the operation you want to perform:
1. Install new... (5 Replies)
Discussion started by: maddmaster
5 Replies
4. Shell Programming and Scripting
I am entirely new to shell scripting and would like to create a script to execute a java program called Main. I've already compiled it and placed the .java and .class files at /root/javaTest. Next I made a shell script that simply contained: java /root/javaTest/Main . I made the script... (2 Replies)
Discussion started by: hypnotic_meat
2 Replies
5. Linux
hi, i have just written a simple hello world java program in my linux server, installed jdk ... and tried to compile and run it and it gave me some errors.
please details below:
# cat HelloWorld.java
import java.util.*;
import java.io.*;
public class HelloWorld
{
public static void... (4 Replies)
Discussion started by: k2k
4 Replies
6. Shell Programming and Scripting
Hi,
I have a file (log data) with the sample code as follows
/apps/opt | go_gen.ksh | #START | jan 28 06:15 |/home/dump
/apps/opt | go_gen.ksh | #END | jan 28 06:30 |/home/dump
/apps/opt | pend_instl.ksh | #START | jan 28 09:50 |/home/dump
/apps/opt | pend_instl.ksh | #END | jan... (3 Replies)
Discussion started by: karthikd214
3 Replies
7. Shell Programming and Scripting
hello all
how can i run the java command that can eccept N numbers of args for example :
java -cp .;foo.jar myApp 1 "ww"
or
java -cp .;foo.jar myApp 1 2 3 "ww"
or
java -cp .;foo.jar myApp "args1" "args2" "args3"
Thanks (1 Reply)
Discussion started by: umen
1 Replies
8. Shell Programming and Scripting
Hello all sorry didnt know where to post it
i compiled simple program that using "System.getProperty("user.dir");"
now i compiled the program under directory foo and and its running great when i do "java myapp"
i included this directory in the $PATH env variable so i could see it fro any where... (1 Reply)
Discussion started by: umen
1 Replies
9. UNIX for Advanced & Expert Users
I have a simple script like this:
for file in $dodfiles; do
./rundod $file
done
$dodfiles is an array of file names selected
rundod is a script which invokes a java progrm which process a data file
all the processing message logged into a log file
in order to extract and analyze the... (1 Reply)
Discussion started by: liux99
1 Replies
10. Programming
Hi,
I have the following problem. I have 2 programs, a java program and a c++ program. These 2 programs have to communicate with each other in full duplex mode. I want to use pipes for this communication. So when the c++ program pust something on the stdout the java program must be able to read... (4 Replies)
Discussion started by: lmnt22
4 Replies