For this problem, you may want to look at the tracker for JNumeric, apparently a quick fix for the 2.2beta was determined. This might be applicable to your situation:

Unfortunately, JNumeric to my knowledge is no longer supported. The last email on its mailing list was in 2004, on which someone said they "Have $ to support" :), but that still wasn't enough.

But that's not the end of it. Along with a number of other people, I'm personally planning on revisiting numerical Jython issues, around a port of NumPy -- let's call it NumJy. In particular, we would like to address how we can effectively use many cores concurrently and work with extremely large data sets (so from the start, support for NetCDF, DAP, and HDF). It simply makes sense to take the premier high-level programming language for scientific computing and support it on the Java platform.

Kickoff for NumJy work will be at PyCon, so if you're interested, please catch us there!

- Jim

On Mon, Feb 9, 2009 at 9:34 AM, Tom Whittaker <> wrote:
(Sorry if this has been covered before -- I searched, but found no
other comments/questions.)  We just moved an application to Jython 2.2
....and found that JNumeric is quite broken.  One cannot even say
"from Numeric import *" without getting an Exception.  Any ideas and
help appreciated.

Here's the Excpetion (abreviated):

>>> from Numeric import *
Traceback (innermost last):
 File "<console>", line 1, in ?
       at JNumeric.PyMultiarray.<init>(
java.lang.NoSuchMethodError: java.lang.NoSuchMethodError:

The issues appear to be mostly (if not all) in the PyMultiarray class,
referencing signatures that have changed since 2.1.  Here's the output
from an attempt to recompile the package:

C:\Temp\jnumeric\src\>javac -cp \jython2.2b2\jython.jar;. *.java JNumeric\*.java JNumeric.PyMultiarray is not abstract and does
not override abstract method pyget(int) in org.python.core.PySequence
public class PyMultiarray extends PySequence {
      ^ cannot find symbol
symbol  : constructor PySequence(org.python.core.PyClass)
location: class org.python.core.PySequence
       ^ cannot find symbol
symbol  : method getValue()
location: class org.python.core.PyObject
       return new int []
                                 ^ cannot find symbol
symbol  : method getValue()
location: class org.python.core.PyObject
           intArray[i] = o.__getitem__(i).__int__().getValue();
                                      ^ list has protected access in org.python.core.PySequenceL
       PyObject indices[] = (pyIndices instanceof PyTuple) ?
((PyTuple)pyIndices).list : new PyObject[] {pyIndices};
                                                             ^ incompatible types
found   : java.lang.Object
required: org.python.core.PyObject[]
       PyObject indices[] = (pyIndices instanceof PyTuple) ?
((PyTuple)pyIndices).list : new PyObject[] {pyIndices};

Tom Whittaker
University of Wisconsin-Madison
Space Science & Engineering Center (SSEC)
Cooperative Institute for Meteorological Satellite Studies (CIMSS)
1225 W. Dayton Street
Madison, WI  53706  USA
ph: +1 608 262 2759

Create and Deploy Rich Internet Apps outside the browser with Adobe(R)AIR(TM)
software. With Adobe AIR, Ajax developers can use existing skills and code to
build responsive, highly engaging applications that combine the power of local
resources and data with the reach of the web. Download the Adobe AIR SDK and
Ajax docs to start building applications today-
Jython-users mailing list

Jim Baker