Re: Swing help
Michael Koch <[email protected]> Mon, 19 Sep 2005 05:39:56 +0200
| Newsgroups | gmane.comp.java.vm.sablevm.general |
|---|---|
| Message-ID | <[email protected]> |
On Sun, Sep 18, 2005 at 12:33:01PM -0700, Raoul Duke wrote: > Hello, > > Many thanks for all your efforts with SableVM, it is very exciting. I > am trying to use it under Ubuntu Debian (Gnu/)Linux on an old G4 Mac > (so that's PPC). It built and installed, and it runs! To get things > working with my particular setup, I had to also ln -s things like > tools.jar (from the IBM Java release). > > I am currently getting a Swing-related error: "value EXIT_ON_CLOSE is > not a member of javax.swing.JFrame". I do not get that error when > using the IBM version of Java, and that value does exist in JFrame. > That is the only error I get, so it doesn't appear to be something as > simple as e.g.: the VM not finding anything about Swing at all. > > (I attempted to find answers through the FAQ and GMANE etc. > information, but have not found a relevant answer - but it looks like > there are several hits for 'swing' so perhaps if there is a succinct > answer, the FAQ could be updated?) > > many thanks for any tips/tricks/pointers! > sincerely. SableVM uses currently a very outdated snapshot of GNU classpath. Newer GNU classpath fixes this since a longer time. Unfortunately newer versions of GNU classpath need changes inside SableVM as the VM interface of GNU classpath changed. Your current options are to wait until someone fixed this, step up and fix it yourself and provide the fixes as patches to SableVM or to use another free runtime until this is fixed. Cheers, Michael -- Escape the Java Trap with GNU Classpath! http://www.gnu.org/philosophy/java-trap.html Join the community at http://planet.classpath.org/