Re: We need change, I think...

1999-08-17 Thread Jim Hazen

I'm going to have to agree completely.  Now I can only imagine what a
colossal PITA porting JDK 1.2 must be, given the bazillion API changes
ranging from sound to 3D graphics support, but at least give us up to
date information, at least once a week I'd say.  Even if all they said
was that they had a busy week with personal stuff and didn't really do
much.

What ever happened with the 1.2.1 source patches, they were very close
to release, a month and a half ago.  What happened to them?  I have seen
updates to the web site, so I can only assume that a new release is
brewing in the wind, but it would be nice to know exactly what the hold
up is, and where we can help.  I really like Blackdowns JDK1.2pre2,
there are some bugs, but overall it's a very nice port.  How many more
months away is pre3?  IBM's compiler is nice, but I'm really looking to
move over to the 1.2 API and IBM is still in 1.1.6 land for a while. 
Metrowerks is promising a 1.2 compiler, but it won't be free.  Right now
the largest amount of progress has been made by the Blackdown porting
team, but releases are becoming spread out by three or four months.  At
this rate IBM will have a 1.2 release of their JDK before Blackdown
finishes.  It would be a shame to see all of Blackdown's work frowned
upon because they couldn't push through the final version.

So, I'll of my late night rambling aside. My question to the Blackdown
team is what's up?  What are you doing?  What can we do to help?  When
can we expect the next release?  What's been the hold up in production?

-Jim


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



Unidentified subject!

1999-08-17 Thread Dowling, Padraic

unsubscribe
***

This e-mail has been sent to you by Egg, a division of Prudential Banking plc.
Registered in England and Wales, registered office: 142 Holborn Bars, London 
EC1N 2NH, Registered Number 2999842. Egg and Egg:| are trademarks of Prudential
Banking plc.

This communication is intended for the addressee only, is private and confidential,
and is subject to the applicable terms and conditions. Access to this email by
anyone else is unauthorised and should not be read if delivered in error.

If you are not the intended recipient, any disclosure, copying, distribution or any
action taken or omitted to be taken in reliance on it is prohibited and unlawful.

***


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



UNSUBSCRIBE

1999-08-17 Thread Dowling, Padraic

 

***

This e-mail has been sent to you by Egg, a division of Prudential Banking plc.
Registered in England and Wales, registered office: 142 Holborn Bars, London 
EC1N 2NH, Registered Number 2999842. Egg and Egg:| are trademarks of Prudential
Banking plc.

This communication is intended for the addressee only, is private and confidential,
and is subject to the applicable terms and conditions. Access to this email by
anyone else is unauthorised and should not be read if delivered in error.

If you are not the intended recipient, any disclosure, copying, distribution or any
action taken or omitted to be taken in reliance on it is prohibited and unlawful.

***


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



Illegal Access

1999-08-17 Thread -=Steve-o=-

Hi.  I'm trying to write an applet that makes use of JMF1.1 and JDK 
1.1.7, but have been getting a strange error.  I can't run the program 
not in a JAR as it breaches security (not allowed to open a network socket).

So I put it in a JAR and signed it, but when I try and run it 
using appletviewer, I get a java.lang.IllegalAccessError.

Does anyone konw what that means?

THe trace is...

java.lang.IllegalAccessError: PlayerWindow
at NewPlayer.init(NewPlayer.java:29)
at sun.applet.AppletPanel.run(Compiled Code)
at java.lang.Thread.run(Thread.java:466)

**
Please email replies to:[EMAIL PROTECTED]
as when I leave Lancaster in a few weeks, the current 
address will be wrong.  Just so you know. Thanks...;-)
**


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



Wrapper problem

1999-08-17 Thread Amlan Saha

Hi there

I am trying to write a Java wrapper for some C libraries. I have
gotten most of it working except that I am not able to launch
programs from the C libaries.   I have a standard C-shared object
library where I define a function using 

JNIEXPORT int JNICALL Java_API_Mypackage_myfunction 
(JNIEnv *env, jobject theObj)
{
fprintf(stdout,"Entered myfunction ...");
execv("/sbin/ifconfig",NULL);
return(errno);
}

which I then call from my java program by -
  API.Mypackage n = new API.Mypackage();
  int ret = n.myfunction();
  System.out.println(ret);

However, this method does not result in printing out the ethernet
interface information as it should if the program had executed the
"/sbin/ifconfig" program.  It just prints till the "Entered
myfunction..." part and then exits. ERRNO reports "number 2" which
is "no such file or directory" while I KNOW that it is there.

This is what I get -

 [amlan@catbert jwrapper]$ java TestTheWrapper
 Entered myfunction...
 2
 [amlan@catbert jwrapper]$

What am I doing wrong ??

Thanks in advance.

-amlan.

-- 
Amlan Saha   [EMAIL PROTECTED]
[EMAIL PROTECTED]


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



Re: [ANNOUNCE]: Humanoid 0.3.5.30

1999-08-17 Thread peter pilgrim

I found a potential nasty bug in 0.3.5.30, which I have eradicated.
There is a newer release 0.3.5.44 on my site. I think I also licked the
ScreenUpdater Thread lock up bug at the end of the game (well maybe).
The modification I did seem to get rid of it for now.

See ` http://www.acme.com/java/bugs/HardLoops.html  '


[EMAIL PROTECTED] wrote:

> ANNOUNCE  ANNOUNCE  ANNOUNCE  ANNOUNCE  ANNOUNCE  ANNOUNCE  ANNOUNCE
> 
>
> Xenonsoft, South London, England is very pleased to announce the
> availability of:
>
> Humanoid, version 0.3.5.x
>
> `Humanoid' is an arcade video game, written entirely in Java. Software
> is a
> clone of the Williams game "Defender". The software is open source and
> is
> distributed "as free software.". Please read the LICENSE*.
>
> The `Humanoid' arcade video game software can be obtain from
> `http://www.xenonsoft.demon.co.uk/humanoid/humanoid.html'
>
> --
> Del Segno Al Coda
>
> Pete
>
> Powered By
> __
>/ /=  __ ___  __ __ __ __ __
>   / /=  / //   |/ // // /  // /
>  / /__ / // /| / // _/ / >  <==
> //__//_/=|__///__/__/= SuSE 6.1
>   == ==  ===   == ==
> "... ,because Unix is the best!"
>
> Peter Pilgrim 

*Good guitar licks*



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



Re: Wrapper problem

1999-08-17 Thread Harri Sunila

On Tue, 17 Aug 1999, Amlan Saha wrote:

> Hi there
> 
> I am trying to write a Java wrapper for some C libraries. I have
> gotten most of it working except that I am not able to launch
> programs from the C libaries.   I have a standard C-shared object
> library where I define a function using 
> 
>   JNIEXPORT int JNICALL Java_API_Mypackage_myfunction 
>   (JNIEnv *env, jobject theObj)
>   {
>   fprintf(stdout,"Entered myfunction ...");
>   execv("/sbin/ifconfig",NULL);
>   return(errno);
>   }
> 
> which I then call from my java program by -
> API.Mypackage n = new API.Mypackage();
>   int ret = n.myfunction();
>   System.out.println(ret);
> 
> However, this method does not result in printing out the ethernet
> interface information as it should if the program had executed the
> "/sbin/ifconfig" program.  It just prints till the "Entered
> myfunction..." part and then exits. ERRNO reports "number 2" which
> is "no such file or directory" while I KNOW that it is there.
> 
> This is what I get -
> 
>  [amlan@catbert jwrapper]$ java TestTheWrapper
>  Entered myfunction...
>  2
>  [amlan@catbert jwrapper]$
> 
> What am I doing wrong ??

As Linux Programmer's Manual says the syntax of execv() is:

'int execv( const char *path, char *const argv[]);'

You should give "/sbin" as the first argument of execv() and "ifconfig" as
argv[0] or use execvp() instead of execv() and probably give "ifconfig" as
argv[0]. As you should know, in C argv[0] is the name of the executed
program and the rest of argv[] are the arguments for the program. Try 'man
execv' for further details.

Harri

Harri Sunila
Research assistant
Helsinki University of Technology
Telecommunications Software and Multimedia Laboratory
URL: http://www.tcm.hut.fi/~harri


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



Communications Benchmarking

1999-08-17 Thread kiprian



  
   Hi I am currently doing my Msc Project which is related with
communications benchmarking of Fast Ethernet using java. A problem raised
when I added one more 100Mbps fast Ethernet card to my system. While on
windows95 I saw and increase from 3.5MB/s to 4.5MB/s when I added the second
fast Ethernet card, Red hat Linux 5.1 it didn’t take any advantage of the
second fast Ethernet card by giving in both cases 3MB/s.  I there a reason
that my Linux cannot take an advantage of the added hardware.
(In Windows95 I am using Symantec Café 1.2 while on Linux Iam using Java 1.2
beta. My programs are using java sockets to transfer data).





Get FREE voicemail, fax and email at http://voicemail.excite.com
Talk online at http://voicechat.excite.com


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



Re: We need change, I think...

1999-08-17 Thread Mike Christiansen

I see two points:

1. Having felt frustrated for some time with the lack of visible progress, I
posted a message asking how I could help. No response.

2. There was a comment in an earlier message that a commercial product was not a
good idea. I don't see why. Clearly, from the apparent difficulty Blackdown is
having in producing a port, this is a nontrivial problem. Perhaps we need two
types of releases: Free ports which are slow and (possibly) buggy. This will be
fine for the person who wants to learn or fool around with Java.  2. Commercial
releases which provide the features needed in a production environment. I have
no problem paying for something which I, or my clients, are going to make money
from. But as someone else pointed out, given the current situation, it would be
impossible for me to recommend Linux as a Java platform. Solaris, or NT on the
low end, are my only choices.

Thanks for your time.
Mike

Riyad Kalla wrote:

> This is how I personally feel and would urge anyone in the
> same boat to help row, errr... to support this.
>
> I would like some indication FROM Blackdown for the
> following things just so I'm not so in the dark:
> - The current status of the 1.2 JDK
> - If they are pleased with its progress
> - If the desire to do it is still there
> - What they need from US to help out
> - What the future looks like.


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



Re: Wrapper problem

1999-08-17 Thread Amlan Saha

Harri Sunila writes:
  > On Tue, 17 Aug 1999, Amlan Saha wrote:
  > 
  > > Hi there
  > > 
  > > I am trying to write a Java wrapper for some C libraries. I have
  > > gotten most of it working except that I am not able to launch
  > > programs from the C libaries.   I have a standard C-shared object
  > > library where I define a function using 
  > > 
  > >   JNIEXPORT int JNICALL Java_API_Mypackage_myfunction 
  > >   (JNIEnv *env, jobject theObj)
  > >   {
  > >   fprintf(stdout,"Entered myfunction ...");
  > >   execv("/sbin/ifconfig",NULL);
  > >   return(errno);
  > >   }
  > > 
  > > which I then call from my java program by -
  > > API.Mypackage n = new API.Mypackage();
  > >   int ret = n.myfunction();
  > >   System.out.println(ret);
  > > 
  > > However, this method does not result in printing out the ethernet
  > > interface information as it should if the program had executed the
  > > "/sbin/ifconfig" program.  It just prints till the "Entered
  > > myfunction..." part and then exits. ERRNO reports "number 2" which
  > > is "no such file or directory" while I KNOW that it is there.
  > > 
  > > This is what I get -
  > > 
  > >  [amlan@catbert jwrapper]$ java TestTheWrapper
  > >  Entered myfunction...
  > >  2
  > >  [amlan@catbert jwrapper]$
  > > 
  > > What am I doing wrong ??
  > 
  > As Linux Programmer's Manual says the syntax of execv() is:
  > 
  > 'int execv( const char *path, char *const argv[]);'
  > 
  > You should give "/sbin" as the first argument of execv() and "ifconfig" as
  > argv[0] or use execvp() instead of execv() and probably give "ifconfig" as
  > argv[0]. As you should know, in C argv[0] is the name of the executed
  > program and the rest of argv[] are the arguments for the program. Try 'man
  > execv' for further details.
  > 

Harri

Thanks for the prompt reply. 

OK, tried that, however to no avail.  Has it got something to do
with the java layer on top ? At least the simple 
 system("/bin/ifconfig");
should work right ?  

-amlan.


-- 
Amlan Saha   [EMAIL PROTECTED]
[EMAIL PROTECTED]


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



Re: Communications Benchmarking

1999-08-17 Thread Thomas M. Sasala

Don't you need load balancing to take advantage of
more than one link?  FWIW, I don't think it's a linux thing -
more likely a Java thing (or the linux port of Java).

-Tom

[EMAIL PROTECTED] wrote:
> 
> 
>Hi I am currently doing my Msc Project which is related with
> communications benchmarking of Fast Ethernet using java. A problem raised
> when I added one more 100Mbps fast Ethernet card to my system. While on
> windows95 I saw and increase from 3.5MB/s to 4.5MB/s when I added the second
> fast Ethernet card, Red hat Linux 5.1 it didn?t take any advantage of the
> second fast Ethernet card by giving in both cases 3MB/s.  I there a reason
> that my Linux cannot take an advantage of the added hardware.
> (In Windows95 I am using Symantec Café 1.2 while on Linux Iam using Java 1.2
> beta. My programs are using java sockets to transfer data).
> 
> 
> Get FREE voicemail, fax and email at http://voicemail.excite.com
> Talk online at http://voicechat.excite.com
> 
> --
> To UNSUBSCRIBE, email to [EMAIL PROTECTED]
> with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

-- 
+---+
+  Thomas M. Sasala, Electrical Engineer   [EMAIL PROTECTED]   +
+  MRJ Technology Solutionshttp://www.mrj.com   +
+  10461 White Granite Drive, Suite 102(W)(703)277-1714 +
+  Oakton, VA   22124  (F)(703)277-1702 +
+---+


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



Re: File or class transfer over tcpip

1999-08-17 Thread peter pilgrim

This is not just an RMI / FTP problem. People have got in trouble with
`InputStream.available()'
when loading GIF images in Applets.

Instead use a `ByteArrayOutputStream' to read the data, buffer size by buffer
size
then get the data by calling `getBytes()'.

[EMAIL PROTECTED] wrote:

> Robert Covell wrote:
> >
> > System.out.println("Getting file: " + loc);
> > try
> > {
> > DataInputStream di = new DataInputStream(new
> > FileInputStream(new File(loc)));
> > int avail = di.available();
> i think it must return 0,  (if it actually not
> overloaded)
> > System.out.println("Available: " + avail);
> > byte[] data = new byte[avail];
>
> Cheers.
> --
> Alexander Davydenko |
> [EMAIL PROTECTED], [EMAIL PROTECTED]   | Moscow, USSR

Peter



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



Re: Food for thought...

1999-08-17 Thread Jacob Nikom

I have feeling that for Sun Java is more important than Solaris.
IMHO they are targeting quickly growing embedded market to sell 
more of their hardware. This market is good place for Java and
Linux, not Solaris.

A lot of embedded and "real-time" software developers are looking
into Linux+Java combinations to develop Intel-based systems. With
Intel you have only choice between Windows and Linux (sorry, forgot 
OS/2). However with Windows you have very little control what is 
going on in the system and hardware-closed programmer hate it.

I think IBM prefers to run Linux, not Windows on their Intel and
non-Intel hardware. Intel is another interesting player in Linux+Java
combination. They developed JMF1.0 and look at Java favorably. They 
run Linux on Merced and they have $250M fund for software development
for Merced. Currently they don't have too many applicants.

Jacob Nikom








Mike Christiansen wrote:
> 
> Riyad Kalla wrote:
> 
> > These are good points.. and I think the reason Sun doesn't support Linux so readily
> > is simply because it would be shooting its self right in the Solaris-Foot. If it
> > provides a high performance, solaris quality Java implementation... they may loose
> > a bit of business. I don't know details of course about this, but that seemed the
> > most readily availble answer.
> >
> 
> I don't think that Linux competes with Solaris in the server market. (at least not in
> the short-term). I think that Linux will hurt NT far-far more. If anything, a Linux
> application server that outgrows its platform is likely to migrate to the "big iron"
> unixes, and with the Java connection, Solaris would be a natural progression.
> 
> >
> > Anyone else have input on this?
> >
> 
> --
> 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]



Plugin Question

1999-08-17 Thread Christopher T. Griffiths

Hi,

I was wondering if anyone knows where the java-plugin stands in
development and if I can lend a hand?

Thanks

Chris

Christopher T. Griffiths
Senior Network/Systems Administrator
Quansoo Group Inc.
[EMAIL PROTECTED]
Phone:   (302) 777-4141
Fax: (302) 777-4142
Mobile:  (302) 521-3436


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



Re: We need change, I think...

1999-08-17 Thread Tod Matola

Hello,

 I would have to agree with Mike about a commercial port (we need one, or at least
a commercially back port).  I'm not sure that we should have to pay for it though
(although I know my boss would).  I think is very hard to convince people they
should develop Java technologies for free (when folks are making so much money at
it). Java is having the "drinking from a fire hose" problem.

Here's a question, Has IBM (and/or Blackdown) interacted at all? I have only heard
mention that it exists (the IBM JVM).  Since it is clear that Sun is not solving
the linux JDK problems is there hope that IBM and Blackdown can join forces (ala
Apache project)? IBM has announced they are officially release a Linux JVM (1.1
based by years end and no word about 1.2 (see next note)).

We must also realize that Sun's platform 2 is barely out of reference release
(IBM isn't planning a production release of platform 2 until next year. I guess
there were some major bugs between 1.2.0 and 1.2.2, so IBM did not start porting
till 1.2.2 address the problems).

My $0.02


Cheers Tod Matola


Mike Christiansen wrote:

> I see two points:
>
> 1. Having felt frustrated for some time with the lack of visible progress, I
> posted a message asking how I could help. No response.
>
> 2. There was a comment in an earlier message that a commercial product was not a
> good idea. I don't see why. Clearly, from the apparent difficulty Blackdown is
> having in producing a port, this is a nontrivial problem. Perhaps we need two
> types of releases: Free ports which are slow and (possibly) buggy. This will be
> fine for the person who wants to learn or fool around with Java.  2. Commercial
> releases which provide the features needed in a production environment. I have
> no problem paying for something which I, or my clients, are going to make money
> from. But as someone else pointed out, given the current situation, it would be
> impossible for me to recommend Linux as a Java platform. Solaris, or NT on the
> low end, are my only choices.
>
> Thanks for your time.
> Mike
>
> Riyad Kalla wrote:
>
> > This is how I personally feel and would urge anyone in the
> > same boat to help row, errr... to support this.
> >
> > I would like some indication FROM Blackdown for the
> > following things just so I'm not so in the dark:
> > - The current status of the 1.2 JDK
> > - If they are pleased with its progress
> > - If the desire to do it is still there
> > - What they need from US to help out
> > - What the future looks like.
>
> --
> 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: a silly question

1999-08-17 Thread peter pilgrim


Again use a `ByteArrayOutputStream' again, do not use
`byte [] image_bytes = new byte[is.available]' !

THIS IS PURE PROTOTYPE, check the API

BufferedInputStream bis = new BufferedInputStream( -InputStream );
ByteArrayOutputStream baos = new ByteArrayOutputStream();
byte [] raw_data = null;
try {
byte [] buffer = new byte[8192];// 8K
int nread;
int total = 0;
while (  (  nread = bis.read( buffer ) ) > 0 ) {
baos.write( buffer, 0, nread );
total += nread;
}
raw_data = baos.getBytes();
}
catch (IOException ioe) {
System.err.println(ioe.getMessage());
raw_data = null;
}

You guaranteed to have __all__ the raw data or none of it,
be it GIF/JPEG , or HTML or Java class file,
if following this idiom.

[EMAIL PROTECTED] wrote:

> hi,
>
> i want to load a image into my applet application i used getimage
> to get a image in the init() and used drawimage to draw it in the paint
> and i gave the filename in the html file. But it is giving some
> nullpointer exception in the java console of the netscape. can anybody
> help me.
>
> thanx in advance,
>
> MUTHU.


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



Re: Food for thought...

1999-08-17 Thread Joel McCarty

I understand your point of view - but at the same time Sun has provided support to port
linux to their ultra series machines and with their release of lrun (a tool to allow
linux programs binary compatibility under Solaris 7)  it seems they wan't to support
Linux.  You also have to look at the fact that Sun is seriously stretching their
organizational capacity at the moment with all the projects they have and possibly
Linux java support is simply on the back burner


Joel McCarty


Riyad Kalla wrote:

> These are good points.. and I think the reason Sun doesn't support Linux so readily
> is simply because it would be shooting its self right in the Solaris-Foot. If it
> provides a high performance, solaris quality Java implementation... they may loose
> a bit of business. I don't know details of course about this, but that seemed the
> most readily availble answer.
>
> Anyone else have input on this?
>
> -Riyad
>
>
>


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



oracle/jdbc Image retrival from achive

1999-08-17 Thread Matt Zagni

Hi,

This may seem complicated but I would like to retrive a number of
images from a zip'ed/jar file where the location and image file is
stored in the database.

The jdbc/oracle query selects the user, returns the location of
the image/photo and the image name.

userid = 
location = /usr/local/image
archive = archive.jar
image file = photo1.jpg

Is it then possible to display the image in a homepage stuctured
by the servlet after the image is retrived from the database 
if so how without storing the image in the oracle database ?

Many thanks

Matt


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



Re: Problem when using 1.2

1999-08-17 Thread Robert Perry

I would like to thank everyone for there suggestions.  However, I found
changing window managers did the trick.  I stumbled across this when I decided to
let the Java application which was running on a Linux box across the building
display on my O2 which was setting on my desk.  (my laptop was stuck in NT and not
available for linux at the time)  It ran fine, except for some font and layout
problems.  After changing from Enlightenment to Window Maker it ran on the Linux
box.  I update Enlightenment with no improvement.  I have not tried updating
XFree86 yet.

Speaking of Layout Manager problems.  Is it just me or is Borland's XYLayout
manager "Evil" in a can?  I'm new to GUI in Java, but it seems like a bad path to
go down.

corey wrote:

> > Resent-Sender: [EMAIL PROTECTED]
> >
> > Almost all of the work I have done with Java has been writing back
> > end processes.  I have had a great deal of success running these
> > processes on Linux.  So, this past week when I was brought into a team
> > working on a large GUI in java, my first private endeavor was to watch
> > it run on Linux.
> >
> > The applications seems to get through some of the start up and then
> > just stop.  I let it run for a couple of hours.  During this time java
> > was using about 35 percent of the CPU while X was using 50.  The
> > application runs fine under the various 1.2 JDK's I have tried on
> > Windows.
> >
> > Now I do not expect anyone to try to debug our application from the
> > small parcel of information I have handed out.  However, I was wondering
> > if there is anything I should watch out for.  Maybe things you can get
> > away with on the Windows JDK's but not on the Blackdown JDK or perhaps I
> > have run into a problem with the Blackdown JDK.
> >
> > I would really rather this run under Linux and would appreciate any
> > suggestions on where to start.
> >
> > Thank
> > Robert Perry
>
> Robert,
>
> Try running with green threads instead of native threads.
> That may solve the freeze problem but or course it will
> cause your app to take a performance hit. :-(
>
> --Corey
> >
> >
> > --
> > To UNSUBSCRIBE, email to [EMAIL PROTECTED]
> > with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
> >
>
> /* Corey Brown  (WB0RXQ): 20m, 15m, 2m(146.82) 70cm(443.65)   */
> /* AT&T NCS  |  [EMAIL PROTECTED] */
> /* Alpharetta, Ga 30005  |  [EMAIL PROTECTED]   */
> /* (770)750-8071 |  New rays from an ancient sun (JS) */


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



Re: Food for thought...

1999-08-17 Thread Jon Beniston

> IMHO, the ideal situation would be for Sun to support Linux as one of its
> primary platforms. I don't understand why Sun does not. It would help Unix
and
> hurt NT (After all, the enemy of my enemy etc.).

Is Linux not as much of a thread to Solaris?

Jon.



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



Re: Food for thought...

1999-08-17 Thread Michael Emmel

Jacob Nikom wrote:

> I have feeling that for Sun Java is more important than Solaris.
> IMHO they are targeting quickly growing embedded market to sell
> more of their hardware. This market is good place for Java and
> Linux, not Solaris.
>
> A lot of embedded and "real-time" software developers are looking
> into Linux+Java combinations to develop Intel-based systems. With
> Intel you have only choice between Windows and Linux (sorry, forgot
> OS/2). However with Windows you have very little control what is
> going on in the system and hardware-closed programmer hate it.
>
> I think IBM prefers to run Linux, not Windows on their Intel and
> non-Intel hardware. Intel is another interesting player in Linux+Java
> combination. They developed JMF1.0 and look at Java favorably. They
> run Linux on Merced and they have $250M fund for software development
> for Merced. Currently they don't have too many applicants.
>
> Jacob Nikom

Umm good points !

Running Java on merced will probbably be a big pain although I  feel theres
room on the merced die for one more instruction set  decoder  : )

VLIW and  Java bytecode  makes for and intersting combination.

But I think any attempt to get a commecial sponser for  the JDK for linux runs into
problems with the SCL.  I think a lot of compaines would be willing to contribute
but  I'm not sure they would want to follow the SCL any more than the Open Source
Movement.
Since they  are prevented from sharing any work until it passes the JCK.
The SCL to my understanding does not allow technology transfer between SCL licensee's.

If we could get a sponser it makes more sense to follow a clean room design.
Maybe with redhats millions from the IPO they  could sponser the  www.classpath.org
to get and open class libarary and IBM  and Intel could write the  JVM.
Japhar has a pretty good plugin api.  If they use that we could  "plugin "
the JVM of our choosing.
And open source one for hacking and hopefully some day production.
A commercial one for deployment today.

By   splitting the JVM from the class libraries via a  portable interface we gain a 
lot !
I think  if development was split between multiple JVM's and a open robust class 
library
we could get  competative support from  comercial and Open Source vendors.
This would be good  for everybody...

Offhand I'd say 99% of Java bugs are in the Class libraries.
About 30% of  performance issues are in the CLass Libraries except for the AWT which
contributes a 80% performance hit. Thus open class libaries would allow work on the
biggest performance problem the AWT.

If we have a stable good set of Class libraries with and open porting api  then I think
Linux will have as many good JVM's as X Window Managers : )

On the Sun side they should be able to certify the JVM and the class libraries via
seperate JCK tests. Theres no reason they could not exercise a JVM  via its
plugin api. The JVM  test suite at least  if done correctly should not require a 20K 
set
up fee.

Mike













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



Re: We need change, I think...

1999-08-17 Thread Avi Schwartz

I wonder if this has anything to do with IBM's port.  Some time ago IBM posted a
technical preview of 1.1.6 for Linux (people that used it say it is extremely fast).
IBM is probably working, as we speak, on version 1.2 to support their upcoming
VisualAge for Java/Linux.  Maybe Blackdown decided not to continue the port if IBM is
coming out with one.  It will be nice to hear one way or another from them though.

Avi

Tod Matola wrote:

> Hello,
>
>  I would have to agree with Mike about a commercial port (we need one, or at least
> a commercially back port).  I'm not sure that we should have to pay for it though
> (although I know my boss would).  I think is very hard to convince people they
> should develop Java technologies for free (when folks are making so much money at
> it). Java is having the "drinking from a fire hose" problem.
>
> Here's a question, Has IBM (and/or Blackdown) interacted at all? I have only heard
> mention that it exists (the IBM JVM).  Since it is clear that Sun is not solving
> the linux JDK problems is there hope that IBM and Blackdown can join forces (ala
> Apache project)? IBM has announced they are officially release a Linux JVM (1.1
> based by years end and no word about 1.2 (see next note)).
>
> We must also realize that Sun's platform 2 is barely out of reference release
> (IBM isn't planning a production release of platform 2 until next year. I guess
> there were some major bugs between 1.2.0 and 1.2.2, so IBM did not start porting
> till 1.2.2 address the problems).
>
> My $0.02
>
> Cheers Tod Matola
>
> Mike Christiansen wrote:
>
> > I see two points:
> >
> > 1. Having felt frustrated for some time with the lack of visible progress, I
> > posted a message asking how I could help. No response.
> >
> > 2. There was a comment in an earlier message that a commercial product was not a
> > good idea. I don't see why. Clearly, from the apparent difficulty Blackdown is
> > having in producing a port, this is a nontrivial problem. Perhaps we need two
> > types of releases: Free ports which are slow and (possibly) buggy. This will be
> > fine for the person who wants to learn or fool around with Java.  2. Commercial
> > releases which provide the features needed in a production environment. I have
> > no problem paying for something which I, or my clients, are going to make money
> > from. But as someone else pointed out, given the current situation, it would be
> > impossible for me to recommend Linux as a Java platform. Solaris, or NT on the
> > low end, are my only choices.
> >
> > Thanks for your time.
> > Mike
> >
> > Riyad Kalla wrote:
> >
> > > This is how I personally feel and would urge anyone in the
> > > same boat to help row, errr... to support this.
> > >
> > > I would like some indication FROM Blackdown for the
> > > following things just so I'm not so in the dark:
> > > - The current status of the 1.2 JDK
> > > - If they are pleased with its progress
> > > - If the desire to do it is still there
> > > - What they need from US to help out
> > > - What the future looks like.
> >
> > --
> > 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]

--
Avi Schwartz Get a life
[EMAIL PROTECTED] Get Linux



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



Re: We need change, I think...

1999-08-17 Thread Tod Matola

Hello,

 I'm just curious. Why is no one talking about the possible experience to be
gained from IBM? Because the legal problems are too great,  therefore stalling
the relationship? Or is IBM unwilling to help (since it sounds they have much
more to loose in the relationship)? Or is that it's relative new and no one has
stepped up to the bar?

It just feels like they are in the pocket and could lend a BIG helping hand (if
not code). It seems like they have made some strong repairs and their advise
could prevent some wasting of resources (which it appears java-linux/Blackdown
team is short on).

Does anyone know about an official IBM contact person? (such as Calvin Austin
(As of last week I am covering as the Sun/Java/linux contact person so you can
email me if you need to)).

Cheers Tod Matola
OCLC
http://purl.oclc.org/net/tod


Michael Sinz wrote:

> On Tue, 17 Aug 1999 11:09:51 -0400, Tod Matola wrote:
>
> >Here's a question, Has IBM (and/or Blackdown) interacted at all?
>
> Yes, but there are some big issues - IBM has their own GC/Heap management
> system and their own JIT (and it is a very good one)  IBM also uses this
> code base on many other systems (not just Linux or Unix) and has some
> intelectual property issues with engineers in their core technology touching
> GPL or other open source code in the same field of technology as it could
> "infect" their core technology and cause them to loose it.
>
> Now, there is nothing wrong with them listening to what issues we
> ran into and what we did to work around/past/through them.  And the
> same goes the other way around.
>
> BTW - This is all due to legal issues and I am not a lawyer so the exact
> representation of the problem is most likely more complex than what I
> just outlined.
>
> --
> Michael Sinz -- Director of Research & Development, NextBus Inc.
> mailto:[EMAIL PROTECTED] - http://www.nextbus.com
> My place on the web ---> http://www.users.fast.net/~michael_sinz


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



Re: Problem when using 1.2

1999-08-17 Thread Robert Perry

This sounds like a reasonable plan.  I'll try it.  Thank you.

I'm happy to see a member of the JBuilder Development Team reading this list.

Paolo Ciccone wrote:

> On Tue, Aug 17, 1999 at 01:12:26PM -0400, Robert Perry wrote:
> >
> > Speaking of Layout Manager problems.  Is it just me or is Borland's XYLayout
> > manager "Evil" in a can?  I'm new to GUI in Java, but it seems like a bad path to
> > go down.
>
> XYLayout was created for a simple reason: to help in designing UI quickly.
> Try this: use XYLayout, design your Frame then change the LayouManager to
> GridBagLayout. Tada ! That's why we added XYLayout, as a transitional LM to
> avoid setting all the parameters for GridBagLayout. Hope this clarify the
> issue and yes, you are right, using a XY system is evil :).
>
> --Paolo
> JBuilder dev. team.
> Borland/Inprise


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



Re: Food for thought...

1999-08-17 Thread Riyad Kalla

This is a good point, however I think they create lrun to not LOOSE market to Linux, 
not
to support it. Realistically, why would such a huge corporation support Linux without
gain?

Personall I see it to their disadvantage to support Java fully on linux. Like another
gentlement on this newgroup brought up, it would provide a low-cost powerful server
solution to companies not able to purchase a Sun server or adminstrate them.  However I
think they may end up supporting Linux, I just haven't seen a convincing argument that
they can BENIFIT from helping out Linux. The only result I see is more people saying
"Welp, I don't need a Solaris box now, I can just install it on my RedHat/Apache 
machine
and be good to go!"

Its very likely I could be wrong, so any comments are welcome. No flames though, I'm
alergic to fire. :)

I don't see it being in Sun's interest at all to support Linux. They are shooting,
obviously, for the biggest market. I always found it interesting that they had a full
complete JDK for Win32 LONG before they had a final version available for Solaris. I 
find
this curious and am sure there are other reasons for it, I would appreciate it anyone
could enlighten me.

Best wishes,

-Riyad

Joel McCarty wrote:

> I understand your point of view - but at the same time Sun has provided support to 
>port
> linux to their ultra series machines and with their release of lrun (a tool to allow
> linux programs binary compatibility under Solaris 7)  it seems they wan't to support
> Linux.  You also have to look at the fact that Sun is seriously stretching their
> organizational capacity at the moment with all the projects they have and possibly
> Linux java support is simply on the back burner
>
> Joel McCarty
>
> Riyad Kalla wrote:
>
> > These are good points.. and I think the reason Sun doesn't support Linux so readily
> > is simply because it would be shooting its self right in the Solaris-Foot. If it
> > provides a high performance, solaris quality Java implementation... they may loose
> > a bit of business. I don't know details of course about this, but that seemed the
> > most readily availble answer.
> >
> > Anyone else have input on this?
> >
> > -Riyad
> >
> >
> >
>
> --
> To UNSUBSCRIBE, email to [EMAIL PROTECTED]
> with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

--
[  Riyad Kalla  ]
[ University of Arizona ]
[   CS Major]




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



Strange error from Blackdown JDK 1.2 port.

1999-08-17 Thread Moses DeJong

Hi all. I tried to run the java_g executable in the
blackdown port of the JDK 1.2 v2 when I got this error.

Warning: opcode 212 not implemented yet
Warning: JIT compiler failed for
java/lang/ref/SoftReference.get()Ljava/lang/Object;

I do not know if this was the cause, but the java_g executable
would not work after that.

I hope that helps
Mo DeJong
dejong at cs.umn.edu


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



Re: Food for thought...

1999-08-17 Thread Juergen Kreileder

> Riyad Kalla writes:

Riyad> I was discussing exactly this with the creators of AnyJ the
Riyad> other day. I was curious as to how much porting it takes to
Riyad> port such a large project from Win32 to Solaris and Linux,
Riyad> and the mentioned that Linux is the hardest simeply because
Riyad> of all the hodge-podge involved and how every WM handles
Riyad> its windows different and colors etc. etc.

Yep, e.g. every small change to AWT has be tested on 10 or more window
managers, with different X servers, with different color depths, with
and without XKB, ...


Juergen

-- 
Juergen Kreileder, Blackdown Java-Linux Porting Team
http://www.blackdown.org/java-linux.html


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



Re: Food for thought...

1999-08-17 Thread Juergen Kreileder

> Mike Christiansen writes:

Mike> I too am very concerned with this issue and don't know what
Mike> to say. My hat goes off for Blackdown. But even if the
Mike> Blackdown effort produced a working, native thread VM

The problems with the native threads vm are closely related to
problems inside the LinuxThreads library.  E.g. the GC in 1.2pre2
doesn't run because pthread_cond_timedwait may miss notification from
pthread_{signal,broadcast} when it gets interrupted.

Mike> tomorrow, would it support a JIT, much less HotSpot?

1.2 already has a JIT compiler and Linux definitively will support
HotSpot.

Mike> Performance is really bad and pure Java tools like NetBeans
Mike> and TogetherJ don't run well, if at all.

I really would like to work on optimizing the JDK, but we can't do
that until the JDK is stable and the porting of other APIs is
finished.


Juergen

-- 
Juergen Kreileder, Blackdown Java-Linux Porting Team
http://www.blackdown.org/java-linux.html


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



Re: Problem when using 1.2

1999-08-17 Thread Moses DeJong

On Tue, 17 Aug 1999, Robert Perry wrote:

> This sounds like a reasonable plan.  I'll try it.  Thank you.
> 
> I'm happy to see a member of the JBuilder Development Team reading this list.
> 
> Paolo Ciccone wrote:
> 
> > On Tue, Aug 17, 1999 at 01:12:26PM -0400, Robert Perry wrote:
> > >
> > > Speaking of Layout Manager problems.  Is it just me or is Borland's XYLayout
> > > manager "Evil" in a can?  I'm new to GUI in Java, but it seems like a bad path to
> > > go down.

In case anyone is interested, there is a Java layout manager that
implements the "pack" layout manager from Tcl/Tk. It is distributed
as part of the Tcl/Java project, but it works just fine by itself.
If you like the pack layout manager from Tcl/Tk you really should
try it in Java. Send me an email if you want info about how to get it.

later
Mo DeJong
dejong at cs.umn.edu


> > XYLayout was created for a simple reason: to help in designing UI quickly.
> > Try this: use XYLayout, design your Frame then change the LayouManager to
> > GridBagLayout. Tada ! That's why we added XYLayout, as a transitional LM to
> > avoid setting all the parameters for GridBagLayout. Hope this clarify the
> > issue and yes, you are right, using a XY system is evil :).
> >
> > --Paolo
> > JBuilder dev. team.
> > Borland/Inprise


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



Re: We need change, I think...

1999-08-17 Thread Jim Hazen

It seems that IBM has been pretty forthcoming with respect to support
for opensource people.  All of the source to Jikes, and I believe their
JDK can be found on their website.  IBM is very interested in using Java
as a middleware to their databases, and building web enabled data
warehouses.  This is a perfect place for Java and they know it.  That's
why they've been working on their own JDK and compiler.  They're
treating Java and their JDK as a tool to help them really clean up in
the database market.  As such, they are being very open about their Java
plans.  It sounds like IBM is more than willing to put the time and
money into developing their own version of the JDK because they're
banking on the Linux community to code middleware and embrace their
databases, if given the tools they need.  And since Linux is almost
synonimous with Open Source, they're also willing to Open Source their
compilers and JDK, for two reasons.  One, it is almost the defacto
standard on which most Linux software is based, they want to keep Linux
users happy.  And two, they realize the potential of the Linux community
to give valuable input and increase production of what will be some very
valuable glue to them.

Right now they're in a crunch to get JDK ported to their AIX machines
(duh), and then a Linux port will be made.  They're also working on
including this JDK 1.2 port in their upcoming version of VisualAge for
Linux.

It's not clear how this would help Blackdown, whether it would be better
for IBM to help Blackdown, or for Blackdown to help with the IBM linux
port.  It's pretty clear that IBM will release a JDK 1.2.2 port for
Linux sooner or later.  This will probably be an Open Source JDK which
follows the Java 1.2.2 spec, it probably will not be a port of the Sun
JDK.

So we're left with a few questions.  Should the existing devolopers of
Java porting projects aid an IBM JDK?  IBM having greater resources to
throw at this, knowing that their work would go to speed up the
production of a product owned by a corporation, that intends to use it
as glue in one of their products.  Or continue to spend time on a
product that would be more or less owned by the Linux Java Community,
but that could then be used just the same by IBM?

I myself would favor the first option.  I think I'd like to see a high
quality Open product produced by a high power corporation.  If Sun
doesn't have the resources or interest in porting their JDK to Linux,
then I'm all for IBM doing it.  If this helps IBM in other markets,
great, they deserve some payback.  We've seen good examples of very big
Open Source products run by the Linux community, Gnome, KDE, Gimp, and a
zillion others are good examples.  But I think that in this case
everyone involved would be better off, and have a better product,
faster, if some effort shifted from the Blackdown port, which in my
opinion is just crawling along, to the IBM JDK.

I think that as long as IBM keeps their current position and keeps
things Open Source, that everyone, Linux community and IBM will be
happy. 

-Jim


>  I'm just curious. Why is no one talking about the possible experience to be
> gained from IBM? Because the legal problems are too great,  therefore stalling
> the relationship? Or is IBM unwilling to help (since it sounds they have much
> more to loose in the relationship)? Or is that it's relative new and no one has
> stepped up to the bar?
> 
> It just feels like they are in the pocket and could lend a BIG helping hand (if
> not code). It seems like they have made some strong repairs and their advise
> could prevent some wasting of resources (which it appears java-linux/Blackdown
> team is short on).
> 
> Does anyone know about an official IBM contact person? (such as Calvin Austin
> (As of last week I am covering as the Sun/Java/linux contact person so you can
> email me if you need to)).
> 
> Cheers Tod Matola
> OCLC
> http://purl.oclc.org/net/tod
> 
> Michael Sinz wrote:
> 
> > On Tue, 17 Aug 1999 11:09:51 -0400, Tod Matola wrote:
> >
> > >Here's a question, Has IBM (and/or Blackdown) interacted at all?
> >
> > Yes, but there are some big issues - IBM has their own GC/Heap management
> > system and their own JIT (and it is a very good one)  IBM also uses this
> > code base on many other systems (not just Linux or Unix) and has some
> > intelectual property issues with engineers in their core technology touching
> > GPL or other open source code in the same field of technology as it could
> > "infect" their core technology and cause them to loose it.
> >
> > Now, there is nothing wrong with them listening to what issues we
> > ran into and what we did to work around/past/through them.  And the
> > same goes the other way around.
> >
> > BTW - This is all due to legal issues and I am not a lawyer so the exact
> > representation of the problem is most likely more complex than what I
> > just outlined.
> >
> > --
> > Michael Sinz -- Director of Research & Development, NextBus Inc.
> > 

Re: We need change, I think...

1999-08-17 Thread Juergen Kreileder

> Riyad Kalla writes:

Riyad> I would like some indication FROM Blackdown for the
Riyad> following things just so I'm not so in the dark:
Riyad> - The current status of the 1.2 JDK

The basic issues are still the same: the native threads vm, and the
color depths (actually various X servers seems to report bogus values
which confuse the image code).

Riyad> - If they are pleased with its progress

Riyad> - If the desire to do it is still there

Yes.

Riyad> - What they need from US to help out
Riyad> - What the future looks like.

The JDK 1.1.8 is nearly finished (the remaining problem is the native
threads vm).
The next JDK 1.2 release will be 1.2.1 because AFAIK there still is no
JCK testsuite for 1.2.2.
Other stuff we currently work on are: JAI, Java3D, JMF, plugins for
1.1 (to be released with the JDK 1.1.8) and 1.2.

This is quite a lot of stuff, so if you would like to help please
contact me.  You should have some basic knowledge of Java, but what is
more important is C.  I really would like to hear from people who can
do low level X programming (I don't think Sun will fix the color
depths problems soon), pthreads programming (with some knowledge of
the LinuxThreads internals), and/or network programming.
Please reply only if really intend to actively work on the JDK, I'm
really tired of 'volunteers' who never contribute anything.


As for the donations, this is something Steve has to comment.
Basically, I think it is a good idea.  E.g. people want to have Java3d
working with their various 3D cards, we don't have such cards, so this
stuff is hard to test.  The same applies to the interaction with
commercial X servers and other commercial software.


Juergen

-- 
Juergen Kreileder, Blackdown Java-Linux Porting Team
http://www.blackdown.org/java-linux.html


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



feelings about Linux and Java

1999-08-17 Thread Nelson Minar

>IMHO, the ideal situation would be for Sun to support Linux as one of
>its primary platforms. I don't understand why Sun does not.

I don't understand why Sun doesn't support Linux either, either as a
platform for Java or better still, an OS for their hardware. SGI has
recently woken up and realized there's no value in maintaining a
proprietary Unix anymore. They've just about dumped Irix entirely, are
becoming a Linux company. Maybe this transition is still too painful
for Sun.

>Some times I wonder if the Linux community cares about Java
>availability. (Real men use Perl)

I think many Linux principles, especially the kernel and glibc types,
don't care about Java at all. Java is in some ways antithetical to
Linux - it's slow, bulky, and has nothing to do with hacking hardware.
And it's not Free in almost every sense. There's no surprise there's a
bit of friction.

>Linux is the perfect platform for hosting application servers

Linux is also a perfect plaftform for high-end embedded systems. We're
still waiting to hear what Sun's plans for that are. They've finally
addressed the low-end somewhat with KVM, but they have no OS to run on
higher end things. If you believe their hype about Jini, Linux very
neatly fills a niche.

Maybe things will change now that Baratz has left.

  [EMAIL PROTECTED]
.   .  . ..   .  . . http://www.media.mit.edu/~nelson/


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



Re: Food for thought...

1999-08-17 Thread Riyad Kalla

U.. I don't envy your testing job! That sounds like a nightmare
come true.

Being closer to Java then most of us on this list, do you see Sun
planning another "Java 2" jump any time soon? Or does it seem they are
going to stick with 1.2 for a while and really clean it up?

Just curious if I should emotionally prepar myself for "Jazz" a
substitution to "Swing" 

-Riyad

Juergen Kreileder wrote:

> > Riyad Kalla writes:
>
> Riyad> I was discussing exactly this with the creators of AnyJ the
> Riyad> other day. I was curious as to how much porting it takes to
> Riyad> port such a large project from Win32 to Solaris and Linux,
> Riyad> and the mentioned that Linux is the hardest simeply because
> Riyad> of all the hodge-podge involved and how every WM handles
> Riyad> its windows different and colors etc. etc.
>
> Yep, e.g. every small change to AWT has be tested on 10 or more window
> managers, with different X servers, with different color depths, with
> and without XKB, ...
>
> Juergen
>
> --
> Juergen Kreileder, Blackdown Java-Linux Porting Team
> http://www.blackdown.org/java-linux.html

--
[  Riyad Kalla  ]
[ University of Arizona ]
[   CS Major]




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



Re: feelings about Linux and Java

1999-08-17 Thread drfrog

Nelson Minar wrote:

> >IMHO, the ideal situation would be for Sun to support Linux as one of
> >its primary platforms. I don't understand why Sun does not.
>
> I don't understand why Sun doesn't support Linux either, either as a
> platform for Java or better still, an OS for their hardware. SGI has
> recently woken up and realized there's no value in maintaining a
> proprietary Unix anymore. They've just about dumped Irix entirely, are
> becoming a Linux company. Maybe this transition is still too painful
> for Sun.

actually this is a go1

they are planning porting alias/wavefront and maya too

>
>
> >Some times I wonder if the Linux community cares about Java
> >availability. (Real men use Perl)
>

yah exactly, and there is no compile and test!
just test, plus perl 5.6 is goona be king, for xml it will be there
in fact the dev release 5.005_60 does it already



>
> I think many Linux principles, especially the kernel and glibc types,
> don't care about Java at all. Java is in some ways antithetical to
> Linux - it's slow, bulky, and has nothing to do with hacking hardware.
> And it's not Free in almost every sense. There's no surprise there's a
> bit of friction.
>
> >Linux is the perfect platform for hosting application servers
>
> Linux is also a perfect plaftform for high-end embedded systems. We're
> still waiting to hear what Sun's plans for that are. They've finally
> addressed the low-end somewhat with KVM, but they have no OS to run on
> higher end things. If you believe their hype about Jini, Linux very
> neatly fills a niche.
>

just wait to mod_java comes out!!


>
> Maybe things will change now that Baratz has left.
>
>   [EMAIL PROTECTED]
> .   .  . ..   .  . . http://www.media.mit.edu/~nelson/
>
> --
> 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: We need change, I think...

1999-08-17 Thread Moses DeJong

On Tue, 17 Aug 1999, Jim Hazen wrote:

> It seems that IBM has been pretty forthcoming with respect to support
> for opensource people.  All of the source to Jikes, and I believe their
> JDK can be found on their website.  IBM is very interested in using Java
> as a middleware to their databases, and building web enabled data
> warehouses.  This is a perfect place for Java and they know it.  That's
> why they've been working on their own JDK and compiler.  They're
> treating Java and their JDK as a tool to help them really clean up in
> the database market.  As such, they are being very open about their Java
> plans.  It sounds like IBM is more than willing to put the time and
> money into developing their own version of the JDK because they're
> banking on the Linux community to code middleware and embrace their
> databases, if given the tools they need.  And since Linux is almost
> synonimous with Open Source, they're also willing to Open Source their
> compilers and JDK, for two reasons.  One, it is almost the defacto
> standard on which most Linux software is based, they want to keep Linux
> users happy.  And two, they realize the potential of the Linux community
> to give valuable input and increase production of what will be some very
> valuable glue to them.
> 
> Right now they're in a crunch to get JDK ported to their AIX machines
> (duh), and then a Linux port will be made.  They're also working on
> including this JDK 1.2 port in their upcoming version of VisualAge for
> Linux.
> 
> It's not clear how this would help Blackdown, whether it would be better
> for IBM to help Blackdown, or for Blackdown to help with the IBM linux
> port.

It does look like IBM will be releasing JDKs for Linux in the future but
they will not be Open Sourced. IBM licensed the JDK from Sun just like
Blackdown did, so they can not give out the source. The SCSL is not
open by any stretch of the imagination and it never will be. The only
way to get an open sourced JDK on linux is to convince Sun to use the
GPL or other open license (good luck), or to help with one of the
Open Source JVMs. There are three efforts that seem to have good backing
in the community (Kaffe, Japhar, and the cygnus Java project).

> It's pretty clear that IBM will release a JDK 1.2.2 port for
> Linux sooner or later.  This will probably be an Open Source JDK which
> follows the Java 1.2.2 spec, it probably will not be a port of the Sun
> JDK.
> 
> So we're left with a few questions.  Should the existing devolopers of
> Java porting projects aid an IBM JDK?  IBM having greater resources to
> throw at this, knowing that their work would go to speed up the
> production of a product owned by a corporation, that intends to use it
> as glue in one of their products.  Or continue to spend time on a
> product that would be more or less owned by the Linux Java Community,
> but that could then be used just the same by IBM?

I see nothing that indicates IBM is doing a better job porting the JDK
than Blackdown. The IBM JDK requires glibc 2.1, which is a pain to say
the least (I have a RedHat 5.2 system). Blackdown has been providing
a quality JDK on linux for some time.

> I myself would favor the first option.  I think I'd like to see a high
> quality Open product produced by a high power corporation.  If Sun
> doesn't have the resources or interest in porting their JDK to Linux,
> then I'm all for IBM doing it.  If this helps IBM in other markets,
> great, they deserve some payback.  We've seen good examples of very big
> Open Source products run by the Linux community, Gnome, KDE, Gimp, and a
> zillion others are good examples.  But I think that in this case
> everyone involved would be better off, and have a better product,
> faster, if some effort shifted from the Blackdown port, which in my
> opinion is just crawling along, to the IBM JDK.

The jikes compiler is "Open Source" (the new jikes license is a lot
better than the old one so I think it qualifies now), but the other
JDK stuff from IBM is not open in any way.

later
mo dejong
dejong at cs.umn.edu

> I think that as long as IBM keeps their current position and keeps
> things Open Source, that everyone, Linux community and IBM will be
> happy. 
> 
> -Jim
> 
> 
> >  I'm just curious. Why is no one talking about the possible experience to be
> > gained from IBM? Because the legal problems are too great,  therefore stalling
> > the relationship? Or is IBM unwilling to help (since it sounds they have much
> > more to loose in the relationship)? Or is that it's relative new and no one has
> > stepped up to the bar?
> > 
> > It just feels like they are in the pocket and could lend a BIG helping hand (if
> > not code). It seems like they have made some strong repairs and their advise
> > could prevent some wasting of resources (which it appears java-linux/Blackdown
> > team is short on).
> > 
> > Does anyone know about an official IBM contact person? (such as Calvin Austin
> > (As of last week I am coveri

Executing other Programs through java

1999-08-17 Thread ALPESH KOTHARI

Hello All,

I have written a simple program to execute "ls" through java. But it
isnt working. Can any one point out the error?

class ExecDemo{
public static void main(String args[]){
Runtime r=Runtime.getRuntime();
Process p=null;
String cmd{}={"ls"};
try{
p=r.exec(cmd);
}catch(Exception e){
System.out.println(error+cmd[0]);
}
}
}

When I run it, the program does not do "ls" and silently quits. When I
changed "ls" with "vi ExecDemo.java" it said error vi ExecDemo.java.
In the book in which this program is given the command for String cmd[]
is as:
String cmd[]={"ls","/java/src/java/lang/Runtime.java"};

But, I am not able to locate Runtime.java anywhere on my machine..
Please point out the correct procedure to run the above code.

Thanks
Alpesh


===
KOTHARI ALPESH D.
STUDENT M. TECH.
CEDT
INDIAN INSTITUTE OF SCIENCE
BANGALORE-560 012
INDIA
_
Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.com


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



Equal Size TextField

1999-08-17 Thread Sitanshu Bhusan Nanda


I am using java1.1.5 in linux 5.2. When I use AWT for stadalone
applications the text fields become equal size irrespective of
my size declaration. I am using GridBagLayout and GridBagConstraints
for positioning the Components like Labels and Text Fields. Though
the Labels are of different sizes as per my declaration but Text Fields
become equal which looks very odd. Since the default fill patern is 
GridbagConstraints.NONE I have not used this. Even after making
fill patern GridBagConstraints.NONE explicitly there is no change in
display.

Is there any way to make these text fileds differenet size
as required?

Thanks in advance for any help.
Sitansu


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



dead applets under Netscape

1999-08-17 Thread Hicham Mouline


Hi,

Anyone knows why the java console shows messages as 
applet  did not shut down within 30 seconds --- Killing it.

even though the thread ran from the applet finishes as its run method
returns.

Thanks in advance

Hicham Mouline
ManDrapeau Pte Ltd
69 Tras Street, Singapore 079008
[EMAIL PROTECTED]


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