jdk 1.1.5_v7 crashes

1998-05-20 Thread Steve Byrne

Nelson Minar writes:
 > I've been having some random crashes of the JDK 1.1.5_v7. I believe
 > they're related to a window being disposed. This never happened with
 > sbb's JDK 1.1.3, but it happens maybe 15% of the time when I call
 > dispose on a Frame with 1.1.5. 
 > 
 > Anything else I can do to pin this down? I'll try to see if I can
 > catch out the same bug in java_g, but since it's notdeterministic it's
 > hard to reproduce.
 > 

Look in the README.linux.  There's an environment variable called DO_NOT_FREE
or something similar.  Turn it on.  Do you still get crashes?

Steve




Re: Linux Java problems...

1998-05-20 Thread Barry D Benowitz

> "James" == James Cribb <[EMAIL PROTECTED]> writes:

James> Brad Pepers wrote:


>> I've also had similar font problems with most web pages I go to
>> that have Java forms or reports.  The labels and entry widgets
>> and such are all sized wrong so that they cut off part of the
>> text.

James> Using appletviewer or Netscape?  Changing font.properties
James> will affect appletviewer but not Netscape.  Netscape
James> usually picks decent fonts anyway, so if they look bad in
James> Netscape then it's probably badly written code again
James> (there's plenty of that out there).

Actually, if the fonts look bad in Netscape as well, it could be the
fonts you have installed. The fonts that are provided with the
standard X distribution don't scale real well. Try the URW fonts (they 
are GPL'ed) and are available from the gimp web site (www.gimp.org)

--
Barry D. Benowitz - FAQ maintainer for alt.lefthanders
Email:[EMAIL PROTECTED] 
Phone:+1 609 866 1000 x3354
Snail:Axiom Inc, 4000 Midlantic Dr., Mt. Laurel, NJ, 08054-5476




Re: Debian Java howto

1998-05-20 Thread Karl Asha

If you do take up the task, please keep me posted. There's many people on
here that would appreciate support in that area, since I only have access
to redhat systems. 

Cheers, 
Karl


Paul Reavis <[EMAIL PROTECTED]> writes:
> I'd like to volunteer to start and maintain some documentation on
> installing and running the java JDK port under Debian. Primary focus
> would be on latest releases (i.e. those that haven't become debian
> packages yet), library issues etc. We do all our java development under
> Debian linux here, and I'd really like for there to be a little more
> info about installation issues.
> 
> Any contributions would be greatly appreciated.
> 
> --
> 
> Paul Reavis  [EMAIL PROTECTED]
> Design Lead
> Partner Software, Inc.http://www.partnersoft.com




Re: Swing under Linux

1998-05-20 Thread Paul Reavis

Aaron Walker wrote:

> Does anyone know if the JFC (Swing) is available under Linux?

Just download it from javasoft (I grab the tar.Z version) and use
it. Works great. Swing is 100% java, so no porting required.

--

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






Re: Swing under Linux

1998-05-20 Thread Michael Wong

Following the same question.
Does anyone know of any good IDE which can use swing well?
I tried super mojo and it crashes everytime I tried to import
swing.

Thanks.

Mike.

Paul Reavis wrote:

> Aaron Walker wrote:
>
> > Does anyone know if the JFC (Swing) is available under Linux?
>
> Just download it from javasoft (I grab the tar.Z version) and use
> it. Works great. Swing is 100% java, so no porting required.
>
> --
>
> Paul Reavis  [EMAIL PROTECTED]
> Design Lead
> Partner Software, Inc.http://www.partnersoft.com



--
--
PortfolioHCI, Inc., your information and Internet solution provider

Michael Wong   [EMAIL PROTECTED]
Tel: (301)438-1444 Fax: (301)438-1444
For technical discussion, visit: http://www.portfoliohci.com
--






Re: Swing under Linux

1998-05-20 Thread Stephen Wynne

In message <[EMAIL PROTECTED]>, Aaron Walker writes: 

Does anyone know if the JFC (Swing) is available under Linux?

Aaron,

Although I'm not using JFC yet, I've informally tested it using the
Swing 1.02 "SwingSet" and trying all the tabs. I had no notable
problems using SBB JDK versions 1.1.5v5/7 on RedHat 5.0 and
XFree86 v3.3.1.

Good luck!

Steve




Re: Swing under Linux

1998-05-20 Thread MOhican the SysAdmin


Be prepared for heavy memory conspomution when using swing though.
It's done for revision is what i say.
But anyway..it's just 100% java so no probs on Linux.




Re: Swing under Linux

1998-05-20 Thread Michael Wong

Oh, most of the function of swing are also in some other commercial
beans like
the JClass and the shafir.

I've been using them and feel they are quite well.
Anybody got other opinion?

--
--
PortfolioHCI, Inc., your information and Internet solution provider

Michael Wong   [EMAIL PROTECTED]
Tel: (301)438-1444 Fax: (301)438-1444
For technical discussion, visit: http://www.portfoliohci.com
--






Re: Swing under Linux

1998-05-20 Thread Geoffrey S. Knauth

> Does anyone know if the JFC (Swing) is available under Linux?

Swing is (so far) just a bunch of 100% pure Java .jar files.  So the
answer to your question should be Yes.  At least, I'm running Swing on
a Linux system without problem so far.

-- 
Geoffrey S. Knauth   http://world.std.com/~gsk
writing from Arlington, MA, 781/648-1385
Work: 617/873-5257   BBN http://stout/~gknauth




Re: Swing under Linux

1998-05-20 Thread Kenny Freeman

Swing is simply a jar file that you can include in your classpath (more
or less). Download it and follow the instructions for the Sun OS and it
works just fine-at least it works for me. In fact, I have started coding
a mixer for Linux using the swing classes, and it looks fine to me.

regards,
KF

Aaron Walker wrote:
> 
> Does anyone know if the JFC (Swing) is available under Linux?
> 
> Thanks,
> Aaron




signed Applets

1998-05-20 Thread Martijn deBoer

Has anyone yet got the signed applets example listed at
http://java.sun.com/security/signExample/index.html
running under jdk 1.15 or jdk 1.13 under linux?

I get the following error:
 javakey -ic Duke Duke.x509
Error: io error[extra DER value data (constructor)]

Any ideas, suggestions?
Other workarounds?
Thanks,Martijn de Boer




RE: Java Project Opinions?

1998-05-20 Thread Villanueva, Edgar

Actually there where a couple of conversations on this.
One of the scenarios was to implement the peer stuff using swing.
The main reason was so that X portion of the JDK would not have to be
ported.
That would make getting releases of Java for Linux a little faster. Maybe?
If I remember correctly the two biggest pains that are needed for swing are
the 
Frame and Dialog classes.  Once those are hooked up to some native library
then
using swing or someother toolkit for awt peers would be cool.

I think.
Edgar  Villanueva
PCS Technology
OrderBook project   

> --
> From: Maksim Lin[SMTP:[EMAIL PROTECTED]]
> Sent: Tuesday, May 19, 1998 10:05 PM
> To:   [EMAIL PROTECTED]
> Subject:  Java Project Opinions?
> 
> Hi,
> 
> Apologies if this is slightly off-topic for this group, but I was hoping
> to get some feedback on a project I have been contemplating.  
> 
> The story is that as a part of my Masters thesis, I need to do a "proof
> of concept" Java project, using a OO distributed developpment
> methodology based on open-source development model.  Now one of the
> ideas I have for the project, is creating a pure java awt
> implementation, using X directly(+ maybe a bit of GTK for
> non-lightweight components), based on XTC (pure java X library).
> 
> Now my question is: would this be a useful project for Java on Linux and
> would there be people interested in working on this (as developers AND
> users) ?
> If this isn't a good idea for the project, does anyone have any others
> that would be useful ?
> 
> Sorry for the longish message, but any comments anyone might have would
> be very appreciated.
> 
> Thanks,
> 
> Maksim Lin.
> -- 
> ==
> Maksim Lin
> 
> Centre for Object Technology Applications and Research
> Swinburne University of Technology
> 
> http://www.csse.swin.edu.au/maksim
> ===
> 




Debian Java howto

1998-05-20 Thread Paul Reavis

I'd like to volunteer to start and maintain some documentation on
installing and running the java JDK port under Debian. Primary focus
would be on latest releases (i.e. those that haven't become debian
packages yet), library issues etc. We do all our java development under
Debian linux here, and I'd really like for there to be a little more
info about installation issues.

Any contributions would be greatly appreciated.

--

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






Re: Debian Java howto

1998-05-20 Thread Alexander Davydenko

Paul Reavis wrote:

> I'd like to volunteer to start and maintain some documentation on
> installing and running the java JDK port under Debian.

May it be prefere to maintain a .deb package?

--

Cheers.
Alexander






Java3D and JDK 1.1.6v7 on Linux, possibly with Mesa?

1998-05-20 Thread Peter Schuller

Hi!

Java3D officially requires JDK 1.2. But, has anyone got it working with
1.1.6v7? I can run Java3D applets downloaded from the net, so it should work.

I just want to make sure before I start downloading all those files.

I'm not sure if the Solaris version *really* is a Solaris version, or a 
general Unix version intended for Solaris. Anyone got any thought on that?
Is it possible to get it to work on Linux at all?

---
/ Peter Schuller

Computers are not intelligent. They only think they are.

---
WWW: hem.passagen.se/petersch/ (might change)
---
PGP public key: Available at hkp://pgpkeys.mit.edu
PGP user ID: "Peter Schuller <[EMAIL PROTECTED]>"
---
Linux - The Choice of a GNU Generation
Be Microsoft FREE!!! Check out www.linux.org


 PGP signature


Re: Debian Java howto

1998-05-20 Thread Paul Reavis

Alexander Davydenko wrote:

> Paul Reavis wrote:
>
> > I'd like to volunteer to start and maintain some documentation on
> > installing and running the java JDK port under Debian.
>
> May it be prefere to maintain a .deb package?

There is already a maintainer, I believe, but release issues and time
make it hard to keep the .deb up with the absolute most current
JDK release.

For example, apparently the 1.1.5v7 release requires a version of glibc
that is in the debian "unstable" distribution set; this would prevent
people only running stable (bo) or frozen (hamm) from using it easily.
1.1.1 comes with hamm, but I want the latest and greatest, so I need to
figure out all these library issues.

--

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






Re: signed Applets

1998-05-20 Thread Robert Lynch

Martijn deBoer wrote:
> 
> Has anyone yet got the signed applets example listed at
> http://java.sun.com/security/signExample/index.html
> running under jdk 1.15 or jdk 1.13 under linux?
> 
> I get the following error:
>  javakey -ic Duke Duke.x509
> Error: io error[extra DER value data (constructor)]
> 
> Any ideas, suggestions?
> Other workarounds?
> Thanks,Martijn de Boer

It all works for me out of the box with jdk1.1.5v7.  The unsigned applet
throws a security exception, while the Sun signed applet writes the file
to /tmp/foo:
-
[user@ravel duke]$ more /tmp/foo
Cats can hypnotize you when you least expect it
-
HTH.

Bob L.
-- 
Robert Lynch-Berkeley CA [EMAIL PROTECTED]
http://www.best.com/~rmlynch/




Re: Debian Java howto

1998-05-20 Thread Alexander Davydenko

Paul Reavis wrote:

> ? May it be prefere to maintain a .deb package?
>
> There is already a maintainer, I believe, but release issues and time
> make it hard to keep the .deb up with the absolute most current
> JDK release.
>
> For example, apparently the 1.1.5v7 release requires a version of glibc
> that is in the debian "unstable" distribution set; this would prevent
> people only running stable (bo)

on my box i'm running stable(bo) Debian with Steve's compiled jdk1.1.5v7.It was 
compiled with libc. No crashes, no leaks.

> 1.1.1 comes with hamm, but I want the latest and greatest, so I need to
> figure out all these library issues.
>
>

 btw, TYA0.6 works fine with the jdk.

--

Cheers.
Alexander






Re: Does RMI work in jdk1.1.5v7/Red Hat 5.0?

1998-05-20 Thread John Collins

John Collins wrote:

> ...
> However, I can't get past the attempt to bind to the rmi registry. This
> code works on both NT and Solaris, and has been exercised fairly
> extensively. I was hoping to be able to jettison NT and move over to
> Linux for further development.

...

Thanks to everyone who responded to this. Adrian Colley at Sun supplied the
critical clue. It turns out that rmiregistry and Naming.rebind apparently
use different methods to resolve which host they are on, and with a
standalone host you have to make sure the name you have assigned to your
machine appears first in the localhost line of the /etc/hosts file. Maybe
there's another way, but everything is working fine for me now. Since I
lost access to NT in the process of trying to fix this, I'm glad I can now
rely on Linux for my Java development. . Suffice
to say that I'm going to see how long I can get along without NT. Maybe
forever?

John Collins




Java CommAPI for Linux

1998-05-20 Thread Kevin Hester

Hi,

I've written a set of free Java drivers for the new CommAPI from Sun.
These drivers allow you to access your Linux serial port from Java.  The
drivers are built on top of the existing RXTX library.

For more information see the Java Comm for Linux page:


http://www.interstice.com/~kevinh/linuxcomm.html

Please send me any feedback you have.

Kevin

PS: Karl, could you include this in the 3rd party section on your web page.




-
S. Kevin Hester For PGP Public Key, see:
[EMAIL PROTECTED]   http://www.interstice.com/~kevinh
"Castigat ridendo mores" 





Swing under Linux

1998-05-20 Thread Aaron Walker

Does anyone know if the JFC (Swing) is available under Linux?

Thanks,
Aaron




JavaIDL

1998-05-20 Thread Ted Irons

Is there a version of JavaIDL (which I believe is now part
of jdk1.2) available for Linux?

Thanks in advance,
- Ted




Re: Swing under Linux

1998-05-20 Thread Greg Gulrajani



Aaron Walker wrote:

> Does anyone know if the JFC (Swing) is available under Linux?
>
> Thanks,
> Aaron

and it works pretty well with tya
(though it crashes some times)

-greg





Re: Swing under Linux

1998-05-20 Thread Keith T. Garner

On Wed, May 20, 1998 at 05:19:41, Greg Gulrajani said:
> Aaron Walker wrote:
> > Does anyone know if the JFC (Swing) is available under Linux?
> >
> > Thanks,
> > Aaron
> 
> and it works pretty well with tya
> (though it crashes some times)

My only problem with Swing and tya lately is when swing calls
unimplemented (in tya) op codes.  Once tya implements them I'm sure life
will be better.

Keith, who just got done doing a somewhat major app in all swing.

-- 
  Keith T. Garner  http://www.uiuc.edu/ph/www/k-garner  [EMAIL PROTECTED]
  STR Consultant   http://www.str.com/ [EMAIL PROTECTED]
 "You can tell a lot about a company from their hostnames." -- Brian Swetland