Sponsored Content
Top Forums Shell Programming and Scripting How to invoke a perl script from java program Post 302168977 by manikantants on Wednesday 20th of February 2008 01:19:06 AM
Old 02-20-2008
not comfortable with Java.
There will be some way to call unix commands from Java program like we can use 'system' in C programming. I guess you can use same method to call perl as well.
 

10 More Discussions You Might Find Interesting

1. UNIX for Advanced & Expert Users

Invoke java program in different processc d

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

2. Shell Programming and Scripting

Invoke java program in script

Hey all, My boss tasked me with the job to write a script which would invoke various java programs, the thing is I don't know much about shell scripting so would you experts help me out? Here is the requirement - 2 applications written in java: App_A and App_B -... (0 Replies)
Discussion started by: mpang_
0 Replies

3. Shell Programming and Scripting

Invoke perl program from Ksh

Hi all, Can I invoke a perl script from Ksh script and pass parameters to the perl script. Please do help me.. thanks Maha (10 Replies)
Discussion started by: mahalakshmi
10 Replies

4. Shell Programming and Scripting

How to execute java program from perl

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

5. Shell Programming and Scripting

Perl script to invoke Cold Backups

Hello, I am relatively new to Perl and I need help in creating a Perl script to automate a crontab job that starts and shutdowns multiple servers one server at a time. Script is to be run once a week. Below are the steps needed for the job... 1. Start stopping server1 and server2 using... (3 Replies)
Discussion started by: northern1969
3 Replies

6. Solaris

How to invoke remote java program from ssh

How can i invoke java program from MC1, when I connect remotely to execute can I set classpath etc. ____________ <-------------->____________________ |..................|<-------------->|...............................| |..................|<-------------->|...............................|... (2 Replies)
Discussion started by: vishnu559
2 Replies

7. Shell Programming and Scripting

Invoke a bash script with perl

Hi all, I use the perl script to invoke the bash script. and now there is a problem. my bash script lists as follows: and I use perl run this test scripts now the problem is when I run the perl script I find there is nothing recorded in the file /tmp/jdk.txt (2 Replies)
Discussion started by: Damon_Qu
2 Replies

8. UNIX for Advanced & Expert Users

Invoke unix script using c program

hi i want to invoke a unix script in a C program and also return some value from the script to the C program to use that value further. Basically i am doing a Lookup operation in this unix script and returning the looked up data from a oracle database table.. please help me invoke as well... (1 Reply)
Discussion started by: somi2yoga
1 Replies

9. Shell Programming and Scripting

Script of invoke an email program

Is it possible that a shell script invokes a windows mailing application like Lotus Notes and creates a mail and sends it ? (2 Replies)
Discussion started by: csrohit
2 Replies

10. Shell Programming and Scripting

Problem while Invoke Shell Script function from Java Program

Hi, I have create a Shell Script, with one function. I want to call the script file in Java Program. It working fine. but the problem is the function in the Shell Script is not executed. Please suggest me, Regards, Nanthagopal A (2 Replies)
Discussion started by: nanthagopal
2 Replies
jconsole(1)						      General Commands Manual						       jconsole(1)

NAME
jconsole - J2SE Monitoring and Management Console SYNOPSIS
jconsole [ options ] [ pid | [ host:port ... ] ] PARAMETERS
pid Process ID of a Java VM that was started with -Dcom.sun.management.jmxremote option on the same machine. See JMX Monitoring and Management for details at http://java.sun.com/j2se/1.5.0/docs/guide/management/agent.html. host:port Host name on which the Java VM is running and the port number through which the Java VM's JMX Connector is published. See JMX Monitoring and Management for details at http://java.sun.com/j2se/1.5.0/docs/guide/management/agent.html. DESCRIPTION
The jconsole command launches a graphical console tool that enables you to monitor and manage Java applications and virtual machines on a local or remote machine. NOTE- This tool is experimental and may not be available in future versions of the JDK. OPTIONS
-interval=n Set the update interval to n seconds (default is 4 seconds) -notile Do not tile windows initially (for two or more connections) -version Output version information abd exit. -help Output help message and exit. SEE ALSO
Monitoring and Management for Java Platform at http://java.sun.com/j2se/1.5.0/docs/guide/management/index.html 06 Feb 2004 jconsole(1)
All times are GMT -4. The time now is 09:22 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy