Red Hat axp-list: Linux on Alpha (1995-2022)
 help / color / mirror / Atom feed
* Kaffe 0.8.0 w/ Biss AWT - can't seem to get any AWT support?
@ 1997-02-11  7:10 John E. Ray
  0 siblings, 0 replies; 12+ messages in thread
From: John E. Ray @ 1997-02-11  7:10 UTC (permalink / raw)


Well, with the quickly provided patches for Kaffe, I've gotten it
installed on my alpha.  I also installed the biss awt , but haven't
managed to get anything that uses the AWT to work?  Is the biss stuff
a drop-in replacement for AWT?  That was my assumption.  I've been
working backwards from the most complicated Java app I could find
(Corel Office for Windows) to a simple applet that should pretty much
do a "Hello World" - type thing.

Is there something I'm doing wrong?  I've followed the kaffe 0.8.0 
directions exactly, and have no trouble compiling the AWT stuff, or
running non-AWT apps... 

Thanks,
John

--
To unsubscribe: send e-mail to axp-list-request@redhat.com with
'unsubscribe' as the subject.  Do not send it to axp-list@redhat.com

^ permalink raw reply	[flat|nested] 12+ messages in thread
* Re: Kaffe 0.8.0 w/ Biss AWT - can't seem to get any AWT support?
@ 1997-02-11 19:15 John Ray
  1997-02-11 18:57 ` Richard Henderson
  0 siblings, 1 reply; 12+ messages in thread
From: John Ray @ 1997-02-11 19:15 UTC (permalink / raw)


>I have no idea.  What sort of problems are you seeing, anyway?
>
>I looked at the BISS bits this morning.  With the following patch, I was
>able to run all the test programs that come with their regular (as
>opposed to kaffe) distribution.  It was dreadfully slow, but it did work.
>
>I'll see about getting some of Sun's JDK tests and running those this
>evening.

I added the patch and recompiled...

I downloaded the BISS public 0.86 package, but haven't managed to get any
of their
tests to run?  I've skipped their steps on installing the awt kernel, as
that appears to
be what the kaffe-0.8.0 w/ biss distribution did... but I'm failing to run
any of the
tests that come w/ it.

in /home/jray/biss/src/biss/awt/kernel/test  (this appears to be the test
suite I want to run?)

[jray@meine test]$ kaffe T0
java.lang.IllegalMonitorStateException

[jray@meine test]$ kaffe T9
java.lang.ArrayIndexOutOfBoundsException
        at T9.main(76)

(and various other errors for the remaining tests)

I'm beginning to feel as though I'm doing something very stupid?

I've got this little helloworld-type thing:

>import java.awt.Graphics;
>import java.awt.Font;
>
>public class test extends java.applet.Applet {
>
>        Font f = new Font("TimesRoman",Font.BOLD,36);
>        public void paint(Graphics g) {
>                g.setFont(f);
>                g.drawString("Testing",5,50);
>        }
>}

I can compile it, just fine.

However, I can't even come close to running it.  I assumed that the appletviewer
script would want an html file like:

<APPLET CODE="test.class" WIDTH=200 HEIGHT=50>

However, no matter what I give it, I get:

java.io.IOException: Bad file descriptor

So, as it stands now, I'm can't seem to get anything using the AWT to work...and
I can't seem to feed the appletviewer script anything that it wants to even
attempt
to look at.

Thanks,
John

----------------------------------------------------------------------------
--------
John E. Ray,  Systems Developer/Engineer  |  Phone: 2-4338    Email:
ray.30@osu.edu
Communications and Technology             |
<http://bigmac.ag.ohio-state.edu/~jray>
"Luck is not a factor."                   |  NeXTMail: jray@ag.ohio-state.edu
----------------------------------------------------------------------------
--------

--
To unsubscribe: send e-mail to axp-list-request@redhat.com with
'unsubscribe' as the subject.  Do not send it to axp-list@redhat.com

^ permalink raw reply	[flat|nested] 12+ messages in thread
[parent not found: <9702111956.AA22819@halfpint.rtp.avanticorp.com>]
* Re: Kaffe 0.8.0 w/ Biss AWT - can't seem to get any AWT support?
@ 1997-02-11 21:52 John Ray
  1997-02-12 12:39 ` Jim Nance
  0 siblings, 1 reply; 12+ messages in thread
From: John Ray @ 1997-02-11 21:52 UTC (permalink / raw)


>> I appreciate Kaffe/BISS, but I suspect for the moment, they'll lag behind
>> the offical JDK by a few months. If there isn't a Linux/Alpha JDK, is the
>> Digital Unix emulation complete enough to run the DU JDK under Linux?
>

I've attempted to run both the DU 4.0 JDK and OSF 3.2 JDK and both die
quite nicely.  I've given them the libraries they want, and they both seem
to execute fine... but when they start to actually do something, there
is some sort of fault, and they crash.  I gave up on this awhile ago, so I
don't quite remember exactly what it does.

I believe that the DU JDK stuff is the first thing that hasn't run beautifully
for me under alpha linux.

--- John

----------------------------------------------------------------------------
--------
John E. Ray,  Systems Developer/Engineer  |  Phone: 2-4338    Email:
ray.30@osu.edu
Communications and Technology             |
<http://bigmac.ag.ohio-state.edu/~jray>
"Luck is not a factor."                   |  NeXTMail: jray@ag.ohio-state.edu
----------------------------------------------------------------------------
--------

--
To unsubscribe: send e-mail to axp-list-request@redhat.com with
'unsubscribe' as the subject.  Do not send it to axp-list@redhat.com

^ permalink raw reply	[flat|nested] 12+ messages in thread

end of thread, other threads:[~1997-02-12 14:33 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <9702110710.AA28926@bigmac.ag.ohio-state.edu>
1997-02-11  4:13 ` Still wondering about my ppp connection Aaron S. Carmichael
1997-02-11 15:24 ` Kaffe 0.8.0 w/ Biss AWT - can't seem to get any AWT support? Richard Henderson
1997-02-11 18:01   ` 
1997-02-11 19:12     ` Richard Henderson
1997-02-11 19:56     ` Jim Nance
1997-02-11  7:10 John E. Ray
  -- strict thread matches above, loose matches on Subject: below --
1997-02-11 19:15 John Ray
1997-02-11 18:57 ` Richard Henderson
     [not found] <9702111956.AA22819@halfpint.rtp.avanticorp.com>
1997-02-11 21:34 ` David Rudder
1997-02-11 21:52 John Ray
1997-02-12 12:39 ` Jim Nance
1997-02-12 14:33   ` John Ray

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox