using Classes developed in Eclipse

SOLVED! It was a question of telling Eclipse to specifically export the package mylib.

best regards

Christian Pieler

The import statement at the

The import statement at the top is where I think your problem is. You will need to give your code a namespace then import the package with your class. For example:
Java code

package mylib; //declare the namespace for myClass
public class MyClass{
       
        private static String an = "!";
       
        public static String clean(String s){
                return s + an;
        }                                              
}

Screen-scraper script:
import mylib.*; //import all the classes in the mylib namespace

String s = "hahahah";

s = MyClass.clean(s);
session.log (s);

Did you restart

Did you restart screen-scraper after you saved the jar to lib/ext?