Results 1 to 2 of 2
  1. #1
    swati.jyoti is offline Member
    Join Date
    Mar 2009
    Posts
    42
    Rep Power
    0

    Question Including Perl in java

    I need to run perl from java..
    My commands are module load msjava/sunjdk/1.5.0_01
    and ms/dev/abc/PROJ/abcCli/1.0/bin/xyz complete request 1264467

    How do i run this commands from java.
    Also do i need to import something?
    and create the connection using host or port?
    pls give the complete structure..

  2. #2
    Norm's Avatar
    Norm is online now Moderator
    Join Date
    Jun 2008
    Location
    Eastern Florida
    Posts
    17,882
    Rep Power
    25

    Default

    Executing perl would be like executing any other OS command from java. See the Runtime class and its exec() method

Similar Threads

  1. Replies: 1
    Last Post: 01-07-2011, 08:20 AM
  2. Perl in Java!
    By hakan123 in forum New To Java
    Replies: 5
    Last Post: 12-11-2009, 08:05 PM
  3. [B] How to call Perl script from Java [/B]
    By JavaEmpires in forum Advanced Java
    Replies: 7
    Last Post: 12-19-2008, 04:10 PM
  4. run perl script from java
    By maheshmhs in forum New To Java
    Replies: 0
    Last Post: 12-19-2008, 01:40 PM
  5. Use Perl function with java
    By lenny in forum Advanced Java
    Replies: 1
    Last Post: 08-07-2007, 07:25 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •