Author jeff.allen
Recipients jeff.allen, rkanumola
Date 2017-07-20.07:39:49
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
Thanks for upgrading! There's a 2.7.1 out now, which you should also consider.

As the message says, sys.prefix is null and (probably as a consequence) sys.path does not contain the library. The question is why, but there's not enough here to answer that. When I run jython at the prompt, the values I see are:

> jython
Jython 2.7.0 (default:9987c746f838, Apr 29 2015, 02:25:11)
[Java HotSpot(TM) 64-Bit Server VM (Oracle Corporation)] on java1.8.0_131
Type "help", "copyright", "credits" or "license" for more information.
>>> import sys
>>> sys.prefix
>>> sys.path
['', 'C:\\Jython\\2.7.0\\Lib', '__classpath__', '__pyclasspath__/', 'C:\\Jython\\2.7.0\\Lib\\site-packages']

Possibly something in the environment (e.g. JYTHON_HOME) is pointing Jython at an invalid location, where it does not find its JAR file, etc., and therefore won't believe is its home location.

When you say "confluence macro", are we talking about: ? I didn't know you could do that! It should be possible to investigate the environment seen by Jython from there, and compare it with what you get at the user prompt, and what I show above as normal.

Tell us how you get on.
Date User Action Args
2017-07-20 07:39:50jeff.allensetmessageid: <>
2017-07-20 07:39:50jeff.allensetrecipients: + jeff.allen, rkanumola
2017-07-20 07:39:50jeff.allenlinkissue2610 messages
2017-07-20 07:39:49jeff.allencreate