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

  • SEARCH
  • Home
  • 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

Related Questions

I have existing java code and need to create Design Document based on that.
I have an existing system built in Java we currently expand that by adding
I have a typical Flex-based application that was written to use a Java/Hibernate/MySQL backend.
I have a web application based on Java/Spring that uses Oracle 11g. Currently, the
I have to extend an existing program (Java-based, but this shouldn't count). This program
Is there an existing List implementation in Java that maintains order based on provided
I have existing code that uses CMNewProfileSearch to find then iterate over the color
I'm working on a project where the client wants to have existing pages dynamically
I have an existing Node project sitting in my Dropbox, and when I open
I've recently started using Gradle and replacing my existing Maven-based projects. I have had

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.