Re: JDBC-connection in Linux

1998-12-12 Thread Wim Ceulemans




Hi Thor
 
I use postgreSQL together with their type 4 JDBC 
driver on my linux-box and it works fine. I have Win32 clients and MacOS clients 
accessing the database through the JDBC driver (postgresql.jar). You can find it 
at www.postgresl.org.  More info 
concerning the JDBC driver you can find at http://www.retep.org.uk/postgres/
 
Regards

Wim Ceulemans - [EMAIL PROTECTED]Nice Software 
SolutionsEglegemweg 3, 2811 Hombeek - BelgiumTel +32(0)15 41 29 53 - Fax 
+32(0)15 41 29 54
 

Im developing a system that uses both 
servlets and applets. So far we have used NT4, IIS4 with JRun 2.2a, MS SQL 
Server 6.5 and Symantec dbAnywhere Server as the platform.
I have Red Hat 5.0 installed at home and now 
I want to use it as the platform, for testing purposes. What database should 
I use, is it free, and what JDBC-middleware do I use?
 
 
Thor Erik KarlsenCatalyst ONE AS[EMAIL PROTECTED]


RE: JDBC-connection in Linux

1998-12-12 Thread Tauren Mills




I'd 
highly recommend taking a look at MySQL.  www.mysql.com
 
I'm 
using RedHat 5.2, JRun 2.2.1, and MySQL with type 4 JDBC drivers.  The 
database and JDBC drivers are free.  The database is faster than anything 
else I've seen, including the big ones like Oracle, MS SQL, Informix, 
etc.
 

-Original Message-From: Thor Erik Karlsen 
[mailto:[EMAIL PROTECTED]]Sent: Friday, December 11, 1998 5:21 
PMTo: [EMAIL PROTECTED]Subject: 
JDBC-connection in Linux
Im developing a system that uses both 
servlets and applets. So far we have used NT4, IIS4 with JRun 2.2a, MS SQL 
Server 6.5 and Symantec dbAnywhere Server as the platform.
I have Red Hat 5.0 installed at home and now 
I want to use it as the platform, for testing purposes. What database should 
I use, is it free, and what JDBC-middleware do I use?
 
 
Thor Erik KarlsenCatalyst ONE AS[EMAIL PROTECTED]


Re: what tools do you use for programming

1998-12-12 Thread jim watson

I have NT4 and Linux on separate partitions. NT has a boot loader, which
can run msdos,  i just put a autoexec.bat file to run loadlin with the
kernel in the dos directory, and away it goes  - under this arrangement
i think NT does not have any way to even know linux is there, but it had
to be NT first? but linux can access the NT(dos) partition ok,


> You can install both OS's, but you must be careful about which
to
> install fisrt... (NT, of course, linux is a little more friendly with
> other OSs:)
>



Re: Bug#30427: Missing "stat"/libc6 install incomplete?

1998-12-12 Thread Bernd Kreimeier


[Bcc: to Java Linux list and package maintainers.]

I am happy to report that (after a grating update
"post register_frame_info"), the loadLibrary() problem
with Debian "slink" libc6 and JDK 1.1.7v1a-native is gone. 

>dpkg -l libc6
ii  libc6   2.0.7u-7.1 The GNU C library version 2
>dpkg -s libc6
Package: libc6
Status: install ok installed
...
Version: 2.0.7u-7.1

There still is a "W stat" symbol in /lib/libreadline.so.2.1,
which to my understanding should not be there, as this
symbol is not supposed to appear anywhere in a libc6
dependend library except for /usr/lib/libc_nonshared.a.
 
>dpkg -s libreadlineg2
Package: libreadlineg2
Status: install ok installed
...
Version: 2.1-12
Depends: libc6 (>= 2.0.7u), libncurses4

If you want me to submit a new "stat in libreadline" bug 
report, drop me a line. The libc6 related bug can be
closed, as far as I can tell.


b.



javac - library errors

1998-12-12 Thread Lord Bodah

every time i try to compile, i get one of the following 2 errors:


in X, i get:

[Bodah@Bodah Bodah]$ javac
No library path set.

On just the console, i get:

Unable to find native libraries in /usr/local/jdk/lib

What i have in .profile and .bash_profile are:

JAVA_HOME="/usr/local/jdk"
JDKBIN="/usr/local/jdk/bin"
LD_LIBRARY_PATH="$LD_LIBRARY_PATH:/usr/local/jdk/lib"
CLASSPATH="$CLASSPATH:/usr/local/jdk/lib/classes.zip"

export LD_LIBRARY_PATH CLASSPATH JAVA_HOME JDKBIN


For the LD_LIBRARY_PATH, i have also tried 
/usr/local/jdk/lib/i586/green_threads

I have read the local and online documentation several times.

__
Get Your Private, Free Email at http://www.hotmail.com



Re: javac - library errors

1998-12-12 Thread Han,sang-hyuck


try like this

 [Bodah@Bodah Bodah]$ /usr/local/jdk/bin/javac

if it work well,

your JDK path doesn't work

then try like this
[Bodah@Bodah Bodah]$ which javac
I think the result is
/usr/bin/javac

then remove /usr/bin/javac ...
 
 
 

Lord Bodah wrote:

> every time i try to compile, i get one of the following 2 errors:
>
> in X, i get:
>
> [Bodah@Bodah Bodah]$ javac
> No library path set.
>
> On just the console, i get:
>
> Unable to find native libraries in /usr/local/jdk/lib
>
> What i have in .profile and .bash_profile are:
>
> JAVA_HOME="/usr/local/jdk"
> JDKBIN="/usr/local/jdk/bin"
> LD_LIBRARY_PATH="$LD_LIBRARY_PATH:/usr/local/jdk/lib"
> CLASSPATH="$CLASSPATH:/usr/local/jdk/lib/classes.zip"
>
> export LD_LIBRARY_PATH CLASSPATH JAVA_HOME JDKBIN
>
> For the LD_LIBRARY_PATH, i have also tried
> /usr/local/jdk/lib/i586/green_threads
>
> I have read the local and online documentation several times.
>
> __
> Get Your Private, Free Email at http://www.hotmail.com

-
home : http://rtislab.chungnam.ac.kr/~hanul
mail : [EMAIL PROTECTED]



Re: Java.Linux.GUI

1998-12-12 Thread Paul Ho

At 8:13 PM -0800 12/11/98, irfuben wrote:

>Replace X-windows with a GUI written in Java

GGI or SVGAlib?

>specifically for Linux and Apache.

Apache? In what way?


Cheers,
Paul









Re: JDBC-connection in Linux

1998-12-12 Thread Leo Cyr

I too have had great success with postgresql (www.postgresql.org ;-) --
I've used the driver and code I wrote on many platforms including 4.x+
browsers and it works great so far.

Is anyone using postgreSQL (6.3.2 or other) with postgresql.jar in any
"high load" production environment like in an application server
(running on a linux jdk)? How is it doing? any problems...


Thor Erik Karlsen wrote:

>  Im developing a system that uses both servlets and applets. So far we
> have used NT4, IIS4 with JRun 2.2a, MS SQL Server 6.5 and Symantec
> dbAnywhere Server as the platform.I have Red Hat 5.0 installed at home
> and now I want to use it as the platform, for testing purposes. What
> database should I use, is it free, and what JDBC-middleware do I
> use?  Thor Erik Karlsen
> Catalyst ONE AS
> [EMAIL PROTECTED]

Leo



Re: JDBC-connection in Linux

1998-12-12 Thread Alex Rice


On Sat, 12 Dec 1998 02:21:06 +0100,
"Thor Erik Karlsen" <[EMAIL PROTECTED]> said:

Thor> Im developing a system that uses both servlets and applets. So far
Thor> we = have used NT4, IIS4 with JRun 2.2a, MS SQL Server 6.5 and
Thor> Symantec = dbAnywhere Server as the platform.

Thor> I have Red Hat 5.0 installed at home and now I want to use it as
Thor> the = platform, for testing purposes. What database should I use,
Thor> is it free, = and what JDBC-middleware do I use?

MySQL. see www.tcx.se/

For a JDBC driver there are several but I would recommend TWZ.

MySQL beats the #$%^& out of Postgres and MSQL. Also a few commercial
databases were ported to Linux recently, like Oracle and Sybase, prehaps?

alex


Thor> Thor Erik Karlsen
Thor> Catalyst ONE AS
Thor> [EMAIL PROTECTED]

Thor> --=_NextPart_000_001C_01BE2576.131A9370
Thor> Content-Type: text/html;
Thor>   charset="iso-8859-1"
Thor> Content-Transfer-Encoding: quoted-printable

Thor> 
Thor> 
Thor> 

Thor>  http-equiv=3DContent-Type>
Thor> 
Thor> 
Thor> 
Thor> Im developing a system that uses =
Thor> both servlets=20
Thor> and applets. So far we have used NT4, IIS4 with JRun 2.2a, MS SQL Server =
Thor> 6.5 and=20
Thor> Symantec dbAnywhere Server as the platform.
Thor> I have Red Hat 5.0 installed at home =
Thor> and now I=20
Thor> want to use it as the platform, for testing purposes. What database =
Thor> should I=20
Thor> use, is it free, and what JDBC-middleware do I use?
Thor>  
Thor>  
Thor> Thor Erik KarlsenCatalyst ONE =
Thor> AS href=3D"mailto:[EMAIL PROTECTED]">[EMAIL PROTECTED]

Thor> --=_NextPart_000_001C_01BE2576.131A9370--



Re: JDBC-connection in Linux

1998-12-12 Thread Leo Cyr

I have seen no direct comparison between MySQL and postgresql (around 6.3.2) are the
jdbc drivers stable, complete, ...? Feel free to follow up directly to me (since
it's off topic) but, what makes MySQL so much better than postgresql?  I've just
gotten into the free source RDBMS realm and postgres seemed to be very good... I'd
just like to know what others have seen.

Leo

Alex Rice wrote:

> On Sat, 12 Dec 1998 02:21:06 +0100,
> "Thor Erik Karlsen" <[EMAIL PROTECTED]> said:
>
> Thor> Im developing a system that uses both servlets and applets. So far
> Thor> we = have used NT4, IIS4 with JRun 2.2a, MS SQL Server 6.5 and
> Thor> Symantec = dbAnywhere Server as the platform.
>
> Thor> I have Red Hat 5.0 installed at home and now I want to use it as
> Thor> the = platform, for testing purposes. What database should I use,
> Thor> is it free, = and what JDBC-middleware do I use?
>
> MySQL. see www.tcx.se/
>
> For a JDBC driver there are several but I would recommend TWZ.
>
> MySQL beats the #$%^& out of Postgres and MSQL. Also a few commercial
> databases were ported to Linux recently, like Oracle and Sybase, prehaps?
>
> alex
>
> Thor> Thor Erik Karlsen
> Thor> Catalyst ONE AS
> Thor> [EMAIL PROTECTED]
>
> Thor> --=_NextPart_000_001C_01BE2576.131A9370
> Thor> Content-Type: text/html;
> Thor>   charset="iso-8859-1"
> Thor> Content-Transfer-Encoding: quoted-printable
>
> Thor> 
> Thor> 
> Thor> 
>
> Thor>  Thor> http-equiv=3DContent-Type>
> Thor> 
> Thor> 
> Thor> 
> Thor> Im developing a system that uses =
> Thor> both servlets=20
> Thor> and applets. So far we have used NT4, IIS4 with JRun 2.2a, MS SQL Server =
> Thor> 6.5 and=20
> Thor> Symantec dbAnywhere Server as the platform.
> Thor> I have Red Hat 5.0 installed at home =
> Thor> and now I=20
> Thor> want to use it as the platform, for testing purposes. What database =
> Thor> should I=20
> Thor> use, is it free, and what JDBC-middleware do I use?
> Thor>  
> Thor>  
> Thor> Thor Erik KarlsenCatalyst ONE =
> Thor> AS Thor> href=3D"mailto:[EMAIL PROTECTED]">[EMAIL PROTECTED] ODY>
>
> Thor> --=_NextPart_000_001C_01BE2576.131A9370--



Re: JDBC-connection in Linux

1998-12-12 Thread Christopher Hinds

Try WebLogic's , they have multiple Type 4 (and Type 2) JDBC Drivers
for most of production comercial DBMSs
 www.weblogic.com

They may be free , in any event they do offer eval licenses
Cheers
Chris



Thor Erik Karlsen wrote:

>  Im developing a system that uses both servlets and applets. So far we
> have used NT4, IIS4 with JRun 2.2a, MS SQL Server 6.5 and Symantec
> dbAnywhere Server as the platform.I have Red Hat 5.0 installed at home
> and now I want to use it as the platform, for testing purposes. What
> database should I use, is it free, and what JDBC-middleware do I
> use?  Thor Erik Karlsen
> Catalyst ONE AS
> [EMAIL PROTECTED]


begin:vcard 
n:Hinds;Christopher 
tel;fax:718-789-7906
tel;home:718-789-7906
x-mozilla-html:FALSE
org:Heuristic Systems, Inc.
version:2.1
email;internet:[EMAIL PROTECTED]
title:Chief Engineer - President
adr;quoted-printable:;;160 FIFTH AVE=0D=0ASUITE 4R;Park Slope;NY;11217;USA
x-mozilla-cpt:;0
fn:Christopher Hinds
end:vcard



Re: javac - library errors

1998-12-12 Thread Carlos Alberto Roman Zamitiz

Yes, that's right. This error happens when you have Kaffe.
If you remove it, javac and java work fine.

Carlos Alberto Roman Zamitiz
Departamento de Ingenieria en Computacion, Facultad de Ingenieria UNAM
[EMAIL PROTECTED]

On Sun, 6 Dec 1998, Han,sang-hyuck wrote:

> 
> try like this
> 
>  [Bodah@Bodah Bodah]$ /usr/local/jdk/bin/javac
> 
> if it work well,
> 
> your JDK path doesn't work
> 
> then try like this
> [Bodah@Bodah Bodah]$ which javac
> I think the result is
> /usr/bin/javac
> 
> then remove /usr/bin/javac ...
>  
>  
>  
> 
> Lord Bodah wrote:
> 
> > every time i try to compile, i get one of the following 2 errors:
> >
> > in X, i get:
> >
> > [Bodah@Bodah Bodah]$ javac
> > No library path set.
> >
> > On just the console, i get:
> >
> > Unable to find native libraries in /usr/local/jdk/lib
> >
> > What i have in .profile and .bash_profile are:
> >
> > JAVA_HOME="/usr/local/jdk"
> > JDKBIN="/usr/local/jdk/bin"
> > LD_LIBRARY_PATH="$LD_LIBRARY_PATH:/usr/local/jdk/lib"
> > CLASSPATH="$CLASSPATH:/usr/local/jdk/lib/classes.zip"
> >
> > export LD_LIBRARY_PATH CLASSPATH JAVA_HOME JDKBIN
> >
> > For the LD_LIBRARY_PATH, i have also tried
> > /usr/local/jdk/lib/i586/green_threads
> >
> > I have read the local and online documentation several times.
> >
> > __
> > Get Your Private, Free Email at http://www.hotmail.com
> 
> -
> home : http://rtislab.chungnam.ac.kr/~hanul
> mail : [EMAIL PROTECTED]
> 
> 



Re: Killing Applets in browsers

1998-12-12 Thread Christopher Hinds

Since the browser caches HTML pages in a history list of some type,
every
you time leave and return to the HTML page, the applet will be activated
( start() ) and deactivated ( stop() ) respectively. Therefore you can
try clearing the cached pages which should force the embedded JVM
to call the destroy() on the applet.  Or you can uses JavaScript to
clear the browser cached history
list if the browser supports JavaScript.

Cheers
Chris


Thor Erik Karlsen wrote:

>  This is a proplem that has been irritating me since the day I started
> developing applets(not that long ago). Is there a WORKING way an
> applet can destroy itself and tell the browser that its dead? I always
> have to start the browser again and reload the applet during
> development. Destroy() dont work. What im looking for is some code
> within the applet that solves the problem once for all.  Thor Erik
> Karlsen
> Catalyst ONE AS
> [EMAIL PROTECTED]


begin:vcard 
n:Hinds;Christopher 
tel;fax:718-789-7906
tel;home:718-789-7906
x-mozilla-html:FALSE
org:Heuristic Systems, Inc.
version:2.1
email;internet:[EMAIL PROTECTED]
title:Chief Engineer - President
adr;quoted-printable:;;160 FIFTH AVE=0D=0ASUITE 4R;Park Slope;NY;11217;USA
x-mozilla-cpt:;0
fn:Christopher Hinds
end:vcard



Re: what tools do you use for programming

1998-12-12 Thread Christopher Hinds

I use System Commander , which is a boot manager that can manage the
boot partitions for multiple OSs on the same machine. I currently
use is on a CTX notebook and have NT 4.0 , RedHat Linux 5.1 and even Win95.

V Communcation
www.v-com.com or www.v-comm.com

Cheers
Chris

jim watson wrote:

> I have NT4 and Linux on separate partitions. NT has a boot loader, which
> can run msdos,  i just put a autoexec.bat file to run loadlin with the
> kernel in the dos directory, and away it goes  - under this arrangement
> i think NT does not have any way to even know linux is there, but it had
> to be NT first? but linux can access the NT(dos) partition ok,
>
> > You can install both OS's, but you must be careful about which
> to
> > install fisrt... (NT, of course, linux is a little more friendly with
> > other OSs:)
> >


begin:vcard 
n:Hinds;Christopher 
tel;fax:718-789-7906
tel;home:718-789-7906
x-mozilla-html:FALSE
org:Heuristic Systems, Inc.
version:2.1
email;internet:[EMAIL PROTECTED]
title:Chief Engineer - President
adr;quoted-printable:;;160 FIFTH AVE=0D=0ASUITE 4R;Park Slope;NY;11217;USA
x-mozilla-cpt:;0
fn:Christopher Hinds
end:vcard



Re: VisualAge for Java 2.0

1998-12-12 Thread Jauvane Cavalcante de Oliveira

Hi Jonathan, hi everyone,

> Perhaps it is offtopic, but I AM interested.  How would you compare
> VAJava 2.0 to Visual Cafe or JBuilder 2?  I'm wanting to settle on (and learn)
> an IDE so I can get the mechanics out of the way and focus on the language.

As I got some messages asking for some more info, I decided to send one more
off-topic message to the group. Please forgive me for that, but it is still
somewhat related :-)

You try out VAJava Entry Edition, which is free and may downloaded from
http://www7.software.ibm.com/vad.nsf/data/document2590. This version has most of
the features of the final release, but it has a limit in the number of classes you
may have. I would strongly recomend you to watch the screencams available at
http://www.software.ibm.com/ad/vajava/vajscdemo.htm. It is a tutorial where some
of the features are shown in the VAJava environment itself. I bet you'll be
impressed as well :-D. This tutorial was for VAJava 1.0, hence the new version 2.0
has those features + some more... I really think that IBM will someday release
VAJava for Linux as they already released it for AIX...

I don't know much about VisualCafe, but it seems (as far as I know by reading
postings by others) to use an external JDK to compile. On one hand this lets you
choose which JVM you wanna use, on the other hand it does not offer as many
features as VAJava... Not sure about Jbuilder as well. VJ++ earns no remarks here
as it does not implement Java yet (as defined by Sun).

> Do the VA products have a similar functionality?  If so, I would like to
> look at VAC++ for WIndows as well.

Yes, they do. I just started looking into VAC++. It does have a lot of differences
but it from VAJava you'd be confortable enough with it.

-
 _/ _/_/ Jauvane Cavalcante de Oliveira
_/ _/   _/  University of Ottawa
   _/ _/  _/ _/_/  School of Information Technology & Engineering
  _/ _/ _/ _/ Multimedia Communications Research Laboratory
_/   _/ _/_/  _/ Phone:1(613)562-5800 Ext.6248/6243  FAX:562-5175
_/_/_/ _/ _/_/  Canada http://www2.mcrlab.uottawa.ca/~jauvane
-
|Bolsista da CAPES - Brasilia/Brasil|
-




Re: what tools do you use for programming

1998-12-12 Thread Jauvane Cavalcante de Oliveira

> > You can install both OS's, but you must be careful about which to
> > install fisrt... (NT, of course, linux is a little more friendly with
> > other OSs:)

I have installed in this order the three OSs I use. Win95, WinNT 4.0, Debian
Linux 2.0. WinNT, as previously stated, has the OS loader which allows you,
by default, to choose between Win95 or WinNT. I do that because I may use
each OS in whichever it is stronger (or if it is the only option), namely
Win95 for multimedia related stuff (video capture/processing due to
ActiveX), WinNT for OpenGL based stuff (I work with VRML and VR now), Linux
for Java, Hobby, Video for Linux II, Anything that does not require Windoz.

It is possible to add Linux to your boot sequence by following the following
procedure:

Assuming that Linux sits in /dev/hda4, Win95 in /dev/hda2 and WinNT in
/dev/hda3

First mount the Win95 partition, let's suppose mounting as /win95. After
that you may type the following command:

dd if=/dev/hda4 bs=512 count=1 of=/win95/bootsek.lin

After that edit boot.ini and add the following line at the bottom:

C:\bootsek.lin="Debian Linux 2.0"

You might need to increase the "timeout" line to something else if it has 0
there. Usually 5 to 8 (seconds) is just fine. This is the time you will have
before the OS loader choses the default OS (the first one).

This way next time you boot te option Debian Linux 2.0 will show up, when
you choose that one the bootsek.lin has the info necessary to load Linux. Be
aware that you should have installed the kernel and lilo in your HD, namely
on /dev/hda4 for this demo.

Good luck,

-
 _/ _/_/ Jauvane Cavalcante de Oliveira
_/ _/   _/  University of Ottawa
   _/ _/  _/ _/_/  School of Information Technology & Engineering
  _/ _/ _/ _/ Multimedia Communications Research Laboratory
_/   _/ _/_/  _/ Phone:1(613)562-5800 Ext.6248/6243  FAX:562-5175
_/_/_/ _/ _/_/  Canada http://www2.mcrlab.uottawa.ca/~jauvane
-
|Bolsista da CAPES - Brasilia/Brasil|
-



Java is... boring. The new award for Java

1998-12-12 Thread Andrew V. Shuvalov

Hello!
   Please take a look at Samovar awards December page:
http://www.ecsl.cs.sunysb.edu/~andrew/awards/December.html
  that tell some funny stories about tech industry.

Good luck!
Andrew




Re: BUG? Modal dialogs don't call subclass constructors!!!

1998-12-12 Thread Dimitris Vyzovitis



 
I wrote a short program and tested it with 1.1.7, 1.2 (both with
green and native threads) on Solaris and with 1.1.7 (green threads
and native threads) and 1.2 native threads (not available yet) on Linux:
All show the same behavior -- the execution stops after show().
 
yes, but why doesn't it stop with native threads on linux j117?
 
Where does the execution stop on windows? After the finishing the
execution of the topmost constructor?
Funny.
Windows allows the dialog to appear after having finished with the
sub-class concstructor.
 
Could you please send me your code, so I can take a closer look
at this?
OK, I'll try to clean up unecessary stuff because there are a lot of dependencies
between packages I use.
 
Note that we are talking about modal dialogs but your posted example
creates a *non*-modal dialog:
> public NoiseWizard( Component master, NoiseBuilder builder ) throws
> AWTException
>  {
>  super( components.applet.AppletUtilities.getTopLevelParent(
master ),
>  "Noise Builder Wizard", false, false
);
  
*
 
this is correct (and obvious ;-} ).
I apologzie, i was trying whether it works with non-modal dlgs
when I copy-pasted the code.
But no good, it behaves identically, even with non-modal dialogs ;-}
(is this behavior correct?)
I 'll send the code directly to you, somewhat later (after determining
what additional packages  you need in order to compile).
 
-- 
Dimitrios Vyzovitis  -- Information Processing Laboratory
[EMAIL PROTECTED] -- Aristotle University of Thessaloniki
[EMAIL PROTECTED] -- Dept. of Electrical and Computer Engineering
    http://egnatia.ee.auth.gr/~dviz
 


Problems with Threads

1998-12-12 Thread Carlos Alberto Roman Zamitiz

I have a problem with threads: My java client contains 2 threads which
call to 2 methods. First thread calls method "x" into while(true) but when
second thread calls method "y", first thread must wait. When second thread
finish method "y" must notify and first thread will awake.

But I receive this message:
java.lang.IllegalMonitorStateException: current thread not owner
at Cliente.enviarPeticion(Cliente.java:141)
at Cliente.run(Cliente.java:91)
at java.lang.Thread.run(Thread.java)

Why? thanks.

Carlos Alberto Roman Zamitiz
Departamento de Ingenieria en Computacion, Facultad de Ingenieria UNAM
[EMAIL PROTECTED]



java crashes on remote x11-server

1998-12-12 Thread Hans diez

My Linux computer is connected to a Windows NT workstation where I run 
an X-server. I get problems when I start a java application or an applet 
on the remote X-server. Using the X11 server on the linux machine 
directly, however, everything works fine.

Details: I tried it with both x-servers MI/X and HoblinkX11. Netscape 
Navigator 4.08 works fine on these servers, until a java applet loads, 
then the browser crashes immediately (without warning). Starting the 
appletviewer (blackdown JDK 1.0.6) I get a very tiny window (about 10x10 
pixels); if I resize it with the mouse, there is a only grey background 
without any content. Trying to start an application with the java 
interpreter, it shuts down with a message 'java.lang.thread not found'. 
I checked the CLASSPATHs in each of the described cases (e.g. I start 
the navigator with a classpath containing only the necessary java40) I 
think, the classpath cannot be the reason. Moreover, everything works 
fine (java, appletviwer, navigator) using it direcly on the linux 
machine.

I hope, that someone can help me or tell me the reason for this 
behaviour

Hans

__
Get Your Private, Free Email at http://www.hotmail.com



Re: BUG? Modal dialogs don't call subclass constructors!!!

1998-12-12 Thread Juergen Kreileder

> Dimitris Vyzovitis writes:

>> I wrote a short program and tested it with 1.1.7, 1.2 (both with
>> green and native threads) on Solaris and with 1.1.7 (green threads
>> and native threads) and 1.2 native threads (not available yet) on Linux:
>> All show the same behavior -- the execution stops after show().
>> 

Dimitris> yes, but why doesn't it stop with native threads on linux j117?

In my test case it stops!


I've attached my test program. I tested it with:
Linux 1.1.6v3 green threads
Linux 1.1.7v1a green threads
Linux 1.1.7v1a native threads
Linux 1.2 native threads
Solaris 1.1.7 green threads
Solaris 1.1.7 native threads
Solaris 1.2 green threads
Solaris 1.2 native threads2

The results of the modal test are the same with all VMs (including
1.1.7v1 native threads).
$ java DialogShow modal
MODAL TEST:
entering ExtendedDialogShow constructor
finished Dialog constructor
show modal Dialog  <-- it blocks here
!!! hiding Dialog
after show
after setResizable
finished ExtendedDialogShow constructor


The results of the non-modal test are all the same too.
$ java DialogShow non-modal
NON-MODAL TEST:
entering ExtendedDialogShow constructor
finished Dialog constructor
show non-modal Dialog
after show
after setResizable
finished ExtendedDialogShow constructor
!!! hiding Dialog


The results are correct, if the dialog is modal 'show()' blocks.


Juergen


 DialogShow.java


Re: Java 1.2

1998-12-12 Thread Ron Resnick

Michael Privat wrote:
> 
> Hi,
> I realise you probably get this question ten thousand times a day,
> but is there a Java v1.2 porting project ? Is there any approximation
> about when it would be available ?
> 
> Thanks a lot,
> Michael Privat
> 
> ---
> Michael Privat
> Massachusetts Institute of Technology
> CECI - Advanced Artificial Intelligence - ALIVE Project
> ---

Hello,

I've only been monitoring this list for  a short while myself,
but... this question does get asked a lot, and (I think) for
good reason. One of the key reasons I started poking around
on blackdown.org was to find out what the plans were for
JDK1.2 on Linux. The FAQ is vague, and clearly was written
some time ago.

My main comment here is:

I think it would be a good idea to update the FAQ, and perhaps
also put a note on the blackdown.org Java-port main page, indicating
the present status of 1.2 portation. Even if the only status
that can be reported is "don't bug us! we're working on it
and will let you know when we have something to tell you", that
would be fine, presuming it was clear that this was datestamped
after the official Sun release of Java2 a few days ago, so people
knew it was recent info.

Just my .02

Ron

--
Ron Resnick
DiaLogos Incorporated
http://www.dialogosweb.com



Re: How can I debug Java Program??

1998-12-12 Thread Darius Bacon

> Date: Fri, 11 Dec 1998 13:43:25 +0100
> From: Ernst de Haan <[EMAIL PROTECTED]>
> To: "Han,sang-hyuck" <[EMAIL PROTECTED]>
> Cc: John Summerfield <[EMAIL PROTECTED]>,
> Christopher Hinds <[EMAIL PROTECTED]>,
> "[EMAIL PROTECTED]" <[EMAIL PROTECTED]>,
> Java-Linux <[EMAIL PROTECTED]>
> Subject: Re: How can I debug Java Program??
> 
> Hi Han,
> 
> There are different approaches one can take on debugging a Java program:
> 1) Using System.out.println's at places you expect trouble.
> 2) Use a debugMode boolean property throuhout your program and a
> (central?) logger. Make your object log info/warning/error messages to
> the logger. Make the logger decide what to display to System.err (for
> example), based on the debugMode condition.
> 3) Use a debugger provided by an IDE, like JBuilder or Symantec Visual
> Cafe
> 4) Use the JDK Java debugger \:( (wouldn't do this if I were you)

There are a couple other options on Linux.

Metamata Debug, from my employer: http://www.metamata.com/products/debug.html
Non-free, but you can download an evaluation copy.

IBM's Jikes debugger: http://www.alphaWorks.ibm.com/formula/JikesDebugger
A free graphical debugger using the sun.tools.debug classes.

-Darius



VAJava 4 Linux petition is still on!!!

1998-12-12 Thread Jauvane Cavalcante de Oliveira

I just received a messge letting me know that the petition asking IBM to
release a version of VAJava is still collecting signatures and will soon
be forwarded to IBM. So, if you did not sign it already and you would
like to have such development environment for Linux (as well as an
indirect support from IBM) I would suggest you to sign it up and
increase the 700 mark already reached :-D.

The URL is http://www.jguru.com/thetick/visualage/tips. follow the
"petition" link.

JVc.



Re: Java 1.2

1998-12-12 Thread James Seigel

Maybe there would be a volunteer from the list that would be able to 
help keep the page up to date.  I just know what it is like to be 
busy.I am assuming that those lovely people at blackdown are busy 
as well...

Those are just my $0.02

James.

>> Original Message <<

On 12/12/98, 4:53:33 PM, Ron Resnick <[EMAIL PROTECTED]> wrote 
regarding Re: Java 1.2:


> Michael Privat wrote:
> >
> > Hi,
> > I realise you probably get this question ten thousand times a day,
> > but is there a Java v1.2 porting project ? Is there any approximation
> > about when it would be available ?
> >
> > Thanks a lot,
> > Michael Privat
> >
> > ---
> > Michael Privat
> > Massachusetts Institute of Technology
> > CECI - Advanced Artificial Intelligence - ALIVE Project
> > ---

> Hello,

> I've only been monitoring this list for  a short while myself,
> but... this question does get asked a lot, and (I think) for
> good reason. One of the key reasons I started poking around
> on blackdown.org was to find out what the plans were for
> JDK1.2 on Linux. The FAQ is vague, and clearly was written
> some time ago.

> My main comment here is:

> I think it would be a good idea to update the FAQ, and perhaps
> also put a note on the blackdown.org Java-port main page, indicating
> the present status of 1.2 portation. Even if the only status
> that can be reported is "don't bug us! we're working on it
> and will let you know when we have something to tell you", that
> would be fine, presuming it was clear that this was datestamped
> after the official Sun release of Java2 a few days ago, so people
> knew it was recent info.

> Just my .02

> Ron

> --
> Ron Resnick
> DiaLogos Incorporated
> http://www.dialogosweb.com