Re: Where'd Java-Linux.org go?

1998-07-02 Thread Christopher Seawood

On Wed, 1 Jul 1998, Marcus Johnson wrote:

> Yes, yes, but will someone answer the question?  What is the history here?

I'm not sure why it matters but the brief and possibly incorrect story is
this: Some people thought that linux-jdk should have it's own domain.
They asked Karl, maintainer of Blackdown, to give up his "control" over
the site which he did.  After everything was setup to use java-linux.org,
it disappeared without warning and I haven't heard anything from those
guys since.  Karl resumed support of the linux-jdk site and here we are
now.

Now back to jdk issues.

- cls

"A *person* is smart. People are dumb, panicky, dangerous animals..."
   - K, MIB



Re: Bug in JDK1.1.6v2 and previous releases ?

1998-07-02 Thread Eitzenberger Thomas

Juergen Kreileder wrote:

> It crashes only with the 1.1.6v2 (libc5/glibc) vm that has motif
> statically linked in. If you have Motif/Lesstif try setting
> DYN_JAVA=1, if you don't have Motif you will have to use 1.1.6v1.
>
> My own build of 1.1.6v2 (with minor modifications by myself) doesn't
> crash.
>
> Jürgen
>
> --
> Juergen Kreileder, Universitaet Dortmund, Lehrstuhl Informatik V
> Baroper Strasse 301, D-44221 Dortmund, Germany
> Phone: ++49 231/755-5806, Fax: ++49 231/755-5802

  Did you test this on your machine ?
I tryed DYN_JAVA=1 but ended up the same way: It crashes.

mfg ET





Re: Where'd Java-Linux.org go?

1998-07-02 Thread Marcus Johnson

Thanks!


On Wed, 1 Jul 1998, Christopher Seawood wrote:

> On Wed, 1 Jul 1998, Marcus Johnson wrote:
> 
> > Yes, yes, but will someone answer the question?  What is the history here?
> 
> I'm not sure why it matters but the brief and possibly incorrect story is
> this: Some people thought that linux-jdk should have it's own domain.
> They asked Karl, maintainer of Blackdown, to give up his "control" over
> the site which he did.  After everything was setup to use java-linux.org,
> it disappeared without warning and I haven't heard anything from those
> guys since.  Karl resumed support of the linux-jdk site and here we are
> now.
> 
> Now back to jdk issues.
> 
> - cls
> 
> "A *person* is smart. People are dumb, panicky, dangerous animals..."
>- K, MIB
> 



Re: Where'd Java-Linux.org go?

1998-07-02 Thread Uncle George

As I rem, it was Karl that wanted blackdown to step down from hosting due to
influence from the real bandwidth owners of blackdown.

Marcus Johnson wrote:

> Thanks!
>
> On Wed, 1 Jul 1998, Christopher Seawood wrote:
>
> > On Wed, 1 Jul 1998, Marcus Johnson wrote:
> >
> > > Yes, yes, but will someone answer the question?  What is the history here?
> >
> > I'm not sure why it matters but the brief and possibly incorrect story is
> > this: Some people thought that linux-jdk should have it's own domain.
> > They asked Karl, maintainer of Blackdown, to give up his "control" over
> > the site which he did.  After everything was setup to use java-linux.org,
> > it disappeared without warning and I haven't heard anything from those
> > guys since.  Karl resumed support of the linux-jdk site and here we are
> > now.
> >
> > Now back to jdk issues.
> >
> > - cls
> >
> > "A *person* is smart. People are dumb, panicky, dangerous animals..."
> >- K, MIB
> >





Re: Bug in JDK1.1.6v2 and previous releases ?

1998-07-02 Thread Paul Ho

At 10:44 AM -0700 07/02/98, Eitzenberger Thomas wrote:
>Juergen Kreileder wrote:
>
>> It crashes only with the 1.1.6v2 (libc5/glibc) vm that has motif
>> statically linked in. If you have Motif/Lesstif try setting
>> DYN_JAVA=1, if you don't have Motif you will have to use 1.1.6v1.
>>
>> My own build of 1.1.6v2 (with minor modifications by myself) doesn't
>> crash.
>>
>> Jürgen
>>
>> --
>> Juergen Kreileder, Universitaet Dortmund, Lehrstuhl Informatik V
>> Baroper Strasse 301, D-44221 Dortmund, Germany
>> Phone: ++49 231/755-5806, Fax: ++49 231/755-5802
>
>  Did you test this on your machine ?
>I tryed DYN_JAVA=1 but ended up the same way: It crashes.

Doesn't crash with DYN_JAVA=1
Using lesstif-current. Not really current current, but current enough ;-)


Cheers,
Paul




Re: Bug in JDK1.1.6v2 and previous releases ?

1998-07-02 Thread Juergen Kreileder

Paul Ho <[EMAIL PROTECTED]> writes:

> At 10:44 AM -0700 07/02/98, Eitzenberger Thomas wrote:
> >Juergen Kreileder wrote:
> >
> >> It crashes only with the 1.1.6v2 (libc5/glibc) vm that has motif
> >> statically linked in. If you have Motif/Lesstif try setting
> >> DYN_JAVA=1, if you don't have Motif you will have to use 1.1.6v1.
> >>
> >> My own build of 1.1.6v2 (with minor modifications by myself) doesn't
> >> crash.
> >>
> >> Jürgen
> >>
> >> --
> >> Juergen Kreileder, Universitaet Dortmund, Lehrstuhl Informatik V
> >> Baroper Strasse 301, D-44221 Dortmund, Germany
> >> Phone: ++49 231/755-5806, Fax: ++49 231/755-5802
> >
> >  Did you test this on your machine ?
> >I tryed DYN_JAVA=1 but ended up the same way: It crashes.

Yes, it works with DYN_JAVA=1.
 
> Doesn't crash with DYN_JAVA=1
> Using lesstif-current. Not really current current, but current enough ;-)
lesstif-0.85.2 here.

Jürgen

-- 
Juergen Kreileder, Universitaet Dortmund, Lehrstuhl Informatik V
Baroper Strasse 301, D-44221 Dortmund, Germany
Phone: ++49 231/755-5806, Fax: ++49 231/755-5802



Re: 3.0 Tuner on Linux

1998-07-02 Thread Craig I. Johnson

Try using the trusted transmitters property 
I have in the past, but not lately, run the
tuner on AIX this way (it too does not have the security
code ported)
See if this helps.
Craig



--
Craig I. Johnson
e-mail: [EMAIL PROTECTED]



Re: 3.0 Tuner on Linux: success

1998-07-02 Thread Aron Hall

You'll actually want to modify $HOME/.marimba/prefs.txt.
/usr/local/castanet/lib/tuner/properties.txt is part of the tuner update channel
or "lib" channel and will be overwritten should you do a tuner update. Properties
set in the prefs.txt file override settings in lib/tuner/properties.txt.

Paul Phillips wrote:

> If you add this line:
>
> marimba.security.trusted.transmitters=255.255.255.0,207.126.123.0
>
> (that is the class C with products.marimba.com in it) to your properties
> file (which in my case is /usr/local/castanet/lib/tuner/properties.txt)
> then it can successfully run the channel manager and everything works
> fine.
>
> Thanks to Aron Hall at Marimba for the syntax.
>
> --
> Paul Phillips  | Now don't tell me that the world is moving at a fast
> Stickler   | pace and so is the playsite,i will not be able to digest
> <[EMAIL PROTECTED]> | such a comment from you guys.
> +1 206 447 1595| -- bug report received at PlaySite





Re: which JDK?

1998-07-02 Thread Nathan Meyers

Dustin Lang wrote:

> Hi,
>
> I feel really stupid for having to ask this, but is there a way to find
> out what flavour of Linux one has? (RH, Slackware, etc.)  I have no
> idea what is installed on my work machine.
>
> As soon as I find that out, my next question (probably a FAQ) is, what's
> the (newest && workingest) version?

There are no stupid questions, only small actors. (Or something like that
:-).

The official home of the Linux Jdk effort is at
http://www.blackdown.org/java-linux.html . Others may have packaged it into
RPMs or whatever (not that I've seen anything in the Redhat archives), but
blackdown is the source. They're currently distributing their v.2 of the
Jdk 1.1.6 implementation.

Nathan Meyers
[EMAIL PROTECTED]



1.1.6 bug?

1998-07-02 Thread David Crowley

I just grabbed the pop3 beans from:

   http://www.alphaWorks.ibm.com/Home/

I unzipped the file, ran the demo, and started getting a bunch of bogus
free messages.  Then I quit the application and the jvm dumped core.
It's extremely reproduceable.  I'm running Redhat 5.1 with all of the
latest updates and the 1.1.6v2 jdk.

Thanks for a great port, Steve.

david




RE: RMI on Linux

1998-07-02 Thread A . KLOS


--
| From: Nick /  mime, , , [EMAIL PROTECTED]
| To: java-linux /  mime, , , [EMAIL PROTECTED]
| Subject: RMI on Linux
| Date: Wednesday, July 01, 1998 4:52PM
|
| Mornin'(or whatever) all
|
| I'm currently playing around with RMI applications on Linux.  I get a very
| strange error in that when I try to run the application on a Linux I get the
| message 'Cannot find class xxx'.  Other classes in the same directory run
| fine, name alterations have been tried and failed.  The application was
| written and compiled under WinNT(I know, there's no need to tell me), but so
| were the working classes.  Any ideas?

Are you sure that the CLASSPATH includes your specific class directory *before*
you start rmiregistry? This is really nescessary.

Please let me know is this the solution.

Addy.


|
| Cheers, Nick
|
| 
| now the giraffe if you stand on a stool,
| but the hedgehog can hardly ever
|
| Nanny Ogg
| 
| 



Unidentified subject!

1998-07-02 Thread Anti Puusepp

-- [ From: Anti Puusepp * EMC.Ver #2.5.02 ] --

HELP
--



help: JDBC for Informix

1998-07-02 Thread Stefano Fratini

Hallo everybody,

I'm programming a Java application capable of sending queries to a
remote Informix database, via JDBC.

Does anyone know where to find JDBC net drivers (linux suitable) which
don't require a middleware server in order to reach an Informix
database?

Thanks in advance,

stf



Re: java.awt.Printjob

1998-07-02 Thread Paul Reavis

Reinhard Simon wrote:
> 
> I want to print a Canvas with a picture (gif) directly from a frame.
> So I use a Printjob, but it does not work on both of my linux-systems.
> After the frame Print Dialog, I get a frame "Print Error" with
> the message : Could not execute pring command (L_java.lang.String...)
> If I write the output to a file and pipe it into lpr it works, but it
> is no solution.

I can't help you much with java-linux printing, but some general
java-printing advice: don't beat it too hard, since it's pretty broken.

We dumped direct printing from our product since under Win32 JDK (our
usual deployment platform) it tended to crash the application completely
about 1/2 the time. In general, it was a real pain to code too...

Now, we take snapshots, dump them as PNG images (better JDK native
support through zlib than gif), spit out some HTML that references them,
and launch Netscape. This has worked really well. It sounds roundabout,
but has given us more flexibility in the long run - the HTML template is
stored in configuration files and can be different for each of our
customers.

Fixing printing is high on the list at Sun's bug parade; I suspect 1.2
will address this. But under 1.1 it is one of the, shall we say, less
mature bits of the java core API.

-- 

Paul Reavis  [EMAIL PROTECTED]
Design Lead
Partner Software, Inc.http://www.partnersoft.com



Re: zlib???

1998-07-02 Thread Paul Ho

At 04:36 PM -0400 07/01/98, Wayne wrote:
>Hello,
>Can someone tell me how to use zlib on src.zip?
>I really would appreciate some help. The documentation
>that I pull down so far has no mention on how to use it
>on src.zip.

src.zip is just a zip file. You can just unzip it.

If you really want to compile your own.

For more info on zip:
http://www.cdrom.com/pub/infozip/

For more info on zlib:
http://www.cdrom.com/pub/infozip/zlib/


Cheers,
Paul




Re: No luck with thread

1998-07-02 Thread Paul Ho

At 03:45 PM +1100 07/01/98, Markian Jaworsky wrote:
>Still no luck with the suggested thread change.
>
>Specifically, when compiling a program which uses threads comes with:
>robot.java -
>"Could not instantiate /java/lang/Thread"

Can you run some of the demo like NervousText?


Cheers,
Paul




Re: java.awt.Printjob

1998-07-02 Thread Gary Mart \(GAM22\) admin0



On Thu, 2 Jul 1998, Paul Reavis wrote:

> Reinhard Simon wrote:
> > 
> > I want to print a Canvas with a picture (gif) directly from a frame.
<--snip
> 
> Now, we take snapshots, dump them as PNG images (better JDK native
> support through zlib than gif), spit out some HTML that references them,
<--snip-->

Cold you spare a few more details on how you are producing PNG images?
PNG image export is high on Sun's bug list and I have tried the 3rd
party Gif encoders but they were VERY SLOW (I though my program had
crashed).



Gary Mart
[EMAIL PROTECTED]




JFC on Linux?

1998-07-02 Thread James Cassidy


Will the JFC work on Linux?  Does it need a special port?

Jim.



Key events never sent to applet

1998-07-02 Thread relnev

When using appletviewer with the Linux JDK 1.1.[56] ports, the key event
functions are never called, (ie key{Up,Down} in Java 1.0.2 type programs
and KeyListener in Java 1.1 type programs.)

A simple Java 1.0.2 test program demonstrates this, it works (prints the
messages) when ran as a application, but as an applet the methods are
never called:

--
// 
import java.applet.*;
import java.awt.*;

public class KeyTest102 extends Applet {
public void init() {
}
public void start() {
}
public boolean keyDown(Event evt, int key) {
System.out.println("Key " + key + " pressed...");
return true;
}
public boolean keyUp(Event evt, int key) {
System.out.println("Key " + key + " released...");
return true;
}
public static void main(String args[]) {
KeyTest102 applet = new KeyTest102();
Frame frame = new Frame("Key Test");
frame.add(applet, "Center");
frame.resize(100,100);
applet.init();
applet.start();
}
}
--

Thanks






3.0 Tuner on Linux

1998-07-02 Thread Paul Phillips

Subject says most of it.  I downloaded the solaris tuner, blew
away the jdk and symlinked to 1.1.6v2 (glibc version), and killed
the two solaris shared libs shipped with the tuner.  All seemed
to go well on startup, it threw up the splash screen and successfully
downloaded two channels.  It started up the "walkthrough" channel
and I went through all that no problem, but the second channel (I
guess the channel manager) would not start, throwing up a dialog:

  Channel ^0 requires capabilities, but it is not signed.

At this point the tuner hangs and will not proceed.  I don't care about
having signed channel capability, I just want the tuner to work with
normal channels (like playsite.)

Is there any chance at all that someone at marimba can be persuaded
to recompile the shared libs under linux and provide unsupported versions?
There are several million linux users out there guys, this is an easy
market to reach with minimal effort.  Or can anyone suggest a workaround
to get the 3.0 tuner running?

Here's the output on startup, most of which looks reasonable under
the circumstances, right up to the "ERROR:" line.

syzygy:~> /usr/local/castanet/bin/tuner 
WARNING: Your operating system is unfamiliar. OS = Linux
libmarimba.so: cannot open shared object file: No such file or directory
(libmarimba.so)
libmrbssl.so: cannot open shared object file: No such file or directory
(libmrbssl.so)
WARNING: Not using SSL: java.lang.UnsatisfiedLinkError: security library
not loaded
Security library not found
ERROR: capsNoSig/null

-- 
Paul Phillips  | Name a dangerous race - The Arabs
Everyman   | -- heard on Family Feud
<[EMAIL PROTECTED]> | 
+1 206 447 1595|* http://www.go2net.com/people/paulp/ *



Re: java.awt.Printjob

1998-07-02 Thread Paul Reavis

Gary Mart (GAM22) admin0 wrote:
> 
> On Thu, 2 Jul 1998, Paul Reavis wrote:
> 
> > Reinhard Simon wrote:
> > >
> > > I want to print a Canvas with a picture (gif) directly from a frame.
> <--snip
> >
> > Now, we take snapshots, dump them as PNG images (better JDK native
> > support through zlib than gif), spit out some HTML that references them,
> <--snip-->
>
> Cold you spare a few more details on how you are producing PNG images?
> PNG image export is high on Sun's bug list and I have tried the 3rd
> party Gif encoders but they were VERY SLOW (I though my program had
> crashed).

GIF encoding is VERY SLOW; we wrote our own and it was pretty stinky.
(My coworker, Brad Gray, actually did all this; I don't like to get my
hands dirty with bits these days :-)).

The problem seems to be that GIF encoding hits Java where it's slowest.
Without native support it's hard to get it very fast. Not to mention the
illegalities :-)

So we dumped it and switched to PNG, since Netscape 4.05 supported it
(we just bundle Netscape with our product now that it's free; this keeps
us from worrying about formatting for different weird browsers).

PNG is much better suited to awt-style images; the color model is very
similar (4 byte RGBA is one option), you don't have to reduce the colors
to 256 (yuck!), etc. But the real bonus is that it uses zlib
compression, which is provided (presumably with native implementation)
in java.util.zip or whatever. Compressing those babies is very very fast
(as in ~5 mins for GIF, ~5 seconds for PNG compression) and we are real
happy with Brad's encoder.

I think there are some free PNG compressors out there for Java; if not
writing your own is not too hard (assuming some experience with binary
formats). The hardest part of these things is the compression, and all
that's handled for you - you basically just have to name the chunks
right, put things in the right order and feed the compression method.

Our encoder isn't on my pile of things to clean up and LGPL, I'm afraid,
so I can't give it to you :-< But really, finding one or even writing
one shouldn't be too hard. One thing that made it easy for us (and
therefore not as suitable for public release) is that we only
implemented what we absolutely had to - no special features or anything,
just a quick image dump.

-- 

Paul Reavis  [EMAIL PROTECTED]
Design Lead
Partner Software, Inc.http://www.partnersoft.com



Re: JFC on Linux?

1998-07-02 Thread Julio Marat Arroyo Hernández

Hey, of course it works. It doesn't need anything special. We developed
some aplications with jfc (JInternalFrames, JPanels, JTabbedPanes,
JTextFields, JTables, etc.) and jdbc (oracle dirvers) and they run
pretty well (excelent) under Linux, actually better than windows
(obvious).

James Cassidy wrote:
> 
> Will the JFC work on Linux?  Does it need a special port?
> 
> Jim.

-- 
---
Julio Marat Arroyo Hernandez  Tel. +52 (8) 358-2000 x 4193
Administrador de Tecnologias del WWW  Fax: +52 (8) 328-40-77
Innovacion TecnologicaEml: [EMAIL PROTECTED]
ITESM Campus MonterreyWWW: [EMAIL PROTECTED]
http://soporte.mty.itesm.mx/www/  FTP: [EMAIL PROTECTED]

begin:  vcard
fn: Julio Marat Arroyo Hernández
n:  Arroyo Hernández;Julio Marat
org:ITESM Campus Monterrey
adr:Av. Eugenio Garza Sada #2501 Sur;;;Monterrey;Nuevo León;64849;México
email;internet: [EMAIL PROTECTED]
title:  Webmaster
tel;work:   +52 (8)  3 58-2000 x 4193
tel;fax:+52 (8) 3 28-40-77
x-mozilla-cpt:  ;0
x-mozilla-html: FALSE
version:2.1
end:vcard




3.0 Tuner on Linux: success

1998-07-02 Thread Paul Phillips

If you add this line:

marimba.security.trusted.transmitters=255.255.255.0,207.126.123.0

(that is the class C with products.marimba.com in it) to your properties
file (which in my case is /usr/local/castanet/lib/tuner/properties.txt)
then it can successfully run the channel manager and everything works
fine.

Thanks to Aron Hall at Marimba for the syntax.

-- 
Paul Phillips  | Now don't tell me that the world is moving at a fast
Stickler   | pace and so is the playsite,i will not be able to digest
<[EMAIL PROTECTED]> | such a comment from you guys.
+1 206 447 1595| -- bug report received at PlaySite



which JDK?

1998-07-02 Thread Dustin Lang


Hi,

I feel really stupid for having to ask this, but is there a way to find
out what flavour of Linux one has? (RH, Slackware, etc.)  I have no
idea what is installed on my work machine.

As soon as I find that out, my next question (probably a FAQ) is, what's
the (newest && workingest) version?

Thanks,
dstn.

-
Dustin Lang, [EMAIL PROTECTED]



Re: which JDK?

1998-07-02 Thread Nathan Meyers

Nathan Meyers wrote:

> Dustin Lang wrote:
>
> > Hi,
> >
> > I feel really stupid for having to ask this, but is there a way to find
> > out what flavour of Linux one has? (RH, Slackware, etc.)  I have no
> > idea what is installed on my work machine.
>
> There are no stupid questions, only small actors. (Or something like that
> :-).

Of course, there *are* stupid answers. I responded to your subject line, not
the content of the mail.

If you've got 'rpm' installed, you're probably on a Redhat box. Other
distributions have their own characteristic tools, but I don't know the names.

Nathan Meyers
[EMAIL PROTECTED]