Re: Swing & Navigator

1998-09-16 Thread David Wilkinson

At 08:59 16/05/98 +0200, Paul V. Drobnich wrote:

>P.S. As for me, Swing-like applets is most slowest browser solution that
>I seen in my life. Try servlets. Of course those not so nice as Swing,
>but more applicable in real life.

Um, servlets and swing address completely separate problem domains. They
aren't typically interchangeable. If you're really having problems with
swing, the only real answer is to stick to the standard AWT.

Dave W.
-- 
David Wilkinson http://www.cascade.org.uk/



Numeric Keypad Gone with new JVM

1998-09-16 Thread Adam Williams

I upgraded from the JVM that comes with RedHat 4.2 (kaffe) to
Blackdown's JVM (jdk1.1.6v2-libc5).  Drop and go, beautiful,  much better than
my previous attempts to use thier JVM.  It seems MUCH faster and in some
subtle way even seems to  "look" better.  But now my numeric keypad
doesn't work,  it does nothing,  num-lock on or off.  And I get a pile
of messages at startup like -

Warning: ... found while parsing '%s'
Warning: translation table syntax error: Unknown keysym name: osfCancel
Warning: translation table syntax error: %s
Warning: ... found while parsing ':osfCancel:
ManagerParentCa
n
cel()'


Hello?  These look like X resource issues to me,  but where does this
thing pull them from?  The old java gave me messages too,  but everything
worked?
Any ideas?


I have grepped around in app-defaults etc... for these string but found
nothing.  i tried pointing editres at this app when it was running but
it just says "Sending message to app for resources" or something very
similiar but the app does not report any resources (it is the java
app).  editres works on other apps, so I know that's not the problem.

The app is the Citrix ICA client,  my users (around 150) use that to
access a Winframe (Multi-User NT) server from Linux Desktops.

P.S. Great work guys,  this is fast on an old i486.  Very impressive.



JDK problem with findClass in native code - NOT

1998-09-16 Thread Bernd Kreimeier

Bernd Kreimeier writes:
 > JDK seems to fail me. The very same classpath 
 > that works to load the main Java class (import/javac)
 > does not work when I call env->FindClass in the 
 > native code.

Mistake on my account. I ended up trying
  "somepackage.SomeClass"
instead of
  "somepackage/SomeClass"
which works with Japhar (a Japhar bug).


   b.




Java Activator (plugin) on redhat 5.1 with Netscape 4.06

1998-09-16 Thread Stephen Martin

I just downloaded the java activator from blackdown.org and have installed
it. It does not seem to work. When I start netscape I get:

ERROR: /home/smartin/.netscape/plugins/javaplugin.so: undefined symbol: stat
Cant load plugin /home/smartin/.netscape/plugins/javaplugin.so. Ignored.

and if I got to the about:plugins page netscape crashes with

Illegal instruction (core dumped)

Does anyone know how to get it to work? Is there a newer version
somewhere?

Steve
-- 
 __
Stephen Martin _   _   |/_ \ MORTICE KERN SYSTEMS INC.
[EMAIL PROTECTED]  ,/ \ / \  | / |(  |  185 Columbia Street West
(519)883-3215|   |   | |/  | \ /   Waterloo, Ontario
Fax: (519)884-8861   |   |   | | \ | _) Canada   N2L 5Z5
\__/



Problem with getting JDK's to work

1998-09-16 Thread Molenda, Mark P

I have followed the checks listed on the web page for loading the jdk and
everything looks great.
The gzip tar file unloads and I add /usr1/jdk1.1.6/lib/classes.zip to my
CLASSPATH and /usr1/jdk1.1.6/bin
to my PATH.  When I try to compile a hello world program with javac it blows
up with a core dump.

I have RedHat 5.0 and glibc ( at least I think I do from the checks I
performed in the README's). 

Anyone having a similar problem?  I tried this again with jdk1.1.5 v7 same
problem, I need to get this up and
running ASAP. -Mark
Internet Business Solutions Team
Eastern Solutions Center
Amherst, New York



Re: Problem with getting JDK's to work

1998-09-16 Thread Michael Sinz

On Wed, 16 Sep 1998 09:50:49 -0400, Molenda, Mark P wrote:

>I have followed the checks listed on the web page for loading the jdk and
>everything looks great.
>The gzip tar file unloads and I add /usr1/jdk1.1.6/lib/classes.zip to my
>CLASSPATH and /usr1/jdk1.1.6/bin
>to my PATH.  When I try to compile a hello world program with javac it blows
>up with a core dump.
>
>I have RedHat 5.0 and glibc ( at least I think I do from the checks I
>performed in the README's). 

If you have RedHat 5.0 installed, make sure that you do not have the
kaffe JVM installed.  (Or have moved/renamed/etc the files and settings
it had set up)

>Anyone having a similar problem?  I tried this again with jdk1.1.5 v7 same
>problem, I need to get this up and running ASAP. -Mark

I have seen this problem on other systems and it was always that the
javac was from the Kaffe install.  (So I guess and hope that is what your
problem is.)

BTW - Maybe we should add to the FAQ a stronger statement about the Kaffe
RPMs from RedHat?

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




Server Socket problem

1998-09-16 Thread serge

Hello All.

I've made some servlet and installed JServ module for apache. All works
good but only short time.
JServ module restarts often because of "Invalid argument" in server socket
accept. Some error I've got while using JSDK's http server.

Does anyone know how to solve this problem?

bye, lserge




verify-error116v4a

1998-09-16 Thread Lars Vahlen

Does anyone know what kind of changes there are with the
security-model/signed applets from 115v7 to 116v4a? I have an
experimental applet, 
http://www.algonet.se/~val/MM_applet/mutatorapplet.html which worked
fine with 115v7 but throws a rather unexplained verify-error with
116v4a.

Regards 
Lars Vahlen

[EMAIL PROTECTED]



Printing PostScript output, was: Re: Printing of Graphics

1998-09-16 Thread Robert Dodier

Hello all,

This doesn't really answer the original question about printing
graphics, but perhaps this will be of interest to people who need
to print graphics.

I came across a class called PSGr and fixed it up a little -- the
result is attached to my homepage, http://civil.colorado.edu/~dodier.
The source code and some info about usage is there.

PSGr implements the methods of Graphics to generate PostScript output.
So you could use an ordinary screen graphics context to display
something, then switch to PSGr and get the same stuff written to a
PostScript file. 

I think it's a pretty nifty idea -- but don't thank me, thank
E.J. Friedman-Hill and David Binger, who are the main authors of PSGr.
OK, you can thank me a little bit -- I did add some stuff to it. :)

Enjoy,
Robert Dodier



Re: Swing & Navigator

1998-09-16 Thread Toni Nikkanen



On Wed, 16 Sep 1998 [EMAIL PROTECTED] wrote:

> 
> --
> | From: drobnic.pavlo /  mime, , , [EMAIL PROTECTED]
> | To: dpinya /  mime, , , [EMAIL PROTECTED]
> | Cc: java-linux /  mime, , , [EMAIL PROTECTED]
> | Subject: Re: Swing & Navigator
> | Date: Saturday, May 16, 1998 8:59AM
> |
> | >I'm usign Swing 1.0.2 and Communicator 4.05, and when I load any applet
> | > that uses some Swing class, I have the next message:
> | >
> | > java.lang.NoSuchMethodError: java.awt.Component: method enableEvent(J)V
> | > not found
> | >   at com.sun.java.swing.JComponent(JComponent.java:130)
> | >   at com.sun.java.swing.JRootPane. | >   at com.sun.java.swing.JApplet.createRootPane(JApplet.java:133)
> | > * at com.sun.java.swing.JApplet.(JApplet.java:113)
> | >   at SwingingApplet.(SwingingApplet.java:27)
> | >   at netscape.applet.DerivedAppletFrame.run(DerivedAppletFrame.java)
> | >   at java.lang.Thread.run(Thread.java)
> | >
> | >I have the packages swing.jar, motif.jar & window.jar in the classpath
> | > and in in the class directory of netscape
> | > (/usr/local/netscape/java/classes).
> | >
> |
> | The matter is that version of Java VM in Navigator is slightly different
> | ;-) from yores and is incompatible for Swing-applet running at all. You
> | may update Navigator's VM for newest. Sun has a product named Java
> | Plug-in. It could be found at
> | http://java.sun.com:80/products/plugin/index.html.
> | I have tried it under Win32 and it was working properly. But the major
> | problem in Linux case is that there aren't ports of Java Plug-in
> | available :-(
> 
> 
> There *IS* a plug-in port available for Linux. I've got one somewhere. 
> Don't remember where I got it from and I didn't find the time to give 
> it a try. I think it even has the name beta-version: Activator...
> 
>  I did try the windows version though, and that one worked once pretty good.
> Nowadays, I can't use the plug-in anymore, since upgrading/uninstalling 
> and installing of various versions of this product was too much for the 
> beautifull windows registry  8-(

Have you guys tried Netscape 4.06? It claims Java 1.1 support. At least I
can get my very simple Swing applets to work with it.




Problem spawning process with "several words"

1998-09-16 Thread Jon Priddey

Any help much appreciated:

I've got some code which integrates with RCS.
It creates a Process with:
Runtime.getRuntime().exec("ci -m\"blah blah blah\" filename",env);

where "blah blah blah" is the description of the check-in.
Enclosed in double quotes (") to group the words as a single parameter. 

My 116v2 seems to have problems with this, though it works fine on a Sun
JDK. 

ci gets the args as:
1/ -m"blah
2/ blah
3/ blah"
4/ filename.

I have tried spawning a shell in case the double-quotes are not handled
by the Linux implementation:

Runtime.getRuntime().exec("sh -c \"ci -m\"blah blah blah\"  \"",env);

In this case, ci complains about EOF while looking for a closing ".

I've also tried replacing the " with ', which gives the same results.

Hopefully someone has hit this before, or knows whether the JDK is
supposed to handle these things or pass them raw to the O/S - obviously
one word check-in descriptions isratherlimiting.

Regards, Jon.



libmath problem with jdk116v4

1998-09-16 Thread Oliver Koell

Hi,

i´m using the JDK1.1.6v4 on a SuSE 5.3 distribution. To get it working,
i had to
remove libc.so.5 and libdl.so.1 from the jdk´s lib directory.

Now i´ve got the following problem:


/usr/lib/java/bin/../bin/i686/green_threads/java: can't resolve symbol
'__eprintf'
/usr/lib/java/bin/../bin/i686/green_threads/java: can't resolve symbol
'__eprintf'
/usr/lib/java/bin/../bin/i686/green_threads/java: can't resolve symbol
'__eprintf'
Unable to resolve symbol (libmath.so)
java.lang.UnsatisfiedLinkError: no math in shared library path
at java.lang.Runtime.loadLibrary(Runtime.java)
at java.lang.System.loadLibrary(System.java)
at  

This only happens, when i use a java SSL library - i never encountered
this problem
with other code. 

I´m pretty sure, that libmath.so is in my library search path. Any
ideas, where
´__eprintf´ is suppose to be found?

Regards,

Oliver



OS/2 JVM three times faster than others!?

1998-09-16 Thread Dan Kegel

Check out
http://www.infoworld.com/cgi-bin/displayTC.pl?/980914analysis.htm

It shows OS/2's latest JVM to be *three times* faster than
any other.  (They haven't tried Blackdown's v4a yet; they only
used v2.)

Perhaps the Blackdown team will be interested in getting
a copy of the benchmark code they used; it looked easier
to run than the Volanomark.

- Dan



Re: javac problem

1998-09-16 Thread Jeff Sider

I also have the exact same problem.  Just install JDK-1.1.6-v4a libc
version on Red Hat 4.2.  If I run javac_g, I get:
SIGSEGV   11*  segmentation violation

Full thread dump:
"../../../../src/genunix/java/green_threads/src/monitor_md.c", line 443:
assertion failure

*** panic: Internal error dumping threads!

I also believe it may be because it can't find shared lib's libjava.so &
libawt.so, still investigating!!

Gao Lei wrote:
> 
> Same thing to me, one of my slackware machine have this problem, but
> the wired thing is that javac on other red hat machines have a nearly
> same glibc libraries runs well.
> 
> Hope somebody helps.
> Thanks.
> 
> Calixto Melean (Personal) wrote:
> 
> > I installed the corresponding jdk in my glibc linux system. the java
> > command runs fine. however, the compiler (javac) gives me the
> following
> > errors:
> >
> > SIGSEGV   11*  segmentation violation
> >
> > Full thread dump:
> > Monitor Cache Dump:
> > Registered Monitor Dump:
> > Monitor IO lock: 
> > Child death monitor: 
> > Event monitor: 
> > I/O monitor: 
> > Alarm monitor: 
> > Monitor registry: 
> > Thread Alarm Q:

begin:vcard
n:Sider;Jeff
x-mozilla-html:FALSE
org:SIDC Software Development Inc.
adr:;;;Hamilton;Ontario;;Canada
version:2.1
email;internet:[EMAIL PROTECTED]
title:Senior Consultant
x-mozilla-cpt:;0
fn:Jeff Sider
end:vcard




Re: Delete all class files

1998-09-16 Thread Markus Fritz

Just use

vpath %.class $(ROOT)/classes

in your makefile

Armen Yampolsky wrote:
> 
> I have a problem with this approach and using make, (probably because
> I'm not using make correctly), in that if I use the -d option and use a
> separate .class directory tree, make doesn't recognize the up-to-date
> files there and recompiles everything anyway. I can never get the
> "Nothing to be done for `CLASSES'" message when my Makefile looks like
> 
> CP = $(ROOT):$$CLASSPATH
> COMPILER = jikes
> VM = java
> COPTIONS = -g -deprecation -depend -d $(ROOT)/classes
> ROPTIONS = -Daxiomroot=$(ROOT)
> 
> [a listing of java files here]
> 
> %.class: %.java
> cd $(@D); $(COMPILER) $(COPTIONS) -classpath $(CP) $( 
> run: $(CLASSES)
> $(VM) $(ROPTIONS) -classpath $(CP) axiomsl.PMRunner
> 
> Any ideas?
> -A.
> 
> ___
> Armen Yampolsky
> Axiom Software Labs
> New York

-- 
Dipl.-Ing. (FH) Markus Fritz <[EMAIL PROTECTED]>
TC-Interactive GmbH * Alt-Würtemberg-Allee 89 * 71638 Ludwigsburg
Tel.: +49 -7141-128-214  Fax: +49 -7141-128-240



Re: Swing & Navigator

1998-09-16 Thread Paul V. Drobnich

>I'm usign Swing 1.0.2 and Communicator 4.05, and when I load any applet
> that uses some Swing class, I have the next message:
> 
> java.lang.NoSuchMethodError: java.awt.Component: method enableEvent(J)V
> not found
>   at com.sun.java.swing.JComponent(JComponent.java:130)
>   at com.sun.java.swing.JRootPane.   at com.sun.java.swing.JApplet.createRootPane(JApplet.java:133)
> * at com.sun.java.swing.JApplet.(JApplet.java:113)
>   at SwingingApplet.(SwingingApplet.java:27)
>   at netscape.applet.DerivedAppletFrame.run(DerivedAppletFrame.java)
>   at java.lang.Thread.run(Thread.java)
> 
>I have the packages swing.jar, motif.jar & window.jar in the classpath
> and in in the class directory of netscape
> (/usr/local/netscape/java/classes).
> 

The matter is that version of Java VM in Navigator is slightly different
;-) from yores and is incompatible for Swing-applet running at all. You
may update Navigator's VM for newest. Sun has a product named Java
Plug-in. It could be found at
http://java.sun.com:80/products/plugin/index.html.
I have tried it under Win32 and it was working properly. But the major
problem in Linux case is that there aren't ports of Java Plug-in
available :-(  

Pavel Drobnich

P.S. As for me, Swing-like applets is most slowest browser solution that
I seen in my life. Try servlets. Of course those not so nice as Swing,
but more applicable in real life.

I



Re: Printing of Graphics

1998-09-16 Thread Stephan Heffner

Hi Chris,

> > Chris Sommers wrote:
> >
> > Maarten,
> > Try using the swing graphics library. It has a componenet
> > called JTable which is suitable. I've been using Swing under
> > a different "popular" OS lately (guilt...), I like it.
> >
> > This begs the question -
> >
> > Open question to the  Community: is Swing available for
> > Linux? Is it stable enough?

We're developing a GUI for our animal management system using Swing.
There are a few problems, but we found for them solutions or
workarounds.

Our main development System is a HP-UX 10.20 Workstation, but our
preferred client System is Linux (currently SuSE 5.3 with JDK 1.1.6v2).

If it runs well under HP-UX, it also runs without problums under Linux.
At home I use also Linux for the development and transfer only the
compiled classes to the HP-machine. No probs.

In my opinion, Java using Swing (we use 1.0.3) under Linux and HP-UX is
ready for 'real' applications and is stable enough.

groetjes
Stephan
-- 
Real Users never know what they want, but they always know when your
program doesn't deliver it.
--
Stephan Heffner ([EMAIL PROTECTED])
Institute of Mammalian Genetics - http://www.gsf.de/isg
GSF Research Center, Ingolstaedter Landstrasse 1,  D-85764 Neuherberg



Re: Numeric Keypad Gone with new JVM

1998-09-16 Thread K.R. Foley

Adam Williams wrote:

> I upgraded from the JVM that comes with RedHat 4.2 (kaffe) to
> Blackdown's JVM (jdk1.1.6v2-libc5).  Drop and go, beautiful,  much better than
> my previous attempts to use thier JVM.  It seems MUCH faster and in some
> subtle way even seems to  "look" better.  But now my numeric keypad
> doesn't work,  it does nothing,  num-lock on or off.  And I get a pile
> of messages at startup like -
>
> Warning: ... found while parsing '%s'
> Warning: translation table syntax error: Unknown keysym name: osfCancel
> Warning: translation table syntax error: %s
> Warning: ... found while parsing ':osfCancel:
> ManagerParentCa
> n
> cel()'
>
> Hello?  These look like X resource issues to me,  but where does this
> thing pull them from?  The old java gave me messages too,  but everything
> worked?
> Any ideas?
>
> I have grepped around in app-defaults etc... for these string but found
> nothing.  i tried pointing editres at this app when it was running but
> it just says "Sending message to app for resources" or something very
> similiar but the app does not report any resources (it is the java
> app).  editres works on other apps, so I know that's not the problem.
>
> The app is the Citrix ICA client,  my users (around 150) use that to
> access a Winframe (Multi-User NT) server from Linux Desktops.
>
> P.S. Great work guys,  this is fast on an old i486.  Very impressive.

Adam,

This is where these are defined on my system /usr/X11R6/lib/X11/XKeysymDB. But
make sure that you have a link to them from here also
/usr/X386/lib/X11/XKeysymDB.  If for some reason you don't have this file
(XKeysymDB) a good copy of it comes with Netscape that you can copy over to these
locations.

Hope this helps,
K.R.

--
K.R. Foley
Alwan, Inc.
[EMAIL PROTECTED]





Re: ANNOUNCE: JAVA jdk116 for ALPHA

1998-09-16 Thread Uncle George

i have no access to 1.2, other than the 386 ports that javasoft beta's
out.

RH 4.1 ???, i'm surprised that 116, built on redhat 5.0 would work at
all??? The library call dladdr() wasn't even avail at 4.1 time, which is
now used to figure out where the parentage of the .so library is

anyway - where can i find the molecule viewer/demo - THE ONE U ARE
USING.
gat

Simon Kenyon wrote:

> can i just say thank you very much for that
> i've just got an alpha and was wondering what i would do about 1.1.6
> trying demo/MoleculeViewer gives very strange results
> 4 windows pop up with nothing in any of them
> i'm running rh4.1 (all updates applied), linux-2.1.121(pre1) and
> lesstiff-current (downloaded this morning)
>
> any ideas?
> thanks once again
> --
> simon
> ps do you have access to 1.2?






Re: Swing & Navigator

1998-09-16 Thread A . KLOS


--
| From: drobnic.pavlo /  mime, , , [EMAIL PROTECTED]
| To: dpinya /  mime, , , [EMAIL PROTECTED]
| Cc: java-linux /  mime, , , [EMAIL PROTECTED]
| Subject: Re: Swing & Navigator
| Date: Saturday, May 16, 1998 8:59AM
|
| >I'm usign Swing 1.0.2 and Communicator 4.05, and when I load any applet
| > that uses some Swing class, I have the next message:
| >
| > java.lang.NoSuchMethodError: java.awt.Component: method enableEvent(J)V
| > not found
| >   at com.sun.java.swing.JComponent(JComponent.java:130)
| >   at com.sun.java.swing.JRootPane.   at com.sun.java.swing.JApplet.createRootPane(JApplet.java:133)
| > * at com.sun.java.swing.JApplet.(JApplet.java:113)
| >   at SwingingApplet.(SwingingApplet.java:27)
| >   at netscape.applet.DerivedAppletFrame.run(DerivedAppletFrame.java)
| >   at java.lang.Thread.run(Thread.java)
| >
| >I have the packages swing.jar, motif.jar & window.jar in the classpath
| > and in in the class directory of netscape
| > (/usr/local/netscape/java/classes).
| >
|
| The matter is that version of Java VM in Navigator is slightly different
| ;-) from yores and is incompatible for Swing-applet running at all. You
| may update Navigator's VM for newest. Sun has a product named Java
| Plug-in. It could be found at
| http://java.sun.com:80/products/plugin/index.html.
|   I have tried it under Win32 and it was working properly. But the major
| problem in Linux case is that there aren't ports of Java Plug-in
| available :-(


There *IS* a plug-in port available for Linux. I've got one somewhere. 
Don't remember where I got it from and I didn't find the time to give 
it a try. I think it even has the name beta-version: Activator...

 I did try the windows version though, and that one worked once pretty good.
Nowadays, I can't use the plug-in anymore, since upgrading/uninstalling 
and installing of various versions of this product was too much for the 
beautifull windows registry  8-(

Cheers, Addy.






Re: Delete all class files

1998-09-16 Thread Paul Reavis

Armen Yampolsky wrote:
> 
> I have a problem with this approach and using make, (probably because
> I'm not using make correctly), in that if I use the -d option and use a
> separate .class directory tree, make doesn't recognize the up-to-date
> files there and recompiles everything anyway. I can never get the
> "Nothing to be done for `CLASSES'" message when my Makefile looks like

Looks like your targets (the %.class) don't end up pointing at the ones
in the right tree. I think (I'm not a make wizard, so may be wrong) that
would involve some games with the path-mangling functions.

Because of these and other issues, I wrote a simple program,
JarMakefileGenerator, that takes a make-like format and builds a
Makefile that compiles your code into jarfiles. It's GPLed and at
http://www.worldofbeverage.net/java/jcon/

-- 

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



Re: verify-error116v4a

1998-09-16 Thread Juergen Kreileder

Lars Vahlen <[EMAIL PROTECTED]> writes:

> Does anyone know what kind of changes there are with the
> security-model/signed applets from 115v7 to 116v4a? I have an
> experimental applet, 
> http://www.algonet.se/~val/MM_applet/mutatorapplet.html which worked
> fine with 115v7 but throws a rather unexplained verify-error with
> 116v4a.

I think that's problem:

$ javaverify MidiMutator   
Signalled error "java/lang/NoClassDefFoundError" with detail 
"javax/media/ControllerListener"
Class MidiMutator fails


Jürgen

-- 
Juergen Kreileder, Universitaet Dortmund, Lehrstuhl Informatik V
Baroper Strasse 301, D-44221 Dortmund, Germany
Phone: ++49 231/755-5806, Fax: ++49 231/755-5802



Re: Well done

1998-09-16 Thread Kenny Freeman

Hey, pictou county (NS Canada) was the pizza capital of the world - most
pizza places per person. Well, quantity, not nec quality eh?
BTW, keep up the good work. :)

__
Kenny Freeman <[EMAIL PROTECTED]>

"a population that gives up its freedoms in the name of order will
 ultimately end up losing both." 

On Wed, 16 Sep 1998, Uncle George wrote:

> Canadian pizza, i dont think so .  :-))) ( at least not for me. as i
> dont think anyone can match the garlic pizza from manville, n.j ( yes the former
> asbestos capital ))
> gat
> 
> James Seigel wrote:
> 
> > You guys rockcan we send pizza to you anywherE?
> >
> 
> 
> 



Re: Delete all class files

1998-09-16 Thread Armen Yampolsky

Thanks to everyone who wrote back! FWIW, the simplest solution for my
purposes turned out to be the addition of the following line:
 
Markus Fritz wrote:
> 
> Just use
> 
> vpath %.class $(ROOT)/classes
> 
> in your makefile


Cheers,
-Armen


> 
> Armen Yampolsky wrote:
> >
> > I have a problem with this approach and using make, (probably because
> > I'm not using make correctly), in that if I use the -d option and use a
> > separate .class directory tree, make doesn't recognize the up-to-date
> > files there and recompiles everything anyway. I can never get the
> > "Nothing to be done for `CLASSES'" message when my Makefile looks like


___
Armen Yampolsky
Axiom Software Labs
New York



Re: Problem spawning process with "several words"

1998-09-16 Thread Joe Carter

Try using the String[] version of exec.
That way it's doesn't get confused about what is a single argument.

i.e. String[] args = { "ci","-m bbb bbb","fred","bill","ernie" };
Runtime.getRuntime().exec(args);

Joe

Jon Priddey wrote:
> 
> Any help much appreciated:
> 
> I've got some code which integrates with RCS.
> It creates a Process with:
> Runtime.getRuntime().exec("ci -m\"blah blah blah\" filename",env);
> 
> where "blah blah blah" is the description of the check-in.
> Enclosed in double quotes (") to group the words as a single parameter.
> 
> My 116v2 seems to have problems with this, though it works fine on a Sun
> JDK.
> 
8<
-- 
Joe Carter  Software Engineer
Brite Voice Systems Ltd, Gatley, Cheshire. UK.
mailto:[EMAIL PROTECTED]



javac problem

1998-09-16 Thread Calixto Melean (Personal)

I installed the corresponding jdk in my glibc linux system. the java
command runs fine. however, the compiler (javac) gives me the following
errors:

SIGSEGV   11*  segmentation violation

Full thread dump:
Monitor Cache Dump:
Registered Monitor Dump:
Monitor IO lock: 
Child death monitor: 
Event monitor: 
I/O monitor: 
Alarm monitor: 
Monitor registry: 
Thread Alarm Q:



Re: Problem spawning process with "several words"

1998-09-16 Thread Michael Sinz

On Wed, 16 Sep 1998 22:41:34 +0800, Jon Priddey wrote:

>Any help much appreciated:
>
>I've got some code which integrates with RCS.
>It creates a Process with:
>Runtime.getRuntime().exec("ci -m\"blah blah blah\" filename",env);
>
>where "blah blah blah" is the description of the check-in.
>Enclosed in double quotes (") to group the words as a single parameter. 
>
>My 116v2 seems to have problems with this, though it works fine on a Sun
>JDK. 
>
>ci gets the args as:
>1/ -m"blah
>2/ blah
>3/ blah"
>4/ filename.

I think you have the quotes in the wrong spot.  On the command line
you need to type:

ci "-mblah blah blah" foo.c

Doing

ci -m"blah blah blah" foo.c

does not work since the " is in the middle of an argument word.  (Standard
shell parsing, which is what happens when you use the exec() method.



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: Java Activator (plugin) on redhat 5.1 with Netscape 4.06

1998-09-16 Thread Milan Zimmermann

Stephen Martin wrote:
> 
> I just downloaded the java activator from blackdown.org and have installed
> it. It does not seem to work. When I start netscape I get:
> 
> ERROR: /home/smartin/.netscape/plugins/javaplugin.so: undefined symbol: stat
> Cant load plugin /home/smartin/.netscape/plugins/javaplugin.so. Ignored.
> 
> and if I got to the about:plugins page netscape crashes with
> 
> Illegal instruction (core dumped)
> 
> Does anyone know how to get it to work? Is there a newer version
> somewhere?

Mine works with: Redhat 5.1, Netscape 4.06, Blackdown JDK 1.1.6(v3),
java Plugin 1.1, version unknown - about 3 weeks old - I think it did
not change for a while. I installed it as root under /usr/local - not
sure if that makes any difference.

Installation instructions are attached.


Regards, Milan


> 
> Steve
> --
>  __
> Stephen Martin _   _   |/_ \ MORTICE KERN SYSTEMS INC.
> [EMAIL PROTECTED]  ,/ \ / \  | / |(  |  185 Columbia Street West
> (519)883-3215|   |   | |/  | \ /   Waterloo, Ontario
> Fax: (519)884-8861   |   |   | | \ | _) Canada   N2L 5Z5
> \__/

-- 
-
There's always something magic: Java, Linux, Solaris
Title: Runtime Plug-in for Linux, Java(tm) Edition






Runtime Plug-in for Linux, JavaTM Edition






Versions

The Runtime-plugin for Linux is available on both glibc and libc5 platforms.
The following configurations are absolutely neccessary:


glibc

Steve Byrne's 1.1.5v5 glibc port of the jdk (jdk1.1.5v5-980311.tar.gz)
libc-2.0.6.so
libdl-2.0.6.so
ld-2.0.6

The output of 'java -version' should return "cls:03/11/11-08:49"
n


libc5

Steve Byrne's 1.1.5v6 libc5 port of the jdk (jdk1.1.5.tar.gz)
libc.so.5.4.44 or greater
libm.so.5.0.9 or greater
libdl.so.1.8.5 or greater

The output of 'java -version' should return "Linux_JDK_1.1.5_v6"




Environment Variables


 ACTIVATOR_TRACE
 The variable ACTIVATOR_TRACE controls whether a verbose trace should
be produced. If it is simply set, then the trace output will go to
through standard Netscape stderr. If it is set to a non-empty value,
the plugin will attempt to create a file $ACTIVATOR_TRACE and will
store a copy of the diagnostics output there. 




Installation

Installation of the plugin involves executing the package that suits your
configuration. For example: 


   chmod +x activator-linux-libc5
   ./activator-linux-libc5


By default, the plugin is installed in user's home directory. It is
also possible to install a single shared copy of the Java Plug-in. You
need to set up a shared directory "foo" to have both a plugins
sub-directory and javaplugin sub-directory. 

	foo/plugins
	foo/javaplugin



Start by doing a normal install of the plugin, and then move the files
to the shared directory. Specifically, move the files from
~/.netscape/javaplugin to foo/javaplugin and from
~/.netscape/plugins/javaplugin.so to foo/plugins/javaplugin.so.


For each user using the shared install, make sure that they have
foo/plugins on their Netscape NPX_PLUGIN_PATH environment variable
when they run Netscape. 

	NPX_PLUGIN_PATH=/usr/local/foo/plugins:/some/other/directory;
	export NPX_PLUGIN_PATH









Java benchmark article

1998-09-16 Thread Dan Kegel

Hi Mr. Young,
I enjoyed reading your article,
http://www.infoworld.com/cgi-bin/displayTC.pl?/980914analysis.htm
I really liked your technique of factoring out
everything but the Java VM in question.  Good job!

I understand that Blackdown's JDK1.1.6v4a has removed
a bottleneck that impacted its Volanomark scores.
I'm cc'ing the Java-Linux list so they can correct me if
I'm wrong.
You might want to repeat the test with that version
in your copious spare time :-)

The raw version is at 
ftp://ftp.tux.org/pub/java/JDK-1.1.6/i386/glibc/v4a/jdk1.1.6v4a-i386-glibc.tar.gz

The RPM version can be installed with
rpm -Uvh
ftp://ftp.redhat.com/pub/contrib/hurricane/i386/jdk-sbb-1.1.6-4a.glibc.i386.rpm
or so I'm told.

Thanks,
Dan



Re: Problem with getting JDK's to work

1998-09-16 Thread Sorin Lingureanu

On Wed, 16 Sep 1998, Molenda, Mark P wrote:

> I have followed the checks listed on the web page for loading the jdk and
> everything looks great.
> The gzip tar file unloads and I add /usr1/jdk1.1.6/lib/classes.zip to my
> CLASSPATH and /usr1/jdk1.1.6/bin
> to my PATH.  When I try to compile a hello world program with javac it blows
> up with a core dump.
> 
> I have RedHat 5.0 and glibc ( at least I think I do from the checks I
> performed in the README's). 
> 

Try this:

rpm -Uvh 
ftp://ftp.redhat.com/pub/contrib/hurricane/i386/jdk-sbb-1.1.6-4a.glibc.i386.rpm

Good luck,
===
Sorin LINGUREANU ([EMAIL PROTECTED], [EMAIL PROTECTED])

Network Administrator in Data Communication Center  
"Gh. Asachi" Technical University of Iasi
 http://www.tuiasi.ro/pages/CCTI
Bd. Copou, nr. 22   Work Phone:   +40 (0) 32 214410
Iasi - ROMANIA  Mobile Phone: +40 (0) 92 242321
===



Re: Well done

1998-09-16 Thread Uncle George

Canadian pizza, i dont think so .  :-))) ( at least not for me. as i
dont think anyone can match the garlic pizza from manville, n.j ( yes the former
asbestos capital ))
gat

James Seigel wrote:

> You guys rockcan we send pizza to you anywherE?
>