• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Do I have to use JNI to invoke Korn shell or perl script from java ?

 
Steve Yu
Ranch Hand
Posts: 60
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Do I have to use JNI to invoke Korn shell or perl script from java ?
is there any easy way to do that ?
 
Henry Wong
author
Marshal
Pie
Posts: 21007
77
C++ Chrome Eclipse IDE Firefox Browser Java jQuery Linux VI Editor Windows
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
How about using java.lang.Runtime.exec()?

Henry
 
Jean-Francois Briere
Ranch Hand
Posts: 101
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
From Henry Wong:

How about using java.lang.Runtime.exec()?

... and to use Runtime.exec() appropriately, you must first read this article:
When Runtime.exec() won't
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic