using javax.script in OSGi

I am trying to use javax.script under OSGi. Inside the OSGi bundle I have my
script implementation (python, Ruby, ...) with the jar file in the bundle'sclasspath. But
when I install the bundle, the
new ScriptEngineManager().getEngineByExtension("py")
returns null. For python, I tried using
            PythonInterpreter interp = new PythonInterpreter();
inside the bundle activator
How do I get the script recognized?

Who is Participating?
lfrohmanAuthor Commented:
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.