This is probably a really soppy question but I'm very very very stuck...

I'm trying to run a python script from a java GUI.  I have had to use jnios-1.7 to fix a problem I had with, but now I'm getting:

I tried to compile jnios-1.7/*.cpp, but it is looking for io.h, does io.h even exist on UNIX??

Is there a precompiled unix version of that I can download??

I'm going round in circles here, ANY tips welcome!!!


Compiling jnios-1.7/*.cpp
sharona@zmdhm011:/u_area/9/sharona/jython/jnios-1.7 > gcc -c -I/usr/include -I/opt/jdk/include -I /opt/jdk/include/linux -I. posix.cpp

In file included from posixmodule.h:49,
                 from posix.cpp:19:
config.h:35: io.h: No such file or directory
In file included from posix.cpp:19:
posixmodule.h:200: sys/utime.h: No such file or directory
sharona@zmdhm011:/u_area/9/sharona/jython/jnios-1.7 >

Calling a python script from a java file
sharona@zmd:/u_area/9/sharona/jython > java -cp "jnios-1.7/jnios.jar:jython.jar:." PrepareTest1
pInt.get : null
pInt.get : null
Traceback (innermost last):
  File ".//", line 11, in ?
  File "/u_area/9/sharona/jython
/./Lib/", line 76, in ?
java.lang.UnsatisfiedLinkError: no posix in java.library.path
        at java.lang.ClassLoader.loadLibrary(
        at java.lang.Runtime.loadLibrary0(
        at java.lang.System.loadLibrary(
        at jnios.posix.<clinit>(
        at jnios.os.initModule(
        at org.python.core.PyJavaClass.initialize(
        at org.python.core.PyJavaClass.lookupGivingClass(
        at org.python.core.PyClass.lookup(
        at org.python.core.PyJavaClass.__findattr__(
        at org.python.core.PyObject.__getattr__(
        at tempfile$py.f$0(
        at tempfile$py.call_function(
        at org.python.core.imp.createFromCode(
        at org.python.core.imp.createFromPyClass(
        at org.python.core.imp.loadFromPath(
        at org.python.core.imp.loadFromPath(
        at org.python.core.imp.load(
        at org.python.core.imp.import_next(
        at org.python.core.imp.import_name(
        at org.python.core.imp.importName(
        at org.python.core.ImportFunction.load(
        at org.python.core.ImportFunction.__call__(
        at org.python.core.PyObject.__call__(
        at org.python.core.__builtin__.__import__(
        at org.python.core.imp.importOne(
        at org.python.pycode._pyx0.f$0(
        at org.python.pycode._pyx0.call_function(
        at org.python.core.Py.runCode(
        at org.python.core.__builtin__.execfile_flags(
        at org.python.util.PythonInterpreter.execfile(
        at PrepareTest1.<init>(
        at PrepareTest1.main(

java.lang.UnsatisfiedLinkError: java.lang.UnsatisfiedLinkError: no posix in java.library.path