among other things, I would like to use swing in jython on my macosx machine, just the same as I can use it on my GNU/Linux ppc:
-- the working model: [EMAIL PROTECTED]:~$ uname -a Linux kruiskruid.demon.nl 2.6.11-powerpc #1 Fri May 13 15:47:19 CEST 2005 ppc GNU/Linux [EMAIL PROTECTED]:~$ which jython /usr/bin/jython [EMAIL PROTECTED]:~$ jython Jython 2.1 on java1.3.1 (JIT: NONE) Type "copyright", "credits" or "license" for more information. >>> import javax.swing as swing >>> swing.JFrame <jclass javax.swing.JFrame at -316347399> >>> ^D -- the problem to solve: angelico:~ mario$ uname -a Darwin angelico 8.7.0 Darwin Kernel Version 8.7.0: Fri May 26 15:20:53 PDT 2006; root:xnu-792.6.76.obj~1/RELEASE_PPC Power Macintosh powerpc PowerBook6,7 Darwin angelico:~ mario$ which jython angelico:~ mario$ jython Jython 2.2a1 on java1.5.0_06 (JIT: null) >>> import javax.swing as swing >>> swing.JFrame Traceback (innermost last): File "<console>", line 1, in ? java.lang.UnsatisfiedLinkError: /System/Library/Frameworks/JavaVM.framework/Versions/1.5.0/Libraries/libawt.jnilib: at java.lang.ClassLoader$NativeLibrary.load(Native Method) at java.lang.ClassLoader.loadLibrary0(ClassLoader.java:1751) at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1668) at java.lang.Runtime.loadLibrary0(Runtime.java:822) at java.lang.System.loadLibrary(System.java:992) at sun.security.action.LoadLibraryAction.run(LoadLibraryAction.java:50) at java.security.AccessController.doPrivileged(Native Method) at sun.awt.NativeLibLoader.loadLibraries(NativeLibLoader.java:38) at sun.awt.DebugHelper.<clinit>(DebugHelper.java:29) at java.awt.Component.<clinit>(Component.java:545) at java.lang.Class.forName0(Native Method) at java.lang.Class.forName(Class.java:164) at org.python.core.SyspathJavaLoader.loadClass(Unknown Source) at java.lang.ClassLoader.loadClass(ClassLoader.java:251) at org.python.core.Py.findClassEx(Unknown Source) at org.python.core.SysPackageManager.findClass(Unknown Source) at org.python.core.PackageManager.findClass(Unknown Source) at org.python.core.SysPackageManager.findClass(Unknown Source) at org.python.core.PyJavaPackage.__findattr__(Unknown Source) at org.python.core.PyObject.__getattr__(Unknown Source) at org.python.pycode._pyx3.f$0(<console>:1) at org.python.pycode._pyx3.call_function(<console>) at org.python.core.PyTableCode.call(Unknown Source) at org.python.core.PyCode.call(Unknown Source) at org.python.core.Py.runCode(Unknown Source) at org.python.core.Py.exec(Unknown Source) at org.python.util.PythonInterpreter.exec(Unknown Source) at org.python.util.InteractiveInterpreter.runcode(Unknown Source) at org.python.util.InteractiveInterpreter.runsource(Unknown Source) at org.python.util.InteractiveInterpreter.runsource(Unknown Source) at org.python.util.InteractiveConsole.push(Unknown Source) at org.python.util.InteractiveConsole.interact(Unknown Source) at org.python.util.jython.main(Unknown Source) java.lang.UnsatisfiedLinkError: java.lang.UnsatisfiedLinkError: /System/Library/Frameworks/JavaVM.framework/Versions/1.5.0/Libraries/libawt.jnilib: >>> ^D angelico:~ mario$ ls -l /System/Library/Frameworks/JavaVM.framework/Versions/1.5.0/Libraries/libawt.jnilib -rwxr-xr-x 1 root wheel 1869644 Mar 22 2006 /System/Library/Frameworks/JavaVM.framework/Versions/1.5.0/Libraries/libawt.jnilib angelico:~ mario$ ls -l /System/Library/Frameworks/JavaVM.framework/Versions total 20 lrwxr-xr-x 1 root wheel 5 Jul 23 19:40 1.3 -> 1.3.1 drwxr-xr-x 9 root wheel 306 Sep 23 02:35 1.3.1 lrwxr-xr-x 1 root wheel 5 Jul 1 15:47 1.4 -> 1.4.2 drwxr-xr-x 9 root wheel 306 Sep 20 00:19 1.4.2 lrwxr-xr-x 1 root wheel 5 Jul 23 19:40 1.5 -> 1.5.0 drwxr-xr-x 9 root wheel 306 Sep 23 02:35 1.5.0 drwxr-xr-x 7 root wheel 238 Sep 23 02:35 A lrwxr-xr-x 1 root wheel 1 Jul 23 19:40 Current -> A lrwxr-xr-x 1 root wheel 5 Jul 23 19:40 CurrentJDK -> 1.5.0 angelico:~ mario$ any hints? ... I mean, other than "remove MacOSX and install Debian"? thanks a lot! Mario -- A Smith and Wesson beats four aces. ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Fink-users mailing list Fink-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/fink-users