Skip to main content



      Home
Home » Newcomers » Newcomers » Calling Perl Script From Java(Any Eclipse Specific Configuration Changes to Call Perl Script From Java)
Calling Perl Script From Java [message #1733794] Tue, 31 May 2016 20:13 Go to next message
Eclipse UserFriend
I have a simple Perl script that just prints out the fact that it has been invoked/executed. This Perl script file (Test.pl) exists in a previously existing Java application package (Utils) that also contains Java class files. I am attempting to execute the Perl Script from a Java class in a different package (Display) within the same Java project. I have tried using the Java Process class Runtime.getRuntime().exec() method and Java ProcessBuilder class to execute this Perl script to no success. Was wondering if there are any specific Eclipse configuration steps required to make this work? I have added the full pathname of the Perl script file to the manifest file classpath line of the Display package. When I export/generate a Jar file using the class files in the Display and Utils package and the Display Package manifest file no build errors are generated,
Re: Calling Perl Script From Java [message #1733800 is a reply to message #1733794] Wed, 01 June 2016 00:40 Go to previous message
Eclipse UserFriend
On 05/31/2016 06:13 PM, Russell West wrote:
> I have a simple Perl script that just prints out the fact that it has
> been invoked/executed. This Perl script file (Test.pl) exists in a
> previously existing Java application package (Utils) that also contains
> Java class files. I am attempting to execute the Perl Script from a
> Java class in a different package (Display) within the same Java
> project. I have tried using the Java Process class
> Runtime.getRuntime().exec() method and Java ProcessBuilder class to
> execute this Perl script to no success. Was wondering if there are any
> specific Eclipse configuration steps required to make this work? I have
> added the full pathname of the Perl script file to the manifest file
> classpath line of the Display package. When I export/generate a Jar
> file using the class files in the Display and Utils package and the
> Display Package manifest file no build errors are generated,

This isn't a question for this forum as it's simply one for Java.
Previous Topic:selective project creation from existing tree
Next Topic:Caused by: java.lang.NoClassDefFoundError: org/antlr/runtime/CharStream
Goto Forum:
  


Current Time: Wed Jul 23 15:46:29 EDT 2025

Powered by FUDForum. Page generated in 0.08389 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top