Learn how to a build a cloud-first strategyRegister Now


using javax.script in OSGi

Posted on 2011-10-17
Medium Priority
Last Modified: 2012-05-12
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?

Question by:lfrohman
1 Comment

Accepted Solution

lfrohman earned 0 total points
ID: 36993793

Featured Post

Upgrade your Question Security!

Add Premium security features to your question to ensure its privacy or anonymity. Learn more about your ability to control Question Security today.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Go is an acronym of golang, is a programming language developed Google in 2007. Go is a new language that is mostly in the C family, with significant input from Pascal/Modula/Oberon family. Hence Go arisen as low-level language with fast compilation…
Introduction This article is the second of three articles that explain why and how the Experts Exchange QA Team does test automation for our web site. This article covers the basic installation and configuration of the test automation tools used by…
Viewers learn about the third conditional statement “else if” and use it in an example program. Then additional information about conditional statements is provided, covering the topic thoroughly. Viewers learn about the third conditional statement …
How to fix incompatible JVM issue while installing Eclipse While installing Eclipse in windows, got one error like above and unable to proceed with the installation. This video describes how to successfully install Eclipse. How to solve incompa…
Suggested Courses
Course of the Month21 days, 4 hours left to enroll

810 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question