TextArea bug ?

1998-06-18 Thread Steve Byrne

Steffen Tacke writes:
 > Hi !
 > 
 > I'm not sure but i think there's a bug in the TextArea Class provided with
 > the Linux JDK 1.1.6v1 (also in 1.1.5vX).
 > If i put a simple TextArea in a Dialog Window an fill it with some Text
 > with the append() (or the old appendText()) -Method I always get a
 > Segmentation Violation when i try to dispose the Dialog:
 > SIGSEGV   11*  segmentation violation
 > (+ complete thread dump and core file)
 > Any ideas ?
 > 
 > (running JDK on Suse Linux 5.1)

Can you send a test program that demonstrates the problem?

Steve




which jdk

1998-06-18 Thread Steve Byrne

Brad Giaccio writes:
 > Now this may seem like a silly question but I didn't really see a firm
 > answer in the FAQ so I'll ask.  It seems that there are two different
 > prots of jdk going on one by Steve Byrne's and the other by Sergey
 > Nikitin.

Steve will often reply to questions and bug reports.  Sergey never has (that I
can remember).  You can get diffs for Steve's version from the stock Sun
Solaris sources so you can build it yourself.  I haven't been able to find
Sergey's diffs (even though this ports are based on Steve's diffs from a while
ago).  Steve's runs on a lot of different hardware architectures (thianks to
the hard work of a bunch of different folks); I don't know whether Sergey's
runs on more than x86's.  At one point in the past, Albrecht Kleine's TYA
benchmark showed that Steve's version was substantially faster than Sergey's --
but I imagine that using TYA the speed differences largely go away.

Steve





Re: Free Builder?

1998-06-18 Thread Steve Byrne

Yan Huang writes:
 > Hi, there,
 > 
 > At Wed, 17 Jun 1998 11:24:42 -0400
 > Sze Yuen Wong <[EMAIL PROTECTED]> wrote:
 > 
 >   > Anyone knows any news about Free Builder?
 >   > Is the version which support 1.1 and Swing out there yet?
 >   > 
 >   > Thanks,
 > 
 > Currently, FreeBuilder is in Version 0.7.1 and reportedly support
 > JDK1.1.5  and Swing 1.0.1. I have tried it on Linux jdk1.1.5. However, 
 > it can not come up under Linux jdk1.1.6-v2_test.

Can you be more specific on how it fails to come up under v2-test?

Steve




Re: out of memory

1998-06-18 Thread Paris Flegas

try to make more swap space.
I had the same problem.

On Wed, 17 Jun 1998, Richard Hall wrote:

> I've just begun using JDK1.1.6 on my Debian 2.0.29 machine, and the
> compiler often, but not always claims to be out of memory.  top says:
> 
> Mem:   14324K av,  14020K used,304K free,   8732K shrd, 92K buff
> Swap:  32252K av,  17908K used,  14344K free  3616K cached
> 
> The compiler has bailed with close to 1M of RAM free.  The only things
> running while this is happening besides a few xterms are X, Netscape, and
> XEmacs.  Do I need to add more swap or what?
> 
> Richard Hall
> Network Services
> University of Tennessee
> 




Re: Problem with Tya 0.7

1998-06-18 Thread Joe Carter

Maksim Lin wrote:
> 
> I've just installed tya0.7 and it seemed to install ok, but when I tried
> the Iview test in demos (and any other of my Java apps) I get this
> error:
> 
> libtya.so: cannot open shared object file: No such file or directory
> (libtya.so)
> Warning: JIT compiler "tya" not found. Will use interpreter.
> 
> But of course it is there:
> -rwxr-xr-x   1 root root54642 Jun 18 17:30
> /usr/local/lib/libtya.so
> 
> so I'm obviously done something stupid, but I can't figure out, any help
> would be most appreciated.
> 
set you LD_LIBRARY_PATH

i.e.
LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/local/lib ;export LD_LIBRARY_PATH

And u should be ok.

-- 
Joe Carter  Software Engineer
Brite Voice Systems Ltd, Gatley, Cheshire. UK.
mailto:[EMAIL PROTECTED]




Re: Problem with Tya 0.7

1998-06-18 Thread Maksim Lin

Joe Carter wrote:
> 
> Maksim Lin wrote:
> >
> > I've just installed tya0.7 and it seemed to install ok, but when I tried
> > the Iview test in demos (and any other of my Java apps) I get this
> > error:
> >
> > libtya.so: cannot open shared object file: No such file or directory
> > (libtya.so)
> > Warning: JIT compiler "tya" not found. Will use interpreter.
> >
> > But of course it is there:
> > -rwxr-xr-x   1 root root54642 Jun 18 17:30
> > /usr/local/lib/libtya.so
> >
> > so I'm obviously done something stupid, but I can't figure out, any help
> > would be most appreciated.
> >
> set you LD_LIBRARY_PATH
> 
> i.e.
> LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/local/lib ;export LD_LIBRARY_PATH
> 
> And u should be ok.
> 
> --
> Joe Carter  Software Engineer
> Brite Voice Systems Ltd, Gatley, Cheshire. UK.
> mailto:[EMAIL PROTECTED]

Thanks, that did the trick.
Maksim.




Re: v2-test ready

1998-06-18 Thread Bernd Kreimeier

Steve Byrne writes:
 >  > Great, is this the version for glibc ?
 > Nope -- libc5 -- that's what I build with.  If you've got a fast network
 > connection, it's still worth a download -- I think that if you've got a recent
 > enough version of glibc (and libdl 2.x) that you still may be able to use
 > this version successfully.

Steve,

I just installed RH 5.1, latest glibc (2.0.7.-13, libdl-2.0.7.so).
I also got me the Errata (X), libc-5_4_45, gcc-2.8.1 ad
nauseam. I also downloaded 1.1.6v2 (on a slow connection, took 4h).

Result:
gcc -L/opt/local/java/jdk/lib/i586/green_threads/ -ljava invoke.o -o invoke
/usr/i486-linux-libc5/lib/libm.so.5: undefined reference to `__getfpucw'

That is libm.so.5.0.9 plus libc.so.5.4.45. It is the same with
using libm.so.5.0.6 plus libc.so.5.3.12. What combination do you
suggest? JDK does not work w/o a libc5 libm, but seems to lack
one matching it's own local libc5.



b.


P.S.: I used jdk1.1.5v5-980311 to at least link. Here, the core dump
I get with my C app that only *links* "-ljava -ldl" (it does not
even include jni.h) allegedly traces back to (using -ljava_g): 
  ../../../../src/genunix/java/green_threads/src/iomgr.c:1597.
This is gcc-2.7.2.3, and egcs-2.90.27 980315 (egcs-1.0.2 release).
A core also occurs with jdk-1_1_5-1_3-glibc-dynamic_tar.gz.










Re: java jre/jdk 1.1.6

1998-06-18 Thread Ulrich Kortenkamp

> "mkos" == mkos  <[EMAIL PROTECTED]> writes:

mkos> hi i've donwloaded the jre 1.1.6 from www.blackdown.org/~sbb
mkos> and i've copied the files from the compressed file to the
mkos> directory /jre and now i'll run ICQjave (from
mkos> www.icq.com/download/step-by-step-java.html), but the
mkos> problem that there's only this message when i run it:
mkos> /jre/bin/java: /jre/bin/../bin/Linux/grenn-threads/java: No
mkos> such file or directory /jre/bin/java:
mkos> /jre/bin/../bin/Linux/grenn-threads/java: No such file or
mkos> directory

mkos> do you know what's the problem? please help me

Which shell do you use?  --- this could be the problem!

Ulli


-- 
ETH Zentrum, IFW B43, CH-8092 Zürich
Phone +41-1-63 27393 // FAX +41-1-63 21172




Re: java jre/jdk 1.1.6

1998-06-18 Thread Simon Billingsley

-Original Message-
From: Ulrich Kortenkamp <[EMAIL PROTECTED]>

>> "mkos" == mkos  <[EMAIL PROTECTED]> writes:
>mkos> /jre/bin/java: /jre/bin/../bin/Linux/grenn-threads/java: No
>mkos> such file or directory /jre/bin/java:
>mkos> /jre/bin/../bin/Linux/grenn-threads/java: No such file or
>mkos> directory
>Which shell do you use?  --- this could be the problem!

It's the spelling of 'green_threads' isn't it ? here it is 'greNN_threads'
...
cheers, Simon.
=
Simon Billingsley
Technical Support Analyst
BLCMP Library Services
Birmingham, UK.
http://www.blcmp.org.uk
Email:   [EMAIL PROTECTED]
Email2: [EMAIL PROTECTED]
Web: http://www.scit.wlv.ac.uk/~c9555328/
=






Re: A short one

1998-06-18 Thread peter johnson



Ville Laakso wrote:

> How can I make something happen, say, every 5 seconds?
>
> -Ville Laakso
>  [EMAIL PROTECTED]

At least two ways:

Either call Thread.sleep (5000) or, if you have other things to do,

GregorianCalendar timeout=null, timenow=null ;
timeout = new GregorianCalendar () ;
timeout.add (GregorianCalendar.SECOND, 5) ;
while (true) {
  timenow = new GregorianCalendar () ;
  if (timenow.after (timeout)) {
... do whatever ...
timeout = new GregorianCalendar () ;
timeout.add (GregorianCalendar.SECOND, 5) ;
  }
... do other stuff ...
}

Peter
[EMAIL PROTECTED]






Re: Survey, what tool do you use?

1998-06-18 Thread Dustin Lang


>   What development tool do you use to help on daily coding?

pico :)

dstn.





Re: Possible bug in Linux JDK 1.1.6 v1 libc5 x86

1998-06-18 Thread Matthew Hixson

David,
  Just thought I'd let you know that your program works properly on my
Slackware libc5 system with Steve's 1.1.5v5 JDK port.  Kernel 2.0.32.  
  -M@

-- 
Matthew Hixson  http://www.frozenwave.com/~hixson
FroZenWave Communications   [EMAIL PROTECTED]
Linux System Administrator  "Further the cause, boy.
http://www.frozenwave.com   Yes, you know the game."





Re: Survey, what tool do you use?

1998-06-18 Thread Matthew Hixson

Sze,
  I use XEmacs and TYA.  XEmacs is a very powerful editor and you can
customize it to your every whim.  Of course it doesn't have the RAD
environment like some of the other Java specific IDE's, but I think that
it forces you to write better code when you understand what is going on in
your program.
  TYA seems to speedup compilation times a little bit.  Most of my Java
programs are network oriented so using a JIT doesn't really benefit as
much as AWT or math intensive applications.
  Cheers,
   -M@

-- 
Matthew Hixson  http://www.frozenwave.com/~hixson
FroZenWave Communications   [EMAIL PROTECTED]
Linux System Administrator  "Further the cause, boy.
http://www.frozenwave.com   Yes, you know the game."


On Thu, 18 Jun 1998, Sze Yuen Wong wrote:

> Hi everyone,
> 
>   I've been looking for a good Java-Linux development tool without
> success.
> I tried supermojo. It
>   So. I would like to ask everyone of you,
> 
>   What development tool do you use to help on daily coding?
> IDE, simple class browser, or just an editor.
> 
> Thanks,
> 
> Sze Yuen
> 
> 




Re: Xlief, now called NetBean. Very impressive.

1998-06-18 Thread Matthew Hixson

Where can we download NetBean?
  Thanks,
   -M@

-- 
Matthew Hixson  http://www.frozenwave.com/~hixson
FroZenWave Communications   [EMAIL PROTECTED]
Linux System Administrator  "Further the cause, boy.
http://www.frozenwave.com   Yes, you know the game."


On Thu, 18 Jun 1998, Sze Yuen Wong wrote:

> Hi,
> 
>  I just downloaded NetBean 2.0 Beta (the old Xlief).
> I ran it under Sun. It's slow, but it looks very impressive.




Re: Survey, what tool do you use?

1998-06-18 Thread Azazel

Pico?  Pah!  Try vi.  Grr! :)

Az.

Dustin Lang wrote:
> 
> >   What development tool do you use to help on daily coding?
> 
> pico :)
> 
> dstn.




Re: Xlief, now called NetBean. Very impressive.

1998-06-18 Thread Sze Yuen Wong

Matthew Hixson wrote:

> Where can we download NetBean?
>   Thanks,
>-M@

http://www.netbeans.com

Sze Yuen





Re: Survey, what tool do you use?

1998-06-18 Thread Dustin Lang


> Pico?  Pah!  Try vi.  Grr! :)

vi schmi :)

dstn.





which jdk

1998-06-18 Thread Bernd Kreimeier

Steve Byrne writes:
 >  > It seems that there are two different
 >  > prots of jdk going on one by Steve Byrne's and the other by Sergey
 >  > Nikitin.
 > 
 > [misc. valid diffs]

And both jdk-1.1.6 (sbb v2 and sn v1.2) cause my C app
to "crash when linked" under RH 5.1/glibc-2.0.7-13.

Steve makes a good point here, re: the source diffs he
provides. The source at least gives me some hope to track
down the problem.

 b.



P.S.: gdb claims
  src/genunix/java/green_threads/src/iomgr.c:229
is the part of the problem, but stepping I seem to
crash in dl-runtime.c (which should be glibc, not JDK).
I get there with a simple _dl_lookup_symbol on an 
  open("whatever", O_RDWR)
call - if any of this sounds familiar to somebody,
please drop me a line.







jdk1.1.6.diffs.gz corrupt?

1998-06-18 Thread Bernd Kreimeier

Downloaded it with HTTP/Nerdscrap (no dialup
at home, no choice), got a gzip -d error:

  incomplete distance tree
  invalid compressed data -- format violated

Is this me, or is the source file corrupt? Is
there a mirror (FTP) location? I have tried 4 or so
mirrors from the blackdown list, but have yet
to see the v2 directory. FTPsearch does not 
succeed.

 b.




Re: Transparent gif files

1998-06-18 Thread Dustin Lang


Hi,

One alternative is to write your own GIF class like I did. :)  That's a
great solution if you like bit-twiddling :)

Some things that may or may not be useful:
-The GIF file format specifies the background index (palette entry) in the
header.
-The Color of the transparent pixels should be 0,r,g,b.  The zero says the
Alpha value is zero: the pixel has no opaqueness.

> My question concerns producing transparent gifs thar are transparent on all
> platforms (linux, win95 and Macintosh).

With Java, or an image-editing program?

Paint Shop Pro 5 (and 4 too, I think) allow you to specify which palette
entry is transparent.  I've found that PSP 5's transparency doesn't always
work properly, at least for GIF89a format.

Feel free to e-mail me off this list, I might be able to help.

Seeya,
dstn.





RE: Survey, what tool do you use?

1998-06-18 Thread Peter Schuller

>   What development tool do you use to help on daily coding?
> IDE, simple class browser, or just an editor.

I use XEmacs for all my coding - it's great. The only thing I want now is
something that'll save me from managing makefile (I'm working on such an app
myself). Alternatively, I might, and that's a big MIGHT, get a commercial IDE,
if there is one that runs on Linux, and that I find worth paying for.

/ Peter Schuller

"You can do better with a kind word and a shotgun than with a kind word
alone..." (reputedly said by Al Capone!)

---
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




Re: Possible bug in Linux JDK 1.1.6 v1 libc5 x86

1998-06-18 Thread Michael Plump

On Thu, 18 Jun 1998, DAVID BALAZIC wrote:

> This might be a bug in JDK 1.1.6 v1 libc5  i386
> 
> I crashes similarily with jdk 1.1.5 v7 libc5 i386
>
> SIGSEGV   11*  segmentation violation
> stackbase=0xb8e0, stackpointer=0xb7ec
> ...

FWIW, I also get errors like this when trying to run ICQ.  And this guy
has the same problem: 
http://www.blackdown.org/cgi-bin/incoming?id=17;user=guest


Michael Plump | Snorks make me smile, okay? eh | [EMAIL PROTECTED]
"Frankly, I don't know where such independent monkey ringers come from."
   --Joe Dietz





Re: Survey, what tool do you use?

1998-06-18 Thread pat cavanagh



Dustin Lang wrote:

> >   What development tool do you use to help on daily coding?
>
> pico :)
>

wimp! real men use cat:

cat > hiya.java
class hiya
{
public static void main(String argv[])
{
System.out.println("hiya pooky!");
}
}
^D






Re: Problem with Tya 0.7

1998-06-18 Thread Toni Nikkanen



On Fri, 19 Jun 1998, Maksim Lin wrote:

> Here in the office I had a college running NT (on a almost identical pc
> to mine) with symantics jitv3 and jview try them out and he got 4x and
> 3x faster results (respectively) than tya.  Are these really indicative
> of the speed difference between these jits and tya or was there some
> factors I didin't consider (eg. my linux box is running daemons like
> sendmail which the nt box isn't) ?

Well, I have benchmarked some simple, silly code of mine and compared with
TYA 0.7/JDK 1.1.6 on Linux vs. JDK 1.1.6 on Win95 on the same machine, and
sadly the Windows version is about 100% faster on those. On the other
hand, it's not like I'm doing 3D rendering or number crunching here so I'm
perfectly happy with the current speed.
I briefly considered getting the JDK sources from Sun and trying to build
it with pgcc, but then I thought that with TYA, it might not make that
much of a difference anyway and would probably be troublesome to do.

I wish I didn't leave the compiler course at school for next year, though,
then I could perhaps attempt helping the TYA project with something
instead of just talking :)





Re: out of memory

1998-06-18 Thread Pavel

You should probably increase -mx option value when running java. AFAIK
default value is 32M

All the Best
Pavel

Richard Hall wrote:
> 
> I've just begun using JDK1.1.6 on my Debian 2.0.29 machine, and the
> compiler often, but not always claims to be out of memory.  top says:
> 
> Mem:   14324K av,  14020K used,304K free,   8732K shrd, 92K buff
> Swap:  32252K av,  17908K used,  14344K free  3616K cached
> 
> The compiler has bailed with close to 1M of RAM free.  The only things
> running while this is happening besides a few xterms are X, Netscape, and
> XEmacs.  Do I need to add more swap or what?
> 
> Richard Hall
> Network Services
> University of Tennessee




Problem with Tya 0.7

1998-06-18 Thread Maksim Lin

I've just installed tya0.7 and it seemed to install ok, but when I tried
the Iview test in demos (and any other of my Java apps) I get this
error:


libtya.so: cannot open shared object file: No such file or directory
(libtya.so)
Warning: JIT compiler "tya" not found. Will use interpreter.

But of course it is there:
-rwxr-xr-x   1 root root54642 Jun 18 17:30
/usr/local/lib/libtya.so

so I'm obviously done something stupid, but I can't figure out, any help
would be most appreciated.

Thanks,
Maksim.




Commercial Java for Linux?

1998-06-18 Thread Bernd Kreimeier


Aside from Source Nagivator by Cygnus? Specifically: a JVM?

It is not my preference (that would be Japhar, followed by
Steve's JDK port), but I seem to keep hitting a (linkage)
problem that endangers the entire project. Given the choice
between paying for a Win32 setup and paying for Linux software,
I'd rather do the latter.


 b.

 





sound not working

1998-06-18 Thread Daniele Paoni

I can't play sound files with the appletviewer.. the sound is always
truncated, I tried with a lot of different .au files and the result is always 
the same. (The same files plays correctly with windows 95)
The problem is present in jdk 1.1.5-* and jdk-1.1.6*

Daniele Paoni




java jre/jdk 1.1.6

1998-06-18 Thread mkos

hi

i've donwloaded the jre 1.1.6 from www.blackdown.org/~sbb and i've
copied the files from the compressed file to the directory /jre and now
i'll run ICQjave (from www.icq.com/download/step-by-step-java.html), but
the problem that there's only this message when i run it:
/jre/bin/java: /jre/bin/../bin/Linux/grenn-threads/java: No such file or
directory
/jre/bin/java: /jre/bin/../bin/Linux/grenn-threads/java: No such file or
directory

do you know what's the problem? please help me

thanx, bye




JDK1.1.5 thrashing

1998-06-18 Thread Scot P. Floess

Hi!  I was wondering if anyone has had this problem?I have been
having problems running more than one JVM under RedHat Linux 5.0.  I
downloaded the JDK 1.1.5 from Blackdown and installed it fine.  When I
run more than one version of the JVM, the machine thrashes so badly that
any java programs running become practically unuseable.  I am running on
a Pentium 166 with 128 MB of RAM.  Initially I had done a full install
of RedHat.  The JVM performed so badly I reinstalled the OS with barely
anything.  The JVM then performed adequetly.  When I run one JVM, the
machine runs fine.  Two or more JVMs and the machine thrashes.  Any help
would greatly be appreciated.




Survey, what tool do you use?

1998-06-18 Thread Sze Yuen Wong

Hi everyone,

  I've been looking for a good Java-Linux development tool without
success.
I tried supermojo. It
  So. I would like to ask everyone of you,

  What development tool do you use to help on daily coding?
IDE, simple class browser, or just an editor.

Thanks,

Sze Yuen





Possible bug in Linux JDK 1.1.6 v1 libc5 x86

1998-06-18 Thread DAVID BALAZIC

This might be a bug in JDK 1.1.6 v1 libc5  i386

I crashes similarily with jdk 1.1.5 v7 libc5 i386

but not on JDK 1.1.3 v 3.0.1 for IRIX on an SGI machine

I have an ancient Slackware distribution on x86 machine.
I upgraded manually most of SW , so I have pretty recent everything.


The following code :
--
import java.awt.Button;
import java.awt.Label;
import java.awt.TextField;
import java.awt.Frame;

//import java.awt.event.*;
import java.applet.Applet;


public class LinkerApplet extends Applet
{

   Label labelVhodi,labelIzhod,labelNaslov;
   Button tipkaDodajSource,tipkaPrikaziSource,tipkaLinkaj,
  tipkaPrikaziExe,tipkaNalozi,tipkaPrikaziMem,tipkaIzberiIzhod;
   TextField textImeIzhoda,textNalagalniNaslov;
   
   public void init()
 {
System.out.println("1");
super.init();
System.out.println("2");
setLayout(null);
System.out.println("2.2");
//  addNotify();
//  validate();
System.out.println("2.3");
resize(650,380);

System.out.println("3");
tipkaDodajSource = new Button("Dodaj objektni modul");
tipkaDodajSource.reshape(20,20,160,30);
add(tipkaDodajSource);

System.out.println("5");

 }

   public static void main(String[] args)
 {
System.out.println("6");
Frame f = new Frame("Applet");
System.out.println("7");
f.setBounds(0,0,300,300);
System.out.println("8");
LinkerApplet applet = new LinkerApplet();
System.out.println("9");
f.add(applet);
System.out.println("10");
applet.init();
System.out.println("11");
f.show();// dies here  , or at AddNotify () in applet.init()
System.out.println("12");
 }
   
}
-
Gives the following output on my console ( and no GFX output ) :
--
6
7
8
9
10
1
2
2.2
2.3
3
5
11
SIGSEGV   11*  segmentation violation
stackbase=0xb8e0, stackpointer=0xb7ec

Full thread dump:
"Finalizer thread" (TID:0x40642208, sys_thread_t:0x41386f04, state:R)
prio=1
"Async Garbage Collector" (TID:0x40642250, sys_thread_t:0x41365f04,
state:R) prio=1
"Idle thread" (TID:0x40642298, sys_thread_t:0x41344f04, state:R) prio=0
"Clock" (TID:0x40642088, sys_thread_t:0x41323f04, state:CW) prio=12
"main" (TID:0x406420b0, sys_thread_t:0x81acf28, state:R) prio=5 *current
thread*
java.lang.Runtime.loadLibrary(Runtime.java)
java.lang.System.loadLibrary(System.java)
sun.awt.motif.MToolkit.(MToolkit.java:46)
java.awt.Toolkit.getDefaultToolkit(Toolkit.java:402)
java.awt.Window.getToolkit(Window.java:239)
java.awt.Frame.addNotify(Frame.java:204)
java.awt.Window.show(Window.java:150)
LinkerApplet.main(LinkerApplet.java:52)
Monitor Cache Dump:
java.lang.Object@1080319968/1080679080: owner "main" (0x81acf28, 1 entry)
java.lang.Runtime@1080321528/1080684072: owner "main" (0x81acf28, 1 entry)
java.lang.Class@1080321032/1080682864: owner "main" (0x81acf28, 1 entry)
Registered Monitor Dump:
Thread queue lock: 
Name and type hash table lock: 
String intern lock: 
JNI pinning lock: 
JNI global reference lock: 
BinClass lock: 
Class loading lock: 
Java stack lock: 
Code rewrite lock: 
Heap lock: 
Has finalization queue lock: 
Finalize me queue lock: 
Monitor IO lock: 
Child death monitor: 
Event monitor: 
I/O monitor: 
Alarm monitor: 
Waiting to be notified:
"Clock" (0x41323f04)
Monitor registry: owner "main" (0x81acf28, 1 entry)
Thread Alarm Q:
IOT trap/Abort


--
David Balazic , student
E-mail   : [EMAIL PROTECTED] | living in  sLOVEnija
home page: http://surf.to/stein
Computer: Amiga 1200 + Quantum LPS-340AT
--




Re: Survey, what tool do you use?

1998-06-18 Thread Matt Zagni

Sze Yuen,

Well, There are a few I have tried xemacs with jacob,
xelfi this is 100% pure java, and emacs. I have also
downloaded javabeans and freebuilder too. 

Basically there are a great deal of IDE's, if you are 
stuck for space try xelfi or freebuilder 
(I have as yet not tried freebuilder or javabeans) 
but I think that the space required is not to great, 
the same as xelfi.

If any one has used javabeans could they inform me
of how I should set it up please, and list the 
files needed as I have quite afew now, maybe more
then I require.

If you have lots of space try xemacs and jacob but its 
big, 180MB in all to build 50MB for the executable.
Is very good and like emacs very powerfull, and the
users a very helpfull (thanks to everyone who started 
me off).

Other than that 'vi' is a good standard editor.

Its a funny thing this IDE thing the only way is 
to try them out.

Good luck.

Matt




Commercial JAVA IDE that runs in Linux

1998-06-18 Thread Peter Schuller

Hi!

Does anyone know a good commercial Java IDE that runs in Linux? Prefarably
written in Java.

All the supposedly good ones, like JBuilder and Visul Cafe, are for Windoze
only...

Thanks!

/ Peter Schuller


---
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




Xlief, now called NetBean. Very impressive.

1998-06-18 Thread Sze Yuen Wong

Hi,

 I just downloaded NetBean 2.0 Beta (the old Xlief).
I ran it under Sun. It's slow, but it looks very impressive.

However, my whole point of searching around is to get something run
under Linux. But NetBean said it only work with Linux-java port 1.1.3,
not the latest version.

Was there any major draw backs on 1.1.3 versus 1.1.6?

I'm using a P133 with 64M memory. NetBean recommended P200-64M and
said Linux will need more!!!

Thanks,

Sze Yuen




v2-test KeyEvent bug?

1998-06-18 Thread Juergen Sonnauer

With jdk1.1.6 v2-test i have discovered a strange behavior
in a keyPressed event handling routine. The getKeyChar() function
should return a Unicode or CHAR_UNDEFINED value.
This is what i get:

java.awt.event.KeyEvent[KEY_PRESSED,keyCode=10,Enter] on frame0
KeyCode=10 Modifiers=0 KeyChar=65293

java.awt.event.KeyEvent[KEY_PRESSED,keyCode=38,Up] on frame0
KeyCode=38 Modifiers=0 KeyChar=65362

java.awt.event.KeyEvent[KEY_PRESSED,keyCode=40,Down] on frame0
KeyCode=40 Modifiers=0 KeyChar=65364

Greetings
-- 
Juergen Sonnauer




Re: Survey, what tool do you use?

1998-06-18 Thread pepr



  Here is a message I sent to the freebuilder list a while ago.
At the time,(april 98) I titled it "A dream come true".
Since then, it just got better and better.

I hope you find this IDE as useful as I do. I have been doing all my
developpement in it for the last 3 month and every week I discover a new
feature that helps in my work.

Tell me what you think.

Regards,
Richard

> 
>   For all those who desperately needed a professionnal IDE to make
> there developpement in java under Linux, the wait is over. Just take a
> look at this tool called "Wipeout" at: 
>   
> http://www.softwarebuero.de/wipeout-eng.html
> 
> Sorry for all those Windows friend but there is no Win32 version. I am
> sure you will be happy for us that for once we have something that you
> don't have. In my opinion if you are a serious java programmer, this IDE
> alone is  enough to switch to Linux.
> 
>   It will not replace Freebuilder if the people that seem to have
> appropriate it for themself ever release it in the community, but at
> least, in the mean time, we will have something to code it in. And
> something so well designed that the bar have raised quite a bit higher to
> compete with. 
> 
> Here are just a few of the features:
> 
> 1:  Smalltalk like classbrowser;(not that ugly, always in the way, tree
> simily browser). See all the classes of your project at once; click on any
> class ant see all the methods in another pane, click on any method and get
> right there in the source.

Once you are used to that you wonder how you could have find you way in a
program with more then 10 classes before. 

> 2: Graphical front end for the JDB debugger. Set breakpoint visualy,
> inspect variables, step in code, name it.
> 
> 3: Graphical front end for  CVS version control. Make changes everywhere
> in a project and if it doesn't work roll back to a working version. Not to
> mention the workgroup possibility of CVS fully supported.
> 
> 4: Entirely configurable, through regular expression, pretty printing in
> the editor with font, bolt italic and regular and custom color. And as a
> bonus the pretty printing is even supported for the printer with, as an
> extra bonus, a print preview. 
> 
> 5: All the documentation very well done in html with html reader build in.
> Does not support java documentation yet but if we are enough java
> developers to ask, who know.
It does now.
> 
> P.S. I am not related to sofwarebuero in any ways. Just very enthusiastic
> to have found something I have been looking for in the last two years.
> 
> 
> 
> 
> 
> This message comes from the FreeBuilder mailinglist.
> For archives and information about the mailinglist see
> http://www.acc.umu.se/~bagfors/free-builder/
> 




Transparent gif files

1998-06-18 Thread Wim Ceulemans

Hi

My question concerns producing transparent gifs thar are transparent on all
platforms (linux, win95 and Macintosh).

If I print the RGB value in Java of SystemColor.window I get the following
values:

Linux199,199,199
Win95  255,255,255

First of all the values for Win95 seem not good. Second in a Win95 image
tool (like for example PaintShop Pro) transparency is palette color 7 with
RGB 192,192,192

If I convert the background of a gif file to any of the above rgb values,
the background is always displayed white and never transparent. On the other
hand the gif files in the SwingSet demo application are transparent on all
platforms.

Does anyone know how to make a transparent gif like the ones used in the
SwingSet demo?


Wim Ceulemans
Nice Software Solutions





RE: Xlief, now called NetBean. Very impressive.

1998-06-18 Thread Peter Schuller

>  I just downloaded NetBean 2.0 Beta (the old Xlief).
> I ran it under Sun. It's slow, but it looks very impressive.
> 
> However, my whole point of searching around is to get something run
> under Linux. But NetBean said it only work with Linux-java port 1.1.3,
> not the latest version.
> 
> Was there any major draw backs on 1.1.3 versus 1.1.6?
> 
> I'm using a P133 with 64M memory. NetBean recommended P200-64M and
> said Linux will need more!!!

I downloaded the latest BETA a few days ago, and when I did they said it should
run on JDK 1.1.5, but that they strongly recommended JDK 1.1.6. Well, I
downloaded 1.1.6 to try it out, and it worked. The problem is that it's slow,
as you said, probably because I'm on a P133 with 48 megs of RAM (and about 20
memory leaking Netscape's running...). But the biggest problem was that it kept
hanging on me. I don't know if that's just because 1.1.6 is pretty new, or if
it's really that unstable on all platforms (probably a little of both), but it
wasn't really useable because of it.

But I agree, it looks *very* promesing. The editor, from which I always expect
a lot, was almost to my satisfaction. It had the syntax highlighting all worked
out, but IMO lacked a bit when it came to automatic indenting.

And also, there didn't seem to be a way to make the Wizards (which in turn,
don't seem to be able to be turned off) produce different styled code. It uses
the JavaSoft "official" style, which I despise to be perfectly honest. I can't
stand the way they place the brackets.

Anyway.. It's just a BETA version! I'm sure the final will be to my liking.
Maybe even worth buying?

/ Peter Schuller

"You can do better with a kind word and a shotgun than with a kind word
alone..." (reputedly said by Al Capone!)

---
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




Re: Survey, what tool do you use?

1998-06-18 Thread Michael D. James

I use emacs Java mode and GNU make on a RedHat 4.2 Linux server at our
"co-lo" (we rent rack space in a computer room).  My local machine has
a big screen and no brains (133 MHz 586 running RedHat 5.0) because
it's mostly just an X terminal over the phone.

I guess I like it but I haven't tried anything else (for Java).  Over
the phone an IDE would probably run even slower than XEmacs.  If I
continue working from home I will upgrade the speed of my internet
connection and/or my computer to do more of the work locally.

__
Michael James DC-area Java jobs: http://eliteresumes.com/
Arlington, VA
[EMAIL PROTECTED]




Re: Survey, what tool do you use?

1998-06-18 Thread Michael D. James

Ooops, forgot to mention JDK 1.1.5 (thanks Steve!), CVS, Apache's
httpd, and Apache-Linux mod_jserv.

__
Michael James DC-area Java jobs: http://eliteresumes.com/
Arlington, VA
[EMAIL PROTECTED]




2 questions: RH 5.1 and JDK; netscape.*

1998-06-18 Thread Alex Farber

Hi,

maybe someone can help me with 2 problems: i use RH 5.1 
with glibc-2.0.7-13.i386.rpm (and devel) already installed. 
When i type javac in shell, i get the error message:
"No library path set."
I am using jdk1.1.6-v1-glibc and my .bash_profile is:

export PATH=$PATH:/usr/local/bin:/usr/local/lib/jdk1.1.6/bin:.
export LANG=ru
export LC_ALL=ru
export MOZILLA_HOME=/usr/locale/lib/netscape
export 
CLASSPATH=$CLASSPATH:$MOZILLA_HOME/java/classes/java40.jar:/usr/local/lib/jdk1.1.6/lib/classes.zip
export JAVA_HOME=/usr/local/lib/jdk1.1.6

The strange thing is, that javac works, when
i use the full path: /usr/local/lib/jdk1.1.6/bin/javac 
(is it maybe some UNIX configuration problem by me?)

And my 2nd problem is that i get message:
"Package netscape.javascript not found in import."
when compiling. Why not? Isn't the java40.jar in 
CLASSPATH ?

Thank you for your help!
Greetings
Alex

-- 
russkaya literatura v -- http://www.simplex.ru/lit.html
internete http://www.friends-partners.org/~afarber/lit.html
java preferans  http://www.simplex.ru/pref.html
besplatnye kommercheskie ob'yavleniya http://www.simplex.ru





ïÔ×ÅÔ: 2 questions: RH 5.1 and JDK; netscape.*

1998-06-18 Thread Alex Farber

Hi again,

i am sorry, i have overseen the actually answer in FAQ:
the javac which was called, came not from JDK, but from
kaffe. Now i have changed my PATH and it works:

export PATH=.:/usr/local/bin:/usr/local/lib/jdk1.1.6/bin:$PATH

Also, thanks for quick reply, Steve but both NC 4.05
and JDK seem to work fine with

export CLASSPATH=MOZILLA_HOME/java/classes/java40.jar:
/usr/local/lib/jdk1.1.6/lib/classes.zip

Greetings
Alex


-éÓÈÏÄÎÏÅ ÓÏÏÂÝÅÎÉÅ-
ïÔ: Alex Farber <[EMAIL PROTECTED]>
>maybe someone can help me with 2 problems: i use RH 5.1
>with glibc-2.0.7-13.i386.rpm (and devel) already installed.
>When i type javac in shell, i get the error message:
>"No library path set."
>I am using jdk1.1.6-v1-glibc and my .bash_profile is:
>
>export PATH=$PATH:/usr/local/bin:/usr/local/lib/jdk1.1.6/bin:.
>export LANG=ru
>export LC_ALL=ru
>export MOZILLA_HOME=/usr/locale/lib/netscape
>export 
>CLASSPATH=$CLASSPATH:$MOZILLA_HOME/java/classes/java40.jar:/usr/local/lib/jdk1.1.6/lib/classes.zip
>export JAVA_HOME=/usr/local/lib/jdk1.1.6
>
>The strange thing is, that javac works, when
>i use the full path: /usr/local/lib/jdk1.1.6/bin/javac
>(is it maybe some UNIX configuration problem by me?)
>
>And my 2nd problem is that i get message:
>"Package netscape.javascript not found in import."
>when compiling. Why not? Isn't the java40.jar in
>CLASSPATH ?


--
russkaya literatura v -- http://www.simplex.ru/lit.html
internete http://www.friends-partners.org/~afarber/lit.html
java preferans  http://www.simplex.ru/pref.html
besplatnye kommercheskie ob'yavleniya http://www.simplex.ru






Re: Problem with Tya 0.7

1998-06-18 Thread Maksim Lin

I just wanted to say thanks to all the people who wrote in to help.  The
first solution I got and which worked was adding the LD_LIBRARY_PATH
enviornment variable to point to the dir which had the tya library in
it.
Perhaps this is one for the Java-linux FAQ (or perhaps TYA should get
it's own)?
BTW has anyone compared the results of the Seive and Iview demo tests on
tya to other jits?
Here in the office I had a college running NT (on a almost identical pc
to mine) with symantics jitv3 and jview try them out and he got 4x and
3x faster results (respectively) than tya.  Are these really indicative
of the speed difference between these jits and tya or was there some
factors I didin't consider (eg. my linux box is running daemons like
sendmail which the nt box isn't) ?
BTW despite the slower performance of tya, I think it's author(s) have
done an OUTSTANDING job on it and I hope they have the oppuruntiy to
work on it more in hte future (I would volunter to help, but I don't
have the faintest ides of how compilers, let alone optimising ones
work).

Thanks again, this list harbours a lot of helpful people :)
Maksim.




Java Web Server: can't find javac?!?

1998-06-18 Thread Richard Hakim

Hi -

Thank you very much to the two kind souls who replied to my query on getting
the Java Web Server going. 

I have another question though.  When I try to access a .jhtml file, I get
the following error:

Error getting compiled page

javac was not found in
/usr/lib/jdk-1.1.5/bin/../bin/i586/green_threads/javac

Now, in actual fact javac *is* at that path.  Furthermore, if as root I cd
to  and type "javac", all is well.  However, if I type 
"/usr/lib/jdk-1.1.5/bin/../bin/i586/green_threads/javac", bash says "No such
file or directory".  Could this be part of the problem?  The
/pagecompile directory does contain the appropriate .java files
for the scripts I was trying to access (e.g. credit_card.jhtml).

Can anyone help me out?  Has anyone seen this error before?  Or does anyone
know how to tell the java web server what commands to run for javac et al?

Many thanks to all replies -

Richard








Java Web Server: can't find javac?!?

1998-06-18 Thread Richard Hakim

Hi -

Thank you very much to the two kind souls who replied to my query on
getting
the Java Web Server going. 

I have another question though.  When I try to access a .jhtml file, I
get
the following error:

Error getting compiled page

javac was not found in
/usr/lib/jdk-1.1.5/bin/../bin/i586/green_threads/javac

Now, in actual fact javac *is* at that path.  Furthermore, if as root I
cd
to  and type "javac", all is well.  However, if I type 
"/usr/lib/jdk-1.1.5/bin/../bin/i586/green_threads/javac", bash says "No
such
file or directory".  Could this be part of the problem?  The
/pagecompile directory does contain the appropriate .java
files
for the scripts I was trying to access (e.g. credit_card.jhtml).

Can anyone help me out?  Has anyone seen this error before?  Or does
anyone
know how to tell the java web server what commands to run for javac et
al?

Many thanks to all replies -

Richard




Re: Survey, what tool do you use?

1998-06-18 Thread Sze Yuen Wong

Thanks for all your input.

I get 17 responses today. Here is a summary:

Xemacs: 6
Pico: 3
vi: 2
JDE: 2
Jacob: 2
Emacs: 2
WipeOut: 1
Simplicity: 1
Cat (!?) : 1

I've took out jdk cause I think everyone should be using some kind of jdk.

Thanks again.

Sze Yuen.

P.S. ok. So I think I should give up in finding an IDE. 




remove

1998-06-18 Thread Robin Yu

HI,
can you remove my name and email?
please!!