Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 505035
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 13, 20262026-05-13T06:33:26+00:00 2026-05-13T06:33:26+00:00

We have an existing java-based heavyweight project that needed an interactive script interpreter. After

  • 0

We have an existing java-based heavyweight project that needed an interactive script interpreter. After a fair amount of research we eventually ended up with Jython, one of the reasons being that the customer’s group already has a large amount of python expertise, and it’s an easier sell to give them an api in a language close to one they already know.

Alright, well at first this was fine, but there turned out to be a problem- there are deployment environments which are locked down for ordinary, (ie: non-admin) users. Such ordinary users have no permission to write anywhere on the local drives of their machines. Additionally, their $Home (on windows) is usually over a high-latency network (often 100ms+), and to top it off, the size of the writeable folder itself is usually below 10mb. Yes, that’s megabytes.

Given these restrictions, it looks like Jython may not fit the bill. We need to be able to run without access to a low-latency disk cache, even if that means a small speed penalty. After a search through Google and the forums, there doesn’t appear to be a way in Jython to accomplish this.

There are a couple obvious workarounds:

  • Get the customer to open up their security. Unfortunately, it’s a large bureaucracy and trying to justify changing an enterprise-wide security policy to provide scripting for one product isn’t really an option.
  • Set up a ramdisk and put the script interpreter’s cache there. The problem with this approach on windows is that it involves a level of interference with the OS that will remain whether our application is running or not. (At least as I understand the techniques for doing so)

So here’s my plea – does anyone know of a java scripting interpreter that has an interactive mode and does not necessarily require a disk cache? It does not necessarily need to use python syntax, if there’s a way to get others, (ie: javaLUA, Groovy, etc) to do this, I’d be open to it.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-13T06:33:27+00:00Added an answer on May 13, 2026 at 6:33 am

    You may just set

    python.cachedir.skip=true
    

    You’ll have to check your imports, though…

    http://wiki.python.org/jython/PackageScanning

    http://ghattus.com/2009/09/no-wlst-cachedir-with-python-cachedir-skip.html

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Ask A Question

Stats

  • Questions 300k
  • Answers 300k
  • Best Answers 0
  • User 1
  • Popular
  • Answers
  • Editorial Team

    How to approach applying for a job at a company ...

    • 7 Answers
  • Editorial Team

    What is a programmer’s life like?

    • 5 Answers
  • Editorial Team

    How to handle personal stress caused by utterly incompetent and ...

    • 5 Answers
  • Editorial Team
    Editorial Team added an answer I'm not quite sure I understood your question, but if… May 13, 2026 at 7:58 pm
  • Editorial Team
    Editorial Team added an answer Go to Tools -> Options -> Text Editor -> (either… May 13, 2026 at 7:58 pm
  • Editorial Team
    Editorial Team added an answer DragAndDrop: DragEnterEvent is to be overridden (in code) on a… May 13, 2026 at 7:58 pm

Related Questions

On a Java portal you can have portlets that include data provided by other
In the lab I work in, we use Mozilla 1.7 for Sun Java™ Desktop
I'm working on an application which stores data in tables, similar to an RDBMS.
We are beginning to go down the path of mobile browser support for an
Our company has an intranet with 30,000+ web pages and 160+ web applications. This

Trending Tags

analytics british company computer developers django employee employer english facebook french google interview javascript language life php programmer programs salary

Top Members

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.