i'm having trouble getting java to call jython. 
 
1.  why am i getting a depreciation warning when compiling jython.
2.  why does the import fail when compiling the java code?
3.  if i don't want a bean do i still need the @sig? 
 
thanks,
 
bryan
 
--- Hello.py ---
 
import java
 
class Hello(java.lang.Object):        
    def say(self, x):
        '@sig public void say(String x)'
        print 'Hello', x
 
--- compile Hello.py ---
 
jythonc --core --deep --jar hello.jar Hello.py

processing Hello
 
Required packages:
  java.lang
 
Creating adapters:
 
Creating .java files:
  Hello module
    Hello extends java.lang.Object
 
Compiling .java to .class...
Compiling with args: ['/java/java14/bin/javac.exe', '-classpath', 'C:\\python\\j
ython\\jython.jar;;.\\jpywork;;C:\\python\\jython\\Tools\\jythonc;C:\\python\\jy
thon\\hello\\.;C:\\python\\jython\\Lib;C:\\python\\jython', '.\\jpywork\\Hello.java']
0  Note: .\jpywork\Hello.java uses or overrides a deprecated API.
Note: Recompile with -deprecation for details.
 
Building archive: hello.jar
Tracking java dependencies:
 
 
 
--- Hello_Test.java ---
 
import Hello;
 
public class Hello_Test {
 
    public static void main(String[] args) {
        Hello hello = new Hello();
        hello.say("Test");
    }
}
 
--- compile Hello_Test.java ---
 
javac -classpath hello.jar Hello_Test.java

Hello_Test.java:1: '.' expected
import Hello;
            ^
1 error