The UNIX and Linux Forums  
Hello and Welcome from United States to the UNIX and Linux Forums! Thank You for Visiting and Joining Our Global Community.

Go Back   The UNIX and Linux Forums > Top Forums > Shell Programming and Scripting
.
google unix.com



Shell Programming and Scripting Post questions about KSH, CSH, SH, BASH, PERL, PHP, SED, AWK and OTHER shell scripts and shell scripting languages here.

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
embeding awk script in perl program jaganadh Shell Programming and Scripting 5 10-29-2007 09:26 AM
Invoke perl program from Ksh mahalakshmi Shell Programming and Scripting 10 12-19-2006 08:46 AM
invoke same script twice mpang_ Shell Programming and Scripting 2 04-05-2006 06:14 AM
Invoke java program in script mpang_ Shell Programming and Scripting 0 03-27-2006 10:05 PM
Invoke java program in different processc d liux99 UNIX for Advanced & Expert Users 1 08-18-2005 12:47 AM

Closed Thread
English Japanese Spanish French German Portuguese Italian Dutch Swedish Russian Norwegian Hungarian Hebrew Danish Bulgarian Greek Powered by Powered by Google
 
LinkBack Thread Tools Search this Thread Rate Thread Display Modes
  #1 (permalink)  
Old 02-20-2008
grajesh_955 grajesh_955 is offline
Registered User
  
 

Join Date: Feb 2008
Posts: 18
How to invoke a perl script from java program

Hi:

I need to invoke a perl script from a java applet program in UNIX operating system.. Can you please suggest me!!!
  #2 (permalink)  
Old 02-20-2008
manikantants manikantants is offline
Registered User
  
 

Join Date: Feb 2008
Posts: 131
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.
  #3 (permalink)  
Old 02-20-2008
KevinADC KevinADC is offline Forum Advisor  
Registered User
  
 

Join Date: Jan 2008
Posts: 731
Ask on a java forum?
  #4 (permalink)  
Old 02-20-2008
grajesh_955 grajesh_955 is offline
Registered User
  
 

Join Date: Feb 2008
Posts: 18
Thankx dude..
  #5 (permalink)  
Old 02-21-2008
drl's Avatar
drl drl is offline Forum Advisor  
Registered User
  
 

Join Date: Apr 2007
Location: Saint Paul, MN USA / BSD, CentOS, Debian, OS X, Solaris
Posts: 707
Hi.

The first item of 600+ K hits from Google run command from java produced the tutorial article Running external system commands in Java applications at Learn Java: Running external commands in Java applications

It included a sample java code which worked on my system (gcj-3.3), as did a modification to call a perl script ... cheers, drl
Sponsored Links
Closed Thread

Bookmarks

Tags
unix commands

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




All times are GMT -4. The time now is 05:02 PM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited. Language Translations Powered by .
vBCredits v1.4 Copyright ©2007 - 2008, PixelFX Studios
The UNIX and Linux Forums Content Copyright ©1993-2009. All Rights Reserved.Ad Management by RedTyger

Content Relevant URLs by vBSEO 3.2.0