Re: Swing under Linux

1998-05-21 Thread Artur Biesiadowski

Keith T. Garner wrote:

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

Unimplemented opcodes ? Could you be more verbose - what opcodes do you
mean and where they occur ?

Artur





Re: Experiences with JBuilder?

1998-05-21 Thread Carl_E_Tallis





From: Carl E Tallis@ERS_TYSONS on 05/21/98 07:47 AM

(Sorry in advance for the format - I'm on Notes, now.)

I've used V. Cafe, and found it somewhat lacking.  Version 2.5 (the latest)
doesn't work well with Swing, and the visual/textual editing correlation is
primitive (to say the least) compared to, say, what I became used to with
Inprise's (nee Borland's) Delphi.  I have JBuilder 2 on order now, and
hope/expect that to become my standard IDE on Windows.

As for databases (I'm guessing your V. Cafe didn't come with SQLAnywhere
and DBAnywhere), I found a free, mostly JDBC compliant database called
InstantDB (www.instantdb.co.uk).  You could try that.





[EMAIL PROTECTED] on 05/21/98 02:02:25 AM

To:   Carl E Tallis/ERS
cc:
Subject:  Experiences with JBuilder?




I want to develop a database application using Java.  I want a tool that
has database aware widgets.  I can't find anything like this on Linux so
I may need to use a Windows development tool and then run the Java code
on Linux.

There seems to be two commonly used Java/Database application
development
tools and they are Visual Cafe and JBuilder.  Here are my questions:

1. Has anyone tried to use the code they generate on Linux?

2. Will they hook up to a JDBC database on Linux like SOLID Server or
   PostgreSQL?

3. Is Java on Linux (or Windows 95 for that matter) at the point where
   I can expect to develop end-user commercial software and have the
   stability and ease of use I need?

4. Are there other options besides Visual Cafe and JBuilder?

I'm leaning towards JBuilder since the company that used to be known
as Borland seems to be more open and states on their web page that
they embrace all operating systems and are not Windows centric.  The
new version (2.0) just came out and I'm waiting for any sort of press
reviews before purchasing.  I have a demo copy of Visual Cafe but
haven't got far into it since it doesn't like the SOLID Server I just
downloaded (Windows95 version).  SOLID says its a Winsock 2.0 problem
and I've got to downgrade to Winsock 1.? for it to work.  Any other
databases supporting JDBC that I can download for evaluation so that
I can test Visual Cafe?

Thanks for any help on any of this!

Brad Pepers
[EMAIL PROTECTED]








Re: Swing under Linux

1998-05-21 Thread Keith T. Garner

On Thu, May 21, 1998 at 12:54:18, Artur Biesiadowski said:
> Keith T. Garner wrote:
> > 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.
> 
> Unimplemented opcodes ? Could you be more verbose - what opcodes do you
> mean and where they occur ?

Of course, not that I've mentioned it publicly, I can't go back and
recreate it, and, unfortunately, I've been moved to another project,
so I won't have much chance to try and recreate it.

I've been using tya as much as I can in my development, so I'll keep
you posted if I hit it again.

Keith

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




native

1998-05-21 Thread Plateforme de développement Profit

I had the problem : UnsatisfiedLinkError or another of the same style in
a System.loadLibrary. By Mitterrand ( [EMAIL PROTECTED] ). I got the
tutorial at www.java.soft.

Choose the Java native Interface one.

A very important thing which is hidden : if your shared library has the
name libShared.so, your parameter in the System.loadLibrary call has to
be : Shared. That's all. That runs fine, but for a simple case. Hi! Hi!
Hi!

Profit.




Re: Experiences with JBuilder?

1998-05-21 Thread Brad Pepers

Jauvane Cavalcante de Oliveira wrote:
> 
> Hi Brad,
> 
> > There seems to be two commonly used Java/Database application development
> > tools and they are Visual Cafe and JBuilder.  Here are my questions:
> 
> I strongly suggest you to use VisualAge for Java from IBM. The Enterprise
> version has direct DataBase manipulation capabilities.

I have played with the free demo version of Visual Age and liked it.
Isn't the Enterprise version extremely expensive though?  I thought
it was over the $2000 mark.

> > 1. Has anyone tried to use the code they generate on Linux?
> 
> I've tried the generated code under Solaris/Linux/Windows and it works just
> fine. Not sure about the database access though.

Thats good to hear!  Its the database part I'm worried about though as
shown in the next response...

> > 2. Will they hook up to a JDBC database on Linux like SOLID Server or
> > PostgreSQL?
> 
> With VisualAge you can easily access any JDBC or even other DBs (DB2,
> Oracle, Ingres, even Access and FoxPro).

Do they use a middleware tool like Visual Cafe used to?  That would make
it likely only run on Windows...

> > 3. Is Java on Linux (or Windows 95 for that matter) at the point where I
> > can expect to develop end-user commercial software and have the stability
> > and ease of use I need?
> 
> Yep. You betcha.

Ok well its good to hear someone who thinks so!

> > 4. Are there other options besides Visual Cafe and JBuilder?
> 
> VisualAge is available (info) at http://www.software.ibm.com/ad/vajava/
> A very nice demo/tutorial is available at
> http://www.software.ibm.com/ad/vajava/vajscdemo.htm
> 
> I don't think you will regret the time spent in the above-mentioned demo.

I have looked at all this and did like it.  I was testing writing some
code
using Visual Age and it didn't seem to handle inner classes correctly. 
At
least the example code wouldn't work with Visual Age even though it
would
with the Sun JDK.

> For instance,  using VisualAge, I wrote the client/server applet available
> at
> http://www2.mcrlab.uottawa.ca/~jauvane/H263Decoder as well as
> http://www2.mcrlab.uottawa.ca/jets

I'll have a look!

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

Brad Pepers
[EMAIL PROTECTED]




Re: Experiences with JBuilder?

1998-05-21 Thread Jauvane Cavalcante de Oliveira

Hi Brad,

> I have played with the free demo version of Visual Age and liked it.
> Isn't the Enterprise version extremely expensive though?  I thought
> it was over the $2000 mark.

You are right. The enterprise version is quite expensive. I didn't noticed your
site wasn't an educational one, as IBM gives VAfJ for free for academic purposes
(Even the enterprise version). You may post your questions at the
ibm.software.vajava.ide discussion group at the news.software.ibm.com newsgroup.

Regarding the inner classes, you are right, you ned to create them as a separated
class or to extend the current class (I did that as I used to create some
ActionListeners on the spot).

Best Regards,

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




Which version should I choose?

1998-05-21 Thread jmc




I got the v7 of Linux (by ftp) from a directory
called "mklinux" but...
What are the meaning of "mklinux", "common" , and "i386" ?

alpha and sparc are all sum machines, right?

thankyou!

Jose

 





Re: Which version should I choose?

1998-05-21 Thread MOhican the SysAdmin


What machine are u running?




Kaffe giving me error message

1998-05-21 Thread Peter Schuller

Hi!

In addition to JDK1.1.5v7, I wanted a fast JRE (for big stuff like HotJava),
so I downloaded Kaffe (because it's JIT ability) and installed. However, kaffe
always gives me:

java.lang.NoSuchMethodError: initializeSystemClass 

when I try to run a Java class.

Does anyone know what might be wrong?

Thanks!

---
/ Peter Schuller

"I am Gates of Microsoft. You will be assimilated. We will add your currency to
our own. Your computer will adapt to service us. Resistance is futile."

---
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: Experiences with JBuilder?

1998-05-21 Thread Ugo Cei

Brad Pepers wrote:
> 
> I may need to use a Windows development tool and then run the Java code
> on Linux.

Been there, done that.
 
> 1. Has anyone tried to use the code they generate on Linux?

Visual Cafe', yes, but the PDE, not the DDE. Works ok, just had to
change some fonts in font.properties.

> 2. Will they hook up to a JDBC database on Linux like SOLID Server or

I used SOLID Server running on Linux and connected to it using Solid's
JDBC driver both from NT and from Linux, just by copying class files, no
recompilation necessary.

> 3. Is Java on Linux (or Windows 95 for that matter) at the point where
>I can expect to develop end-user commercial software and have the
>stability and ease of use I need?

Can't comment on this, I've yet to begin deploying and testing.




RedHat w/Linux

1998-05-21 Thread Steve




Until yesterday I used Slackware 3.4. It came with Java 
support. Now we have moved to RedHat5.0.  What needs to be done, if 
anything, to set it up for Java? Where can I get the latest JDK for 
Linux?
 
Thanks
 
Steve Gee
[EMAIL PROTECTED]
 


Re: Experiences with JBuilder?

1998-05-21 Thread Paul Reavis

Ugo Cei wrote:

> Brad Pepers wrote:
> > 3. Is Java on Linux (or Windows 95 for that matter) at the point where
> >I can expect to develop end-user commercial software and have the
> >stability and ease of use I need?
>
> Can't comment on this, I've yet to begin deploying and testing.

We currently develop a commercial package entirely in java under linux,
deploying on NT and Win95 for the most part (with one deployment to an Alpha
running Digital Unix). Works great; stability is good, "ease of use" is of
course entirely subjective but I find Linux easier to develop under than
Win32. I don't use an IDE, so consider that in your evaluation.

We've been doing the java thing for almost two years now, and 1.0 shipped
more than a year ago (I'm coding 2.1 as I write). Only 8 customers so far,
but at $50-$80K apiece not a bad living. :-)

So yeah, there are issues, but it works for us and I'm loving it. Cheers to
the porting team.

--

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






Segfault with (old) Linux-JVM

1998-05-21 Thread Kurt Huwig

Hello!

Using
java_dyn version "sbb:08/16/97-14:45"

I got a signal 11 error with this class. I´m writing a Java-Compiler for a
project at University (nothing special, about 20 people are doing the
same, just for education).

The ´Test12.class´ is buggy, because there is an ´aload´ missing for a
´putfield´ (and the same for ´getfield´).

I thought such things will be catched by the bytecode-verifier?!

Maybe this helps...

Kurt
 
 
| yes, it runs | Designed for | Microsoft | intel  |
| with Netware |  Windows 95  | Windows compliant | inside |
 
If you still have problems reading this signature,
   get Linux and a REAL cpu!

 Test12.class


ported jdk installation instructions?

1998-05-21 Thread Karl Pfleger

So maybe I'm being completely clueless here, but aren't there some
instructions somewhere on how to do the installation of Steve Byrne's port?

My first problem is that not being a Linux expert I have no idea whether I
should use the glibc or the libc5 version and I can't find any helpful files
that explain how I'm supposed to know which to use. Can I choose whichever I
want, and if so why would I choose one vs. the other, or do I have to get
the one to match my system (Redhat4.2), and if so how to I tell which one
matches?


So I grabbed both and looked around (1.1.5v7). There is the README file from
Sun which has no Linux specific information but does have installation
instructions for the platforms Sun supports. There is README.linux, which
talks about various things but doesn't have specific installation
instructions, and there's README.linux.src which has instructions for
re-porting from Sun's full source distribution, but no instructions for
installing Steve's prepared port.

If we are just supposed to follow the instructions for Solaris from Sun's
README, it'd be good if it said that somewhere. Maybe I just missed it.
Perhaps it is as easy as untar'ing and moving the resulting jdk1.1.5/
directory tree to the appropriate place in the file system? But again, I
didn't see that written anywhere. Am I just supposed to know that?

-Karl


Karl Pfleger   [EMAIL PROTECTED]   http://www.stanford.edu/~kpfleger/





RedHat 5.0 & JDK

1998-05-21 Thread Aleph One

Anyone had any luck running jdK 1.1.5v7 or v5 in a RH 5.0 box with the
latest glibc RPMs? I get a SIGSEGV with both deep inside glibc. 

Aleph One / [EMAIL PROTECTED]
http://underground.org/
KeyID 1024/948FD6B5 
Fingerprint EE C9 E8 AA CB AF 09 61  8C 39 EA 47 A8 6A B8 01 




Re: Java Project Opinions?

1998-05-21 Thread Maksim Lin

Sorry everyone, I should have included the url to XTC, so that anyone
interested can grap it and have a look.  Note that there isn't a whole
lot a documentation and what there is in a text file mixed in with the
src.  

http://www.cs.umb.edu/~eugene/XTC/
-- 
==
Maksim Lin

Centre for Object Technology Applications and Research
Swinburne University of Technology

http://www.csse.swin.edu.au/maksim
===




Re: Debian Java howto

1998-05-21 Thread Stephen Zander

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

As the lastest Debian java is 1.1.5, which versions do you think are
missing? :)

If you'd like to expand this further, can we please continue this off-line?

BTW, has Karl returned to hosting the java-linux lists?

-- 
Stephen (Debian jdk maintainer)
---
all coders are created equal; that they are endowed with certain
unalienable rights, of these are beer, net connectivity, and the
pursuit of bugfixes...  - Gregory R Block




Re: Experiences with JBuilder?

1998-05-21 Thread Joshua Pollak

On Wed, 20 May 1998, Brad Pepers wrote:

> I have a demo copy of Visual Cafe but
> haven't got far into it since it doesn't like the SOLID Server I just
> downloaded (Windows95 version).  SOLID says its a Winsock 2.0 problem
> and I've got to downgrade to Winsock 1.? for it to work.

We have a mantra at our office:
  "When JDK 1.1.x asks if you want to install Winsock 2.0, SAY NO!"

It has hosed more than one Win95 box here. Here is the downgrade
procedure:
  
boot to MS-DOS mode.
  run  C:\windows\ws2bakup\ws2bakup.bat
boot to windows
  run it AGAIN.
reboot.

You can look at www.microsoft.com and search around for a winsock 2
SDK.  It's hard to find, as I recall, but searching for ws2bakup may help.

(Isn't this the java-LINUX mailing list? Just wondering... ;^) )

Joshua Pollak
http://josh.pico.org







Re: Experiences with JBuilder?

1998-05-21 Thread Pete Harlan

> There seems to be two commonly used Java/Database application
> development
> tools and they are Visual Cafe and JBuilder.  Here are my questions:

I can't help you directly, but we went with Borland's C++ Builder
Client/Server a year ago.  It cost $2k for 1.0.  Now they've come out
with 3.0 (I don't know what happened to 2.0) and they want $1700 for
the upgrade.  All we want is for some of the bugs to go away, but
we're going to live with them because I'll be damned if I'm going to
pay for the product twice in hopes that some dumb bugs are squashed.

I don't know about Symantec, but perhaps their pricing is more
reasonable.

I'm sure the free-software world is behind a bit, but are they really
that far behind?  (A: Maybe.)

--
Pete Harlan
[EMAIL PROTECTED]




Re: Java Project Opinions?

1998-05-21 Thread Sean Chen

On Wed, 20 May 1998, Maksim Lin wrote:

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

It's a good project, so good that I'm doing it already =)  I'm
implementing an AWT peer library using XTC.

My main goal is to get enough to run Swing and reduce the memory footprint
from Motif bloat.

. . . Sean.





Re: ported jdk installation instructions?

1998-05-21 Thread Stephen Wynne

In message <[EMAIL PROTECTED]>, Karl
Pfleger writes:

So maybe I'm being completely clueless here, but aren't there some
instructions somewhere on how to do the installation of Steve
Byrne's port?

Karl,

Yes, http://www.blackdown.org/java-linux/docs/libraries.html is
a start.

Can I choose whichever I want, and if so why would I choose one
vs. the other, or do I have to get the one to match my system
(Redhat4.2), and if so how to I tell which one matches?

The latest version includes its own loader, but as far as I know, you
still should try to match what you download to your system's native
libc. RedHat 4.2 is "old libc" rather than glibc (new libc).

Perhaps it is as easy as untar'ing and moving the resulting
jdk1.1.5/ directory tree to the appropriate place in the file
system? But again, I didn't see that written anywhere.

Yes, that's right. The wrapper scripts that are provided with the JDK
discover what a good value for JAVA_HOME and CLASSPATH should be, and
then set that for you (if you haven't set them already). They try to
modify those environment variables if they're already set, but you
should be OK at first to run without setting them yourself.

Stephen






Re: Java Project Opinions?

1998-05-21 Thread Sean Chen

On Fri, 22 May 1998, Maksim Lin wrote:

> Sorry everyone, I should have included the url to XTC, so that anyone
> interested can grap it and have a look.  Note that there isn't a whole
> lot a documentation and what there is in a text file mixed in with the
> src.  
> 
> http://www.cs.umb.edu/~eugene/XTC/

Since there seems to be some interest, you can get a sneak peak at the XTC
awt library at:

ftp://falconwing.com/pub/XTC/xtc.awt.tar.gz

It contains a newer version of XTC than the one at Eugene's site.  There
isn't much functionality, but the Scribble application from the Java
Nutshell handbook works.  So far, Panel, Graphics, Font, and the mouse
events are the only things working.

If you run it under kaffe, you get a memory footprint of 6 megs vs 22
with the jdk.

Anybody want to pitch in? =)

. . . Sean.





Re: RedHat 5.0 & JDK

1998-05-21 Thread John Collins

Aleph One wrote:

> Anyone had any luck running jdK 1.1.5v7 or v5 in a RH 5.0 box with the
> latest glibc RPMs? I get a SIGSEGV with both deep inside glibc.

The v7 works fine for me on RH 5.0. I use it every day, and I have a
large RMI-based system that we run on NT and Solaris as well as Linux. It
uses the latest ObjectStore PSE Pro package, which is 100% Java and seems
to run without a hitch. I had to put in the latest glibc, but that's all.
Also, to run RMI I had to make sure the hosts file and the HOSTNAME file
agreed on what the name of this machine is. Keep at it; it should work.

John Collins
University of Minnesota





Experiences with JBuilder?

1998-05-21 Thread Brad Pepers

I want to develop a database application using Java.  I want a tool that
has database aware widgets.  I can't find anything like this on Linux so
I may need to use a Windows development tool and then run the Java code
on Linux.

There seems to be two commonly used Java/Database application
development
tools and they are Visual Cafe and JBuilder.  Here are my questions:

1. Has anyone tried to use the code they generate on Linux?

2. Will they hook up to a JDBC database on Linux like SOLID Server or
   PostgreSQL?

3. Is Java on Linux (or Windows 95 for that matter) at the point where
   I can expect to develop end-user commercial software and have the
   stability and ease of use I need?

4. Are there other options besides Visual Cafe and JBuilder?

I'm leaning towards JBuilder since the company that used to be known
as Borland seems to be more open and states on their web page that
they embrace all operating systems and are not Windows centric.  The
new version (2.0) just came out and I'm waiting for any sort of press
reviews before purchasing.  I have a demo copy of Visual Cafe but
haven't got far into it since it doesn't like the SOLID Server I just
downloaded (Windows95 version).  SOLID says its a Winsock 2.0 problem
and I've got to downgrade to Winsock 1.? for it to work.  Any other
databases supporting JDBC that I can download for evaluation so that
I can test Visual Cafe?

Thanks for any help on any of this!

Brad Pepers
[EMAIL PROTECTED]




JDBC mailing list

1998-05-21 Thread Florian-Gabriel Popescu

Hello all,

You now where is move jdbc mailing list ?

Thanks in advance,
Florian