Skip to main content

This content has been archived and is no longer being updated. Links may not function; however, this content may be relevant to outdated versions of the product.

Support Article

ExtractRules.ksh error "Could not find mainclass .pub.PegaRULES"

SA-31222

Summary



Getting an error trying to run commandline BIX from a Linux shell script.

The BIX extract rule works when run the PRPC UI.


Error Messages

Error: Could not find or load main class com.pega.pegarules.pub.PegaRULES

Steps to Reproduce



Run the linux shell script.


Root Cause



Issue was due to missing a jar file in the classpath.

Resolution



The Java Classpath needs to contain a reference to the following JAR file:

<BIX_HOME>/lib/prbootstrap-api.jar


Published April 29, 2017 - Updated December 2, 2021

Was this useful?

0% found this useful

Have a question? Get answers now.

Visit the Collaboration Center to ask questions, engage in discussions, share ideas, and help others.

Did you find this content helpful?

Want to help us improve this content?

We'd prefer it if you saw us at our best.

Pega Community has detected you are using a browser which may prevent you from experiencing the site as intended. To improve your experience, please update your browser.

Close Deprecation Notice
Contact us