Re: go back to gzip!

1999-03-31 Thread Volker Augustin

Ok, there has been a long discussion about using bzip2 or not. Apart from personal 
problems using 
bzip2 (I have only access to a Win95 machine and bzip2 --help does display help, but 
since it's 
going to stderr you cannot read all of it and since I could not find documentation I 
have no clue 
how to use bzip2) I would recommend that you provide both a bzip2 and a gzip-version 
of the 
distribution. Isn't that a fabulous idea? Why didn't anyone else come up with it? It's 
the obvious 
thing to do, isn't it? It solves all problems - well maybe not all, since e.g. I've 
been trying to 
work effektively on Win95 for a long time now without result... :-)
Volker

http://home.pages.de/~Volker.Augustin

"The only system that is truly secure is one that is switched off and unplugged, 
locked in a titanium-lined safe, buried in a c
oncrete bunker, and surrounded by nerve gas and very highly-paid armed guards. Even 
then, I wouldn't stake my life on it."
-- Gene Spafford 

Insure your privacy! Use Pretty Good Privacy!
http://www.pgpi.com/


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Non mofit AWT.

1999-03-31 Thread Matthew Panetta

Given that there are a few good windowing toolkit out now for linux (GTK,
QT, JX) could the JDK be proted to these instead of useing mofit?

Regards Matt


---
Matthew Panetta
2nd Year CS Student
CS108 Lab Assistant



--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



hotjava/jdk1.2?

1999-03-31 Thread Steve Byrne

[EMAIL PROTECTED] writes:
 > Does anyone know if the Sun hotjava browser is supposed to work
 > under JDK1.2? I've had no luck to date -- failing on startup with
 > AccessControlException. Wondering whether to suspect hotjava, 1.2,
 > or the Linux port.

HotJava needs a permissions file.  It's reported to kind of work when
you create the permissions file.   

Steve


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: Non mofit AWT.

1999-03-31 Thread Maksim Lin

I believe the classpath project is working on a gtk based set of peers
that can be used as a drop-in replacement for the current motif ones
(though they aren't finished yet).

Maksim.

Matthew Panetta wrote:
> 
> Given that there are a few good windowing toolkit out now for linux (GTK,
> QT, JX) could the JDK be proted to these instead of useing mofit?
> 
> Regards Matt
> 
> ---
> Matthew Panetta
> 2nd Year CS Student
> CS108 Lab Assistant
> 
> --
> To UNSUBSCRIBE, email to [EMAIL PROTECTED]
> with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

-- 
Remember Darwin; building a better mousetrap merely results in smarter
mice.


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Library?

1999-03-31 Thread Pepijn Schmitz

OK, I realize that this must have been asked a million times, but
nevertheless it't not in the README or the FAQ: where do I find the
libstdc++ library that the JDK 1.2 needs to run on my Red Hat 5.2
system? Whenever I try to run anything I get:

Exception in thread "main" java.lang.UnsatisfiedLinkError:
/usr/local/jdk1.2/jre/lib/i386/libfontmanager.so:
libstdc++-libc6.0-1.so.2: cannot open shared object file: No such file
or directory

I'd prefer a precompiled binary, but if someone could point me to the
relevant sources I'd be very happy too!

Ciao!

/Pepijn


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: go back to gzip!

1999-03-31 Thread Magnus Niemann

On Tue, 30 Mar 1999, Tucker Balch wrote:

> Nobody has bzip2, whatever that is.  You're making your product less portable.
> If you do insist on keeping bzip2, you'll need to change your installation
> instructions because they reference gzip'd files.

Excuse me, but all people *I* know (personally) have bzip2 as part of their 
Linux distribution. And even the kernel will be compressed with this program in 
the near future. IMHO bzip2 will replace gzip soon just because it allow 
for even denser compression than the old compression utility.

Magnus Niemann


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: Library?

1999-03-31 Thread Michael K Vance

Pepijn Schmitz wrote:
 
> OK, I realize that this must have been asked a million times, but
> nevertheless it't not in the README or the FAQ: where do I find the
> libstdc++ library that the JDK 1.2 needs to run on my Red Hat 5.2
> system? Whenever I try to run anything I get:

[mvance@localhost mvance]$ ls -l /usr/local/lib/libstdc++*
lrwxrwxrwx   1 root root   18 Mar 12 20:49
/usr/local/lib/libstdc++-libc6.0-1.so.2 -> libstdc++.so.2.9.0

I just made a symbolic link and re-ran ldconfig. Presto.

m.

-- 
"We can deny everything, except that we have the possibility of being better.
 Simply reflect on that."
 -- His Holiness The Dalai Lama


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: Performance issues, TYA

1999-03-31 Thread Albrecht Kleine

> Hi,
> 
> Has anybody run any benchmarks comparing jdk117 with tya vs jdk1.2 with
> sunwjit?
> My runs so far (console applications with timing), indicate that
> ***jdk1.1.7+tya1.2 is at least two times faster than jdk1.2-pre1!!!***
> This behavior is for computationally intensive procedures, I don't refer
> to swing or other gui stuff

> Are there any chances that this situation be improved (I mean is the
> reason for this slowdown the premature nature of the pre-release
> etc...)?

Dimitris, 
there is a good chance to run JDK1.2 with TYA1.3 plugged in 
next time, but currently I am fighting against some bugs and I 
consider current TYA as in pre-beta status.

I can't promise that it'l be faster - rather slower. OTOH if TYA 
could not compete with sunwjit, it's IMHO important to have a JIT
that's GPLed and FREE and so good for educational purpose.

BTW I've decided NOT to sign any kind of sun source code license,
so next TYA1.3 will not yet use any special features JDK1.2 offers 
for JITs - simply because that's completely undocumented stuff.

Cheers
Albrecht


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Process priority all mucked up

1999-03-31 Thread Helge Wilker

Hi,

for a few days now, I have noticed that java and javac processes running
on my linux box get re-niced to very low priorities all the time, down to 
16 or 20.  This makes big compiles vey slow.  I am not aware
(obviously) of any changes I made that could affect this.  I am also
not too sure whether this only affects Java or other executables also.
The behaviour appears with kernels 2.0.34 and 2.0.36.

Anyway, if somebody thinks this sounds familiar, I'd be happy to hear
about your experiences with this!  If this is a non-Java problem, I'd
also be happy to be shoved in the right direction instead of simply
being flamed  :)

Thanks,
Helge


--
Helge Wilker   @work: (and mailing address)
220 Keokuk Street  ABT Corporation
Petaluma, CA 94952 1353 Redwood Way
phone +1 707 762 4064  Petaluma, CA 94954
mailto:[EMAIL PROTECTED]  +1 707 793 8300 ext. 3307


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: This works on Linux/ W95 not on NT. Why?

1999-03-31 Thread Dustin Lang


Hi,

> > Maybe because NT is notorious for being very unfriendly to Java?

I've noticed that some processes initiated with Runtime.exec() on NT never
terminate, ie, process.waitFor() never returns.  Of course, it worked
flawlessly on Linux.  (Thanks porting team!  You rock!)

> Huh?  NT is one of the best Java platforms around.

Hahahaha that's a good one.  One of the apps I'm working on crashes
with Dr.Watsons within 20 minutes.

> It's relatively stable

Hehehehe like a rhinocerous on a unicycle :)

Just my experience and $0.02.

dstn.



---
--  Dustin Lang, [EMAIL PROTECTED]  --
(java developer, linux guy, green-haired freak)

Why Linux is so cool: /usr/include/string.h:190:
/* Sautee STRING briskly.  */
extern char *strfry __P ((char *__string));
---


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



japanese font problem japanese redhat linux 5.2 & java2

1999-03-31 Thread Haruhide Yauskawa

hello,

i cannot display japanese correctly.
does anyone succeed to display japanese?
i updated my linux to japanese redhat linux 5.2 & java2.
kernel 2.0.36
glibc2(libc6)
jdk 1.2 pre-v1(java 2) http://www.blackdown.org
kinput2
LESSCHARSET=japanese-euc
LANG=ja_JP.ujis
OSTYPE=Linux
LINGUAS=ja

cheers,
-h. yasu


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: This works on Linux/ W95 not on NT. Why?

1999-03-31 Thread David Warnock

Jim, 

> > Maybe because NT is notorious for being very unfriendly to Java?
> 
> Huh?  NT is one of the best Java platforms around.  It's relatively stable,
has
> great JVM availability, has very stable JVMs, has a slew of IDEs and other
> tools, has several very fast compilers

Relative to what?

I switched from NT to Linux for Java development and have found it much better.
Our project has advanced much more quickly after the change than before. We do
get Jikes for fast compiling and excellent JVM's. I use Visual Slickedit on
Windows and Linux and also CVS on both. I used to use Kawa on Windows but find
that a better editor with some project features is better than the IDE with good
project features but a poor editor. I prefer not to use a GUI builder.

Amusingly enough most of my deployment is on Win 95 currently.

Dave


David Warnock
Sundayta Ltd


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: This works on Linux/ W95 not on NT. Why?

1999-03-31 Thread Rachit Siamwalla


This talk has made me wonder. I always had problems running my Java
Swing gui-intensive apps on non-Windows platforms. When the application
is under "stress" ie. when clicking and draging and moving the mouse a
lot, I have had java lock up on me all the time (main event loop just
freezes). The deadlock seems to be within the native event handling
code. This was with Linux and Solaris under JDK 1.1.6 / 1.1.7. I have
not tested this under JDK 1.2 yet. Did anyone else have this problem and
or (even better) have anyone had this problem and solved it? I remember
spending a week on this problem and getting nowhere (used thread /
monitor dumps, looked through event handling source, etc...). I tried
checking out dejanews, mailing newsgroups about the problem, but had no
answer.

-rchit

> > > Maybe because NT is notorious for being very unfriendly to Java?
> >
> > Huh?  NT is one of the best Java platforms around.  It's relatively stable,
> has
> > great JVM availability, has very stable JVMs, has a slew of IDEs and other
> > tools, has several very fast compilers
> 
> Relative to what?
> 
> I switched from NT to Linux for Java development and have found it much better.
> Our project has advanced much more quickly after the change than before. We do
> get Jikes for fast compiling and excellent JVM's. I use Visual Slickedit on
> Windows and Linux and also CVS on both. I used to use Kawa on Windows but find
> that a better editor with some project features is better than the IDE with good
> project features but a poor editor. I prefer not to use a GUI builder.
> 
> Amusingly enough most of my deployment is on Win 95 currently.
> 
> Dave
> 
> David Warnock
> Sundayta Ltd
> 
> --
> To UNSUBSCRIBE, email to [EMAIL PROTECTED]
> with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: This works on Linux/ W95 not on NT. Why?

1999-03-31 Thread David Warnock

Rachit,

> This talk has made me wonder. I always had problems running my Java
> Swing gui-intensive apps on non-Windows platforms. 

We have not experienced this problem. We have experienced some platform
differences eg AltGr, Deadkey, Tab, Focus painting but not instability.

Are your apps using 3rd party libraries? Are the user interfaces built by
"hand" or using a GUI Builder?

I just wonder if using something like JBuilder creates applications that are as
easy to test cross-platform.

Dave


David Warnock
Sundayta Ltd


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



*.bz2

1999-03-31 Thread Doug Robinson

Hello
OK I admit it I a a newbie to Linux
(but not Unix) & I cannot find out how to
uncompress a *.bz2 file. 
I would not care except that the
1.2 source is in whatever that format is & the doc
shows the uncompress step using gunzip. A non-starter.

Help me please!

dkr


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: This works on Linux/ W95 not on NT. Why?

1999-03-31 Thread Rachit Siamwalla

> Are your apps using 3rd party libraries? Are the user interfaces built by
> "hand" or using a GUI Builder?

Our user interface is built by 95% hand (some minor dialog boxes are
built using symantec cafe). If noone has had the same problem it may be
the result of using some specific combination of components on my part
CardLayout + JLayeredPane) or because of a custom component (something
from scratch that extended from JComponent / JPanel) that we wrote.

Actually, I'm beginning to suspect CardLayout, because the way it is
implemented is horrid... (it uses setVisible() to switch between
panels). This causes problems when you do stuff with mouse listeners to
multiple panels within.. Drag + Drop does wierd things on it and
JTabbedPane I belive uses CardLayout, so that sucks.

But still again, whatever I do shouldn't lock up java in the native
code...

-rchit


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: Bzip2

1999-03-31 Thread Jim Dovey

Don't get me wrong, I'm glad to have java-linux even if I have to
download and install bzip2 to use it.  Still I think it's better
to stick with more commonly available installation tools (and libraries
and kernels for that matter).

Is java-linux for kernel developers (100s of people) or the linux masses
(millions)?
I suppose Debian includes it, but RedHat 5.2 does not include bzip2, nor
bzip2
capable tar.

--Tucker

Erm, yes it *is* on RedHat 5.2 Something like System/archiving with
Glint. It's definitely on the CD. I've got it. I watched it install the
other day. And a really good thing about bzip2? It compresses the JDK a
*lot*. I bunzip2'ed it and then gzipped it so's I could keep it stored
away and tar zxvf when I wanted to reinstall, but upon looking at the
file size, I found that it had gone up by (oh, I can't remember now...)
I think it was about 8-10Mb. A lot, anyway.

-Jim


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: japanese font problem japanese redhat linux 5.2 & java2

1999-03-31 Thread Kazuki Yasumatsu

Hi,

In message <00b901be7bb1$5bc94ee0$[EMAIL PROTECTED]>
   "Haruhide Yauskawa" <[EMAIL PROTECTED]> writes:
> i cannot display japanese correctly.
> does anyone succeed to display japanese?

I can display and input japanese.

See .


Kazuki YASUMATSU
[EMAIL PROTECTED] (Quick Response)
[EMAIL PROTECTED]   (Sloow Response)
http://openlab.ring.gr.jp/kyasu/


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: jvm support for >1024 fds

1999-03-31 Thread Miguel Morillas

UNSUSCRIBE ME PLEASE!!

[EMAIL PROTECTED]

Miguel.°.


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



javac can not find com.sun.java.swing.JApplet class

1999-03-31 Thread Richard James




I am new to java and the 1.2 JDK. I am running 
RedHat 5.2 and theBlackdown JDK1.2-v1pre-release. The install went fine. I 
have finallyfigured out the libstdc++ link and I can successfully compile 
commandline applications.
 
However, I am getting the following error on this 
simple applet. Anyideas on how to resolve this.
 
[root@localhost java]# cat 
RootApplet.javaimport java.awt.*;
 
public class RootApplet extends 
com.sun.java.swing.JApplet {int number;
 
public void init() {number = 
225;}
 
public void paint(Graphics screen) {super.paint 
(screen);Graphics2D screen2D = (Graphics2D) 
screen;screen2D.drawString("The square root of " +number 
+" is " +Math.sqrt(number), 5, 
50);}}[root@localhost java]# javac 
RootApplet.javaRootApplet.java:3: Superclass com.sun.java.swing.JApplet of 
classRootApplet not found.public class RootApplet extends 
com.sun.java.swing.JApplet {^1 error[root@localhost 
java]#
 
ThanksRichard James
 
 


Re: This works on Linux/ W95 not on NT. Why?

1999-03-31 Thread Jim Frost

> Maybe because NT is notorious for being very unfriendly to Java?

Huh?  NT is one of the best Java platforms around.  It's relatively stable, has
great JVM availability, has very stable JVMs, has a slew of IDEs and other
tools, has several very fast compilers

We do almost all development on NT for these reasons even though we typically
deploy on Solaris (for scalability and core OS reliability).

> Seriously, though... I suspect there may be issues with Runtime.exec()
> on NT due to permissions problems when you're logged in as a normal user
> - try it as Administrator and see if it works then.

It's more likely to be a path issue of some kind.

jim



--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]