public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
From: "sbodomerle at gmail dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug swing/21635] GLib-GObject-WARNING with jython
Date: Sun, 21 Aug 2005 14:53:00 -0000	[thread overview]
Message-ID: <20050821113006.28653.qmail@sourceware.org> (raw)
In-Reply-To: <20050517214340.21635.sbodomerle@gmail.com>


------- Additional Comments From sbodomerle at gmail dot com  2005-08-21 11:30 -------
(In reply to comment #1) 
> I tried to run this under JamVM+Classpath: 
>  
> $ jamvm -Dpython.home="/home/fitzsim/jython-2.1" -classpath 
> "/home/fitzsim/jython-2.1/jython.jar" "org.python.util.jython" 
> Jython 2.1 on java1.4.2 (JIT: ) 
> >>> import javax.swing as swing 
> Traceback (innermost last): 
>   File "<console>", line 1, in ? 
> ImportError: no module named javax 
> >>>  
>  
> Any idea what I'm missing? 
>  
 Seems that jython cant make its cache directory - try adding something like 
this:   
-Dpython.cachedir="/tmp" 
Seems that this is not enough on my ubuntu machine and i have to add rt.jar to 
the classpath. I managed to fire up jamvm with the following: 
 
jamvm -Dpython.cachedir="/tmp" -Dpython.home="/usr/lib/python2.1" -classpath 
"/usr/share/java/jython.jar:/usr/lib/jvm/java-gcj/jre/lib/rt.jar" 
"org.python.util.jython" 
Jython 2.1 on java1.4.2 (JIT: ) 
>>> import javax.swing 
>>> 
 
 

-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=21635


  parent reply	other threads:[~2005-08-21 11:30 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-05-17 21:43 [Bug SWING/21635] New: " sbodomerle at gmail dot com
2005-08-21  5:02 ` [Bug swing/21635] " fitzsim at redhat dot com
2005-08-21 14:53 ` sbodomerle at gmail dot com [this message]
2005-08-21 15:36 ` fitzsim at redhat dot com
     [not found] <bug-21635-10654@http.gcc.gnu.org/bugzilla/>
2007-10-09  9:03 ` gnu_andrew at member dot fsf dot org

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20050821113006.28653.qmail@sourceware.org \
    --to=gcc-bugzilla@gcc.gnu.org \
    --cc=gcc-bugs@gcc.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).