Java app without X installed

1998-10-07 Thread Steve Byrne

Wim Ceulemans writes:
 > Hi
 > 
 > I'm testing a little application that has to run on a linux server without X
 > installed. When I run it on my linux box without X running, it runs fine.
 > But when I run in on a linux box without X installed I get the following:
 > 
 > /usr/local/jdk1.1.6v4a/bin/../bin/i686/green_threads/java: can't resolve
 > symbol '_Xglobal_lock'
 > /usr/local/jdk1.1.6v4a/bin/../bin/i686/green_threads/java: can't resolve
 > symbol '_XUnlockMutex_fn'
 > /usr/local/jdk1.1.6v4a/bin/../bin/i686/green_threads/java: can't resolve
 > symbol '_XLockMutex_fn'
 > 
 > The jdk I'm using is 1.1.6v4a.
 > The linux box with X installed is a Redhat 4.2, the linux box without X
 > installed is a Redhat 5
 > 
 > So my question: is it possible to run a java based app without X installed?
 > Does anybode have an idea how to run a java app without X installed?

Aw, come on, man!  RTFM!  I covered this in great detail; you should take the
time to read it!

Steve





DatagramSocket option in jdk1.1.6v4

1998-10-07 Thread Gwobaw A. Wu

Hi,
I thought this problem is fixed in jdk1.1.6v4, but I still have it:
java.net.SocketException: invalid DatagramSocket option
at 
java.net.PlainDatagramSocketImpl.setOption(PlainDatagramSocketImpl.java:155)
at java.net.MulticastSocket.create(MulticastSocket.java:111)
at java.net.DatagramSocket.(DatagramSocket.java:114)
at java.net.DatagramSocket.(DatagramSocket.java:100)
at java.net.MulticastSocket.(MulticastSocket.java:92)

jdk1.1.6v1 did not have this problem though.
Thanks.

--- Gwobaw ([EMAIL PROTECTED])
3115 EECS, (313) 647-3780



Can't load library 'libjava.so' ??

1998-10-07 Thread Ioan Salau


 Hi folks.

 When I try execute java, javac, jar ... I receive follow error message:
 Can't load library 'libjava.so'. My OS is linux RedHat 5.0 and I use
JDK1.1.1.

 Thanks in advance. 


 Ioan Salau
from Sibiu, Romania
Email:   [EMAIL PROTECTED]
Email2:  [EMAIL PROTECTED]
Web: http://pvdnet.logicnet.ro/~isalau
Fax: 004-069-216771
Tel: 004-069-216772




Bug in v4a?

1998-10-07 Thread Steve Byrne

[EMAIL PROTECTED] writes:
 > Hello,
 > 
 > I installed the latest jdk. With this jdk I get a thread dump (see below) using
 > the following native code (just parsing a string). With jdk1.1.6-v2 it worked
 > just fine. Can somebody give the code a try? I am very curious if it works on
 > another setup. Parsing an int back works fine with v4a.

see below.

 > I also removed the libc and libdl in the greenthreads directory, but without any
 > success. Using libc.so.5.4.46 and libdl.so.1.9.2. 
 > 
 > I have also a problem with drawImage(image, x, y, null) in v4a. In v2 I can 
 > place a frame to the correct x and y coordinates, but in v4a it is placed 
 > randomly onto the screen.

see below.

 > And my last problem is playing an audio (.au) file in an application. For this I
 > use the audio package from sun. Sometimes it plays only the first part of the
 > audio file.

v5 will be out in a day or so.  It fixes some problems with audio files.  It
fixes behavior with window managers.  It includes fixes for JNI behavior.

Please try it out and let us know if there are still any problems for you.

Steve



Re: javah problem in package

1998-10-07 Thread Gwobaw A. Wu

Thanks for your help.
 I guess this is first time I run javah with a package.

--- Gwobaw ([EMAIL PROTECTED])
3115 EECS, (313) 647-3780



Example of CardLayout.....

1998-10-07 Thread jcorredera

Please, send a example of CardLayout using model event of JDK 1.1
Sorry, for my english..
Thank you.



String.equals bug ?

1998-10-07 Thread Dimitrios Vyzovitis

Hi.
I am trying to test two strings for equality, but the virtual machine
throws me an unexpected exception.
The equality test is simply

if ( args[4].equals( "yes" ) )
 System.out.println( pyr.toString() );

The result is

Stack Trace : java.lang.NumberFormatException: yes
at java.lang.Integer.parseInt(Compiled Code)
at java.lang.Integer.valueOf(Compiled Code)
at test.Dump2p2_2.main(Compiled Code)

Any ideas ?
I am using jdk116v4a and compiled using jikes and javac.

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





JDK 1.1.7 source released yet?

1998-10-07 Thread Michael Thome

Any of you noncom licensees been able to get their 117 distribution
yet? Sun keeps pointing me at files on their server that don't exist.

thanks,
-mik
-- 
Michael Thome ([EMAIL PROTECTED])



Re: DatagramSocket option in jdk1.1.6v4

1998-10-07 Thread Michael Sinz

On Wed, 7 Oct 1998 02:26:37 -0400 (EDT), Gwobaw A. Wu wrote:

>Hi,
>I thought this problem is fixed in jdk1.1.6v4, but I still have it:
>java.net.SocketException: invalid DatagramSocket option
>at 
>java.net.PlainDatagramSocketImpl.setOption(PlainDatagramSocketImpl.java:155)
>at java.net.MulticastSocket.create(MulticastSocket.java:111)
>at java.net.DatagramSocket.(DatagramSocket.java:114)
>at java.net.DatagramSocket.(DatagramSocket.java:100)
>at java.net.MulticastSocket.(MulticastSocket.java:92)
>
>jdk1.1.6v1 did not have this problem though.

Watch for jdk1.1.6v5 - it should be up on the web sites very soon.
This is a known problem that was introduced in v4a (sorry)

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




Re: Example of CardLayout.....

1998-10-07 Thread Mark Hofmann

[EMAIL PROTECTED] wrote:

> Please, send a example of CardLayout using model event of JDK 1.1
> Sorry, for my english..
> Thank you.

Hi,
try out the java-tutorial available at the java homepage
   http://java.sun.com
It covers almost everything one can do with Java

enjoy

Mark

--
M a r k  H o f m a n n
Department of Computer Science
University of Stellenbosch / South Africa
phone: +27-82-7449880





Re: Java app without X installed

1998-10-07 Thread John Summerfield

On Tue, 6 Oct 1998, Steve Byrne wrote:

> 
> Aw, come on, man!  RTFM!  I covered this in great detail; you should take the

Well I for one don't know which frigging document you're talking about.
I've just installed the jre on a system without X. To make the jre even run
I found it necessary to install a part of XFree even though I don't want
the gui.

I can see no mention of this in any of the documentation included with the
package jre1.1.6-v4a-i386-libc5.tar.gz.

Exercise patience and courtesy in your replies. You too were a beginner
once.

Cheers
John Summerfield
http://os2.ami.com.au/os2/ for OS/2 support.
Configuration, networking, combined IBM ftpsites index.



Re: String.equals bug ?

1998-10-07 Thread Christopher Hinds

Your code looks ok to me, however it appears as though the JVM has
a problem with the array of type string ( I assume "args[]" is a array of
strings).
Try using an explicit cast of the array element to a string before the
"equals(x)" call
like this " ((String)args[4]).equals( "yes" ) .
Good luck
Chris Hinds
:-)

Dimitrios Vyzovitis wrote:

> Hi.
> I am trying to test two strings for equality, but the virtual machine
> throws me an unexpected exception.
> The equality test is simply
>
> if ( args[4].equals( "yes" ) )
>  System.out.println( pyr.toString() );
>
> The result is
>
> Stack Trace : java.lang.NumberFormatException: yes
> at java.lang.Integer.parseInt(Compiled Code)
> at java.lang.Integer.valueOf(Compiled Code)
> at test.Dump2p2_2.main(Compiled Code)
>
> Any ideas ?
> I am using jdk116v4a and compiled using jikes and javac.
>
> --
> 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





Re: Java app without X installed

1998-10-07 Thread Michael Sinz

On Wed, 7 Oct 1998 21:05:39 +0800 (WST), John Summerfield wrote:

>On Tue, 6 Oct 1998, Steve Byrne wrote:
>
>> 
>> Aw, come on, man!  RTFM!  I covered this in great detail; you should take the
>
>Well I for one don't know which frigging document you're talking about.
>I've just installed the jre on a system without X. To make the jre even run
>I found it necessary to install a part of XFree even though I don't want
>the gui.
>
>I can see no mention of this in any of the documentation included with the
>package jre1.1.6-v4a-i386-libc5.tar.gz.
>
>Exercise patience and courtesy in your replies. You too were a beginner
>once.

It is a bit hidden - it is in the README.linux file under the NS_JAVA
option.  :-)

If you set that environment variable, the non-statically linked non-AWT
JVM will be used.

One thing we can look at is to use the non-AWT/X version automatically
whenever the DISPLAY variable is not set.  You could still set the NS_JAVA
to always use that, but at least it would be less confusing/more automatic
for the cases where X is not running, let alone installed.


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




Problem running/installing JDK

1998-10-07 Thread Terry Harding

All,

I downloaded and installed the JDK1.1.6 v2 for Intel( glibc ). The
installation appeared
to go with no hitches. The jdk was installed into /usr/local/jdk1.1.6.

When i type javac *.java from the jdk1.1.6 main directory i receive

/usr/local/jdk1.1.6/bin/../bin/i586/green_threads/javac:
/usr/local/jdk1.1.6/bin/..i586/green_threads/java: No such file or
directory

When looking in above directories, the files are there. 
I also ran the export PATH procedure to add the jdk1.1.6/bin directory
to my path.

I am extremely new to linux, and i know the unix guru's are probably
shaking their heads
right now. 

But any suggestions would be greatly appreciated. 

I am running as root on the latest version of SlackWar

Thanks in advance for any help...

Terry Harding
Phoenix, AZ



Re: AudioClip being Garbled [ was Bug in v4a?]

1998-10-07 Thread peter . pilgrim

 Yes I had audio clips in application being garbled and looping at 
 arbitary points for odd reasons (bad for java games).
 I thought it was because the data was never being completely loaded.
 Ah, maybe I should look `MediaTracker'. Implement Audio version of
 Swing/JFC ImageIcon class. However I realized this class only works
 with images in JDK1.1 ;-(.

MediaTracker
o Supports audio clips

AudioSoundClip 
o notified via observer when sound finished playing.

dream on ("sigh")

__ Reply Separator _
Subject: Re: Bug in v4a?
Author:  sbb ([EMAIL PROTECTED]) at lon-mime
Date:07/10/98 07:10


[EMAIL PROTECTED] writes:
 > Hello,
 > 
 > I installed the latest jdk. With this jdk I get a thread dump (see below) usi
ng
> the following native code (just parsing a string). With jdk1.1.6-v2 it worked 

 
 > I also removed the libc and libdl in the greenthreads directory, but without 
any
 > success. Using libc.so.5.4.46 and libdl.so.1.9.2. 
 > 
 > I have also a problem with drawImage(image, x, y, null) in v4a. In 
 v2 I can 
 
 
see below.
 
 > And my last problem is playing an audio (.au) file in an application. For thi
s I
 > use the audio package from sun. Sometimes it plays only the first part of the 
 > audio file.
 
v5 will be out in a day or so.  It fixes some problems with audio files.  It 
fixes behavior with window managers.  It includes fixes for JNI behavior.
 
Please try it out and let us know if there are still any problems for you.
 
Steve



MP3

1998-10-07 Thread Jerry Treweek

Hi

Anyone picked up on mp3 players for java ?


Jerry



Re: Java app without X installed

1998-10-07 Thread Steve Byrne

John Summerfield writes:
 > On Tue, 6 Oct 1998, Steve Byrne wrote:
 > 
 > > 
 > > Aw, come on, man!  RTFM!  I covered this in great detail; you should take the
 > 
 > Well I for one don't know which frigging document you're talking about.

I guess README.linux *could* be named more obviously :-)

 > I've just installed the jre on a system without X. To make the jre even run
 > I found it necessary to install a part of XFree even though I don't want
 > the gui.

Fixed in v5.

 > I can see no mention of this in any of the documentation included with the
 > package jre1.1.6-v4a-i386-libc5.tar.gz.

Look again in README.linux.

 > Exercise patience and courtesy in your replies. You too were a beginner
 > once.

Yes.  And I didn't ask for help before exhausting the other options, if I asked
for help at all.



Re: Java app without X installed

1998-10-07 Thread Dan Kegel

Steve Byrne wrote:
> John Summerfield writes:
>  > > Aw, come on, man!  RTFM!  I covered this in great detail; you should take the
>  > Well I for one don't know which frigging document you're talking about.
> I guess README.linux *could* be named more obviously :-)
>...
>  > I can see no mention of this in any of the documentation included with the
>  > package jre1.1.6-v4a-i386-libc5.tar.gz.
> 
> Look again in README.linux.

The doc could be made a little more accessible.  Did you know there's
no link to README.linux on http://www.blackdown.org/java-linux.html ?
It ought to be right there next to the FAQ.
It should also be linked to from inside the FAQ, e.g. under
a question "What documentation is there for the Linux port of the JDK?";
I didn't see it when I checked briefly just now.
- Dan



R: JDK 1.1.7 source released yet?

1998-10-07 Thread Damiano

I managed it

--
> Da: Michael Thome <[EMAIL PROTECTED]>
> A: [EMAIL PROTECTED]
> Oggetto: JDK 1.1.7 source released yet?
> Data: Wednesday, October 07, 1998 1:01 PM
> 
> Any of you noncom licensees been able to get their 117 distribution
> yet? Sun keeps pointing me at files on their server that don't exist.
> 
> thanks,
>   -mik
> -- 
> Michael Thome ([EMAIL PROTECTED])



Re: Java app without X installed

1998-10-07 Thread Kevin Johnson

With that kind of attitude...heck...you could work for Microsoft.  

>  > Exercise patience and courtesy in your replies. You too were a beginner
>  > once.
> 
> Yes.  And I didn't ask for help before exhausting the other options, if I asked
> for help at all.
> 



Re: Java app without X installed

1998-10-07 Thread Robert Ritchy

Listen - as yet another newbie - don't screw things up for me.  This list
has been EXTREMELY helpful to me and my work.  The promptness and quality of
reponse from this list is unmatched.  These "gurus" have taken a lot time to
give us a quality product and support for FREE!  They are certainly not
asking too much when they expect us to read the README.linux file.  If you
want more support then pay for it - although I don't see how you could get
more support about java-linux than we are fortunate enough to get here.

Steve, please don't let this get you too pissed off.  It's taken all of my
energy NOT to fill this reply with harsh (and four letter) words.

I'm in great debt to all of you contributing to this port.  Thank you for
all your efforts!

Robert



Kanoza_D wrote:

> Let me just put in my two cents as another newbie.  It's a pain in the
> a** to have to RTFM all the time.  Has anyone counted up all the
> thousands of pages of documents there are out there?  Speaking as
> someone who has been R'ing TFM instead of asking, I have to say that
> while it gives me a great deal of satisfaction to have figured it out on
> my own, there has been more than one occasion when I've been up all
> night long searching for an answer in the docs that one of you gurus
> could have answered without thinking.  I recently got married, I work
> full time, I'm in graduate school, and I'm one of those people who
> requires 8 hours of sleep a night in order to function.  My time is at a
> premium, and if I post a question to the group it's not because I'm too
> lazy to find it myself, it's because I just plain don't have the time to
> do it myself and I'm hoping someone out there will be a little
> understanding and give me a helping hand.  I'm not asking you to come to
> my house and do it for me, after all.
>
> > -Original Message-
> > From: Steve Byrne [SMTP:[EMAIL PROTECTED]]
> > Sent: Wednesday, October 07, 1998 12:35 PM
> > To:   [EMAIL PROTECTED]
> > Cc:   [EMAIL PROTECTED]; [EMAIL PROTECTED];
> > [EMAIL PROTECTED]
> > Subject:  Re: Java app without X installed
> >
> > John Summerfield writes:
> >  > On Tue, 6 Oct 1998, Steve Byrne wrote:
> >  >
> >  > >
> >  > > Aw, come on, man!  RTFM!  I covered this in great detail; you
> > should take the
> >  >
> >  > Well I for one don't know which frigging document you're talking
> > about.
> >
> > I guess README.linux *could* be named more obviously :-)
> >
> >  > I've just installed the jre on a system without X. To make the jre
> > even run
> >  > I found it necessary to install a part of XFree even though I don't
> > want
> >  > the gui.
> >
> > Fixed in v5.
> >
> >  > I can see no mention of this in any of the documentation included
> > with the
> >  > package jre1.1.6-v4a-i386-libc5.tar.gz.
> >
> > Look again in README.linux.
> >
> >  > Exercise patience and courtesy in your replies. You too were a
> > beginner
> >  > once.
> >
> > Yes.  And I didn't ask for help before exhausting the other options,
> > if I asked
> > for help at all.




begin:  vcard
fn: Robert Ritchy
n:  Ritchy;Robert
org:BDM Denver
adr:1999 Broadway - Suite 2000;;;Denver;CO;80202;USA
email;internet: [EMAIL PROTECTED]
title:  Software Development TL
tel;work:   303-672-8917 / 247-1150 ex 8917
x-mozilla-cpt:  bdmtech.com;2
x-mozilla-html: FALSE
version:2.1
end:vcard




Knowledge share (was: Java app without X installed)

1998-10-07 Thread Dug Birdzell

Bear in mind that privatization of knowledge of technologies which compete
with the Dark Side only serve to empower it. 


Yours,

Dug Birdzell  Software Engineer   HuskyLabs
[EMAIL PROTECTED] www.butterfly.net/~dug  www.lab.com 
 1 888 HUSKY US, x285   




Re: Java app without X installed

1998-10-07 Thread 1a8



On Wed, 7 Oct 1998, Robert Ritchy wrote:

> Listen - as yet another newbie - don't screw things up for me.  This list
> has been EXTREMELY helpful to me and my work.  The promptness and quality of
> reponse from this list is unmatched.  These "gurus" have taken a lot time to
> give us a quality product and support for FREE!  

The purpose of these lists are for interested people to ask questions.
Some questions are easily answerable by looking at the docs, and others
are not so obvious or may reflect that someone has become confused
about something and because of that may not realize that the docs answer
their question.

Whatever the case, there is no reason to have an attitude when "helping"
someone. Thats the simple point. 

Mark



Re: Java app without X installed

1998-10-07 Thread 1a8


On Wed, 7 Oct 1998, Steve Byrne wrote:

> John Summerfield writes:
>  > On Tue, 6 Oct 1998, Steve Byrne wrote:
>  > 
>  > > 
>  > > Aw, come on, man!  RTFM!  I covered this in great detail; you should take the
>  > 
>  > Well I for one don't know which frigging document you're talking about.
> 
> I guess README.linux *could* be named more obviously :-)


RTFM means manpage -- a README file is not a manpage. Plus, isn't it
conceivable that with so many docs, someone could miss something?

Mark



Re: Java app without X installed

1998-10-07 Thread Stephen Zander

> "Kevin" == Kevin Johnson <[EMAIL PROTECTED]> writes:

Kevin> With that kind of attitude...heck...you could work for
Kevin> Microsoft.

Back off! Without his work you'd be using Microsoft!

-- 
Stephen
---
Perl is really designed more for the guys that will hack Perl at least
20 minutes a day for the rest of their career.  TCL/Python is more a
"20 minutes a week", and VB is probably in that "20 minutes a month"
group. :) -- Randal Schwartz



RE: Java app without X installed

1998-10-07 Thread Kanoza_D

Robert, 

I'm not trying to screw things up for anyone, and I am as appreciative
of their efforts as anyone.  I too have gotten a great deal of useful
information from reading this list.  I was simply trying to make the
point that there are a lot of reasons why someone posts a question to
the group, and only one of them is laziness.

> -Original Message-
> From: Robert Ritchy [SMTP:[EMAIL PROTECTED]]
> Sent: Wednesday, October 07, 1998 1:31 PM
> To:   Kanoza_D
> Cc:   [EMAIL PROTECTED]; [EMAIL PROTECTED];
> [EMAIL PROTECTED]; [EMAIL PROTECTED]
> Subject:  Re: Java app without X installed
> 
> Listen - as yet another newbie - don't screw things up for me.  This
> list
> has been EXTREMELY helpful to me and my work.  The promptness and
> quality of
> reponse from this list is unmatched.  These "gurus" have taken a lot
> time to
> give us a quality product and support for FREE!  They are
> certainly not
> asking too much when they expect us to read the README.linux file.  If
> you
> want more support then pay for it - although I don't see how you could
> get
> more support about java-linux than we are fortunate enough to get
> here.
> 
> Steve, please don't let this get you too pissed off.  It's taken all
> of my
> energy NOT to fill this reply with harsh (and four letter) words.
> 
> I'm in great debt to all of you contributing to this port.  Thank you
> for
> all your efforts!
> 
> Robert
> 
> 
> 
> Kanoza_D wrote:
> 
> > Let me just put in my two cents as another newbie.  It's a pain in
> the
> > a** to have to RTFM all the time.  Has anyone counted up all the
> > thousands of pages of documents there are out there?  Speaking as
> > someone who has been R'ing TFM instead of asking, I have to say that
> > while it gives me a great deal of satisfaction to have figured it
> out on
> > my own, there has been more than one occasion when I've been up all
> > night long searching for an answer in the docs that one of you gurus
> > could have answered without thinking.  I recently got married, I
> work
> > full time, I'm in graduate school, and I'm one of those people who
> > requires 8 hours of sleep a night in order to function.  My time is
> at a
> > premium, and if I post a question to the group it's not because I'm
> too
> > lazy to find it myself, it's because I just plain don't have the
> time to
> > do it myself and I'm hoping someone out there will be a little
> > understanding and give me a helping hand.  I'm not asking you to
> come to
> > my house and do it for me, after all.
> >
> > > -Original Message-
> > > From: Steve Byrne [SMTP:[EMAIL PROTECTED]]
> > > Sent: Wednesday, October 07, 1998 12:35 PM
> > > To:   [EMAIL PROTECTED]
> > > Cc:   [EMAIL PROTECTED]; [EMAIL PROTECTED];
> > > [EMAIL PROTECTED]
> > > Subject:  Re: Java app without X installed
> > >
> > > John Summerfield writes:
> > >  > On Tue, 6 Oct 1998, Steve Byrne wrote:
> > >  >
> > >  > >
> > >  > > Aw, come on, man!  RTFM!  I covered this in great detail; you
> > > should take the
> > >  >
> > >  > Well I for one don't know which frigging document you're
> talking
> > > about.
> > >
> > > I guess README.linux *could* be named more obviously :-)
> > >
> > >  > I've just installed the jre on a system without X. To make the
> jre
> > > even run
> > >  > I found it necessary to install a part of XFree even though I
> don't
> > > want
> > >  > the gui.
> > >
> > > Fixed in v5.
> > >
> > >  > I can see no mention of this in any of the documentation
> included
> > > with the
> > >  > package jre1.1.6-v4a-i386-libc5.tar.gz.
> > >
> > > Look again in README.linux.
> > >
> > >  > Exercise patience and courtesy in your replies. You too were a
> > > beginner
> > >  > once.
> > >
> > > Yes.  And I didn't ask for help before exhausting the other
> options,
> > > if I asked
> > > for help at all.
> 
>  << File: Card for Robert Ritchy >> 



RE: Java app without X installed

1998-10-07 Thread Kanoza_D

Let me just put in my two cents as another newbie.  It's a pain in the
a** to have to RTFM all the time.  Has anyone counted up all the
thousands of pages of documents there are out there?  Speaking as
someone who has been R'ing TFM instead of asking, I have to say that
while it gives me a great deal of satisfaction to have figured it out on
my own, there has been more than one occasion when I've been up all
night long searching for an answer in the docs that one of you gurus
could have answered without thinking.  I recently got married, I work
full time, I'm in graduate school, and I'm one of those people who
requires 8 hours of sleep a night in order to function.  My time is at a
premium, and if I post a question to the group it's not because I'm too
lazy to find it myself, it's because I just plain don't have the time to
do it myself and I'm hoping someone out there will be a little
understanding and give me a helping hand.  I'm not asking you to come to
my house and do it for me, after all.

> -Original Message-
> From: Steve Byrne [SMTP:[EMAIL PROTECTED]]
> Sent: Wednesday, October 07, 1998 12:35 PM
> To:   [EMAIL PROTECTED]
> Cc:   [EMAIL PROTECTED]; [EMAIL PROTECTED];
> [EMAIL PROTECTED]
> Subject:  Re: Java app without X installed
> 
> John Summerfield writes:
>  > On Tue, 6 Oct 1998, Steve Byrne wrote:
>  > 
>  > > 
>  > > Aw, come on, man!  RTFM!  I covered this in great detail; you
> should take the
>  > 
>  > Well I for one don't know which frigging document you're talking
> about.
> 
> I guess README.linux *could* be named more obviously :-)
> 
>  > I've just installed the jre on a system without X. To make the jre
> even run
>  > I found it necessary to install a part of XFree even though I don't
> want
>  > the gui.
> 
> Fixed in v5.
> 
>  > I can see no mention of this in any of the documentation included
> with the
>  > package jre1.1.6-v4a-i386-libc5.tar.gz.
> 
> Look again in README.linux.
> 
>  > Exercise patience and courtesy in your replies. You too were a
> beginner
>  > once.
> 
> Yes.  And I didn't ask for help before exhausting the other options,
> if I asked
> for help at all.



Re: Java app without X installed

1998-10-07 Thread Robert Ritchy

If you would take the time to observe this list for a while then you would realize
that just about every question is answered almost immediately.  I know I asked a
lot of redundant and simple questions and always got an answer.  Please, wait for
more than one email as your reference before attacking an entire mailing list.  Go
back to the archives and see for yourself.

This arguement is useless and doesn't deserve to be posted on this list (mine
included) - so I want to apologize to everyone who's had to read through this
crap.

Robert

[EMAIL PROTECTED] wrote:

> On Wed, 7 Oct 1998, Robert Ritchy wrote:
>
> > Listen - as yet another newbie - don't screw things up for me.  This list
> > has been EXTREMELY helpful to me and my work.  The promptness and quality of
> > reponse from this list is unmatched.  These "gurus" have taken a lot time to
> > give us a quality product and support for FREE!
>
> The purpose of these lists are for interested people to ask questions.
> Some questions are easily answerable by looking at the docs, and others
> are not so obvious or may reflect that someone has become confused
> about something and because of that may not realize that the docs answer
> their question.
>
> Whatever the case, there is no reason to have an attitude when "helping"
> someone. Thats the simple point.
>
> Mark




begin:  vcard
fn: Robert Ritchy
n:  Ritchy;Robert
org:BDM Denver
adr:1999 Broadway - Suite 2000;;;Denver;CO;80202;USA
email;internet: [EMAIL PROTECTED]
title:  Software Development TL
tel;work:   303-672-8917 / 247-1150 ex 8917
x-mozilla-cpt:  bdmtech.com;2
x-mozilla-html: FALSE
version:2.1
end:vcard




Re: Knowledge share (was: Java app without X installed)

1998-10-07 Thread Dug Birdzell

all right, poor choice of words.., and really besides the point anyway.

recent post said it best: "no attitude necessary".  if you don't
feel like answering a question, then don't answer it.  what's the point of
getting down on other programmers for asking a question?

Yours,

Dug Birdzell  Software Engineer   HuskyLabs
[EMAIL PROTECTED] www.butterfly.net/~dug  www.lab.com 
 1 888 HUSKY US, x285   

On Wed, 7 Oct 1998, Kevin Ryan wrote:

> "privatization"?
> 
> Perhaps "some assembly (effort) is required" to glean the info, but the
> info has not been "privatized"...
> 
> 
> Dug Birdzell wrote:
> > 
> > Bear in mind that privatization of knowledge of technologies which compete
> > with the Dark Side only serve to empower it.
> > 
> > Yours,
> > 
> > Dug Birdzell  Software Engineer   HuskyLabs
> > [EMAIL PROTECTED] www.butterfly.net/~dug  www.lab.com
> >  1 888 HUSKY US, x285
> 




RE: Java app without X installed

1998-10-07 Thread Java News Collector

At 01:14 PM 10/7/98 -0400, you wrote:
>Let me just put in my two cents as another newbie.  It's a pain in the
>a** to have to RTFM all the time.  Has anyone counted up all the
>thousands of pages of documents there are out there?  Speaking as
>someone who has been R'ing TFM instead of asking, I have to say that
>while it gives me a great deal of satisfaction to have figured it out on
>my own, there has been more than one occasion when I've been up all
>night long searching for an answer in the docs that one of you gurus
>could have answered without thinking.  I recently got married, I work
>full time, I'm in graduate school, and I'm one of those people who
>requires 8 hours of sleep a night in order to function.  My time is at a
>premium, and if I post a question to the group it's not because I'm too
>lazy to find it myself, it's because I just plain don't have the time to
>do it myself and I'm hoping someone out there will be a little
>understanding and give me a helping hand.  I'm not asking you to come to
>my house and do it for me, after all.

Well, I also value my time and I'm a professional consultant.  Speaking
strictly for myself, I believe people have two options; 1) take their own
time to read the documentation and ask questions if they still don't
understand, 2) pay an expert for the answers that they have invested the
time to acquire.  IMHO, those are you only choices.  I understand time is
valuable but no one owes anyone answers they aren't willing to work for or
pay for.

What John is responding to (and rightly so, as far as I am concerned) is
the frustration that comes from answering the same questions over and over
when he and others like him have taken the time to record the answers to
the most commonly asked questions in the documentation that is shipped with
the, need I mention FREE, product.

Ask if you like, but, if you aren't paying for the answer, then accept what
you get.  Over time, I'm sure the documentation will get better.  As far as
I know, the contributers aren't getting paid so the consumers should be
grateful for what there is.

Douglas J. Toltzman
President/CEO
Oak Street Software, Inc.
(910) 326-6210
http://www.oakstrsft.com/



Re: Knowledge share (was: Java app without X installed)

1998-10-07 Thread Robert Dietrick

can't we all just get along

-rob

On Wed, 7 Oct 1998, Dug Birdzell wrote:

> all right, poor choice of words.., and really besides the point anyway.
> 
> recent post said it best: "no attitude necessary".  if you don't
> feel like answering a question, then don't answer it.  what's the point of
> getting down on other programmers for asking a question?
> 
> Yours,
> 
> Dug Birdzell  Software Engineer   HuskyLabs
> [EMAIL PROTECTED] www.butterfly.net/~dug  www.lab.com 
>  1 888 HUSKY US, x285   
> 
> On Wed, 7 Oct 1998, Kevin Ryan wrote:
> 
> > "privatization"?
> > 
> > Perhaps "some assembly (effort) is required" to glean the info, but the
> > info has not been "privatized"...
> > 
> > 
> > Dug Birdzell wrote:
> > > 
> > > Bear in mind that privatization of knowledge of technologies which compete
> > > with the Dark Side only serve to empower it.
> > > 
> > > Yours,
> > > 
> > > Dug Birdzell  Software Engineer   HuskyLabs
> > > [EMAIL PROTECTED] www.butterfly.net/~dug  www.lab.com
> > >  1 888 HUSKY US, x285
> > 
> 
> 



JavaHelp Experience

1998-10-07 Thread Nguyen, Tram N.

I know this is not exactly where i should post this question , but it seems
like this is where I learned a lot of things concerning Java topics
(although I haven't use my Linux box for a while), I hope you-experienced
java programmers- might help me out with this.

I'm trying to implement a Help System system using JavaHelp EA provided by
Sun.I have jdk1.1.6 installed on my PC . I try to write very simple script
followed code fragment and demos from Sun docs; however, i keep getting
NullPointerException when trying to set a HelpSet from URL . I'm pretty sure
that the way I setup my help docs is correct since I can use hsviewer to
bring up this helpset file and its sub files . Here some of my code and
where it gets choked.

public class iscsbJPanel extends com.sun.java.swing.JPanel implements
java.awt.event.ActionListener
{
HelpSet mainHS;
HelpBroker mainHB;
static final String helpsetName = "tram";

 public iscsbJPanel()
 {
  super();
  try {
ClassLoader cl = iscsbJPanel.class.getClassLoader();
URL url = HelpSet.findHelpSet(cl, helpsetName);
System.out.println("URL : " + url.toString());
mainHS = new HelpSet(cl,url);
} catch (Exception ee) {
System.out.println ("Help Set "+helpsetName+" not found : "
+ ee.toString());
ee.printStackTrace();
return;
}
 }

Output :
URL : systemresource:/ZIP3/+/tram.hs
Help Set tram not found : java.lang.NullPointerException
java.lang.NullPointerException
at javax.javahelp.HelpSet.(HelpSet.java:76)
at iscsbJPanel.(iscsbJPanel.java:32)
at iscsbHelp.(iscsbHelp.java:36)
at iscsbHelp.main(iscsbHelp.java:55)

Could someone please tell me what I need to do to just load a simple HelpSet
or some sample working code ?


Tram Nguyen N.
Science Application International Corporation
http://www.saic.com
(619) 646-3357



Re: Java app without X installed

1998-10-07 Thread John Summerfield

On Wed, 7 Oct 1998, Steve Byrne wrote:

> John Summerfield writes:
>  > On Tue, 6 Oct 1998, Steve Byrne wrote:
>  > 
>  > > 
>  > > Aw, come on, man!  RTFM!  I covered this in great detail; you should take the
>  > 
>  > Well I for one don't know which frigging document you're talking about.
> 
> I guess README.linux *could* be named more obviously :-)
> 
>  > I've just installed the jre on a system without X. To make the jre even run
>  > I found it necessary to install a part of XFree even though I don't want
>  > the gui.
> 
> Fixed in v5.
> 
>  > I can see no mention of this in any of the documentation included with the
>  > package jre1.1.6-v4a-i386-libc5.tar.gz.
> 
> Look again in README.linux.
> 
>  > Exercise patience and courtesy in your replies. You too were a beginner
>  > once.
> 
> Yes.  And I didn't ask for help before exhausting the other options, if I asked
> for help at all.

I unpacked the tarball into /usr/java.
[summer@os2 summer]$ locate READ | grep java
/usr/java/jre/lib/i686/green_threads/README.versions
/usr/java/jre/README

I'm not going to read all the replies to this thread. Let me say this:

I've spent a considerable amount of time helping others over several years.
My web pages were at one time taking 10 000+ hits per month when hosted at
another IAP.  don't know what traffic they take now: I don't use OS/2 much
now and don't provide much OS/2 help now either.

I stand by my comments:  I think Steve was rude.

And the doc he says to read ARE NOT in the package I installed. I'd have
checked first: I check that my answers are correct when offering
advice: if not then I preface my remarks with "I think" or similar
indications of uncertainty.

In the above case, I'd have
1 Checked that the document exists
2 Mentioned it by name
3 Probably given a short summary.

I always quote enough that the reply carries enough question to make sense
alone. I always bear in mind that there are likely to be others with
similar questions and try to get those too.

If anyone wishes to argue my point further, you'll need evidence. Search
usenet archives: you'll need to go back a fair way as I've not been very
active since August last year.

I don't wish to diminish Steve's work: my point is that in this case he
could have done better.

Cheers
John Summerfield
http://os2.ami.com.au/os2/ for OS/2 support.
Configuration, networking, combined IBM ftpsites index.



An Apology

1998-10-07 Thread Bill Wadley


[On behalf of those who couldn't find their ass with both hands and
a hounddog, I'm going to apolgize _for_ them:]

"Dear JDK Porting Team and Documentation Authors,

We apologize for copping an attitude, and _will never do it again_
for fear that WE would have to spend our precious time listening
to whiners while providing a commercial level product for free
(assuming we could)."

Ditto for the rest of us, too.

Bill Wadley



Re: Java app without X installed

1998-10-07 Thread John Summerfield

On Wed, 7 Oct 1998 [EMAIL PROTECTED] wrote:

> 
> On Wed, 7 Oct 1998, Steve Byrne wrote:
> 
> > John Summerfield writes:
> >  > On Tue, 6 Oct 1998, Steve Byrne wrote:
> >  > 
> >  > > 
> >  > > Aw, come on, man!  RTFM!  I covered this in great detail; you should take the
> >  > 
> >  > Well I for one don't know which frigging document you're talking about.
> > 
> > I guess README.linux *could* be named more obviously :-)
> 
> 
> RTFM means manpage -- a README file is not a manpage. Plus, isn't it
> conceivable that with so many docs, someone could miss something?
 
the M means Manual. The same term is used in other circles where manpages
are unheard of. More loosely it refers to any documentation and I for one
DO read it. The only README in the package I mentioned refers to Windows
and Solaris.

Cheers
John Summerfield
http://os2.ami.com.au/os2/ for OS/2 support.
Configuration, networking, combined IBM ftpsites index.



RE: Java app without X installed

1998-10-07 Thread Pelayo


Salud y naturaleza:   [EMAIL PROTECTED]
http://www.pelayo-j.com   [EMAIL PROTECTED]
ftp://ftp.pelayo-j.com

-Mensaje original-
De: Wim Ceulemans <[EMAIL PROTECTED]>
Para: [EMAIL PROTECTED] <[EMAIL PROTECTED]>
Fecha: martes 6 de octubre de 1998 19:15
Asunto: Java app without X installed


>Hi
>
>I'm testing a little application that has to run on a linux server without X
>installed. When I run it on my linux box without X running, it runs fine.
>But when I run in on a linux box without X installed I get the following:
>
>/usr/local/jdk1.1.6v4a/bin/../bin/i686/green_threads/java: can't resolve
>symbol '_Xglobal_lock'
>/usr/local/jdk1.1.6v4a/bin/../bin/i686/green_threads/java: can't resolve
>symbol '_XUnlockMutex_fn'
>/usr/local/jdk1.1.6v4a/bin/../bin/i686/green_threads/java: can't resolve
>symbol '_XLockMutex_fn'
>
>The jdk I'm using is 1.1.6v4a.
>The linux box with X installed is a Redhat 4.2, the linux box without X
>installed is a Redhat 5
>
>So my question: is it possible to run a java based app without X installed?
>Does anybode have an idea how to run a java app without X installed?
>
>Wim Ceulemans
>Nice bvba
>
>



Re: JDK 1.1.7 source released yet?

1998-10-07 Thread Gerald Gutierrez

Michael Thome wrote:
> 
> Any of you noncom licensees been able to get their 117 distribution
> yet? Sun keeps pointing me at files on their server that don't exist.

I downloaded mine this morning.



RE: JIT ????

1998-10-07 Thread Pelayo




-Mensaje original-
De: Mehrdad Jahansoozi <[EMAIL PROTECTED]>
Para: [EMAIL PROTECTED] <[EMAIL PROTECTED]>
Fecha: miércoles 7 de octubre de 1998 0:03
Asunto: JIT 


>Greetings,
>
>Apparently, There is a confusion between JIT compiler, and JIT virtual
>machine( VM ).
>I was looking for a  linux ( VM ) and I thought clarify  Java classes
>need ( VM )  to run.
>VM is platform specific.
>A compiler is what creates Java classes from xxx.java files.
>I compile my java files in NT , and I need VM in Linux to run them on
>Linux.
>
>Regards,
>
>Mehrdad
>



RE: JDK 1.1.7 source released yet?

1998-10-07 Thread Pelayo




-Mensaje original-
De: Michael Thome <[EMAIL PROTECTED]>
Para: [EMAIL PROTECTED] <[EMAIL PROTECTED]>
Fecha: miércoles 7 de octubre de 1998 14:11
Asunto: JDK 1.1.7 source released yet?


>Any of you noncom licensees been able to get their 117 distribution
>yet? Sun keeps pointing me at files on their server that don't exist.
>
>thanks,
> -mik
>--
>Michael Thome ([EMAIL PROTECTED])
>



RE: Example of CardLayout.....

1998-10-07 Thread Pelayo


Saje original-
De: [EMAIL PROTECTED] <[EMAIL PROTECTED]>
Para: [EMAIL PROTECTED] <[EMAIL PROTECTED]>
Fecha: miércoles 7 de octubre de 1998 11:05
Asunto: Example of CardLayout.


>Please, send a example of CardLayout using model event of JDK 1.1
>Sorry, for my english..
>Thank you.
>



Re: Problem running/installing JDK

1998-10-07 Thread Terry Harding

Can anyone gives me any hints or clues why i might be getting the
error message described below. 

I would like to use the JDK tonight. 

Thanks in advance...

Terry Harding wrote:
> 
> All,
> 
> I downloaded and installed the JDK1.1.6 v2 for Intel( glibc ). The
> installation appeared
> to go with no hitches. The jdk was installed into /usr/local/jdk1.1.6.
> 
> When i type javac *.java from the jdk1.1.6 main directory i receive
> 
> /usr/local/jdk1.1.6/bin/../bin/i586/green_threads/javac:
> /usr/local/jdk1.1.6/bin/..i586/green_threads/java: No such file or
> directory
> 
> When looking in above directories, the files are there.
> I also ran the export PATH procedure to add the jdk1.1.6/bin directory
> to my path.
> 
> I am extremely new to linux, and i know the unix guru's are probably
> shaking their heads
> right now.
> 
> But any suggestions would be greatly appreciated.
> 
> I am running as root on the latest version of SlackWar
> 
> Thanks in advance for any help...
> 
> Terry Harding
> Phoenix, AZ



Re: Problem running/installing JDK

1998-10-07 Thread jim watson

Terry Harding wrote:

>
> > I downloaded and installed the JDK1.1.6 v2 for Intel( glibc ). The
> >
> > I am running as root on the latest version of SlackWar
> >

Terry,

you will probbaly need the libc5 version of JDK if you have slackware
linux,

see the README.linux file in the distribution you have gotten,
also read these:

http://www.blackdown.org/java-linux/README.ftp

http://www.blackdown.org/java-linux/docs/faq/FAQ-java-linux-2.html#ss2.3

regards,

jim watson