JDK1.1.6v4a can't find library libXp.so.6

1998-09-08 Thread Wim Ceulemans

Hi

I have upgraded my jdk1.1.6v2 to jdk 1.1.6v4a and ran into an error. After
installing when I run javac it displays the following error:

/usr/local/jdk1.1.6v4a/bin/../bin/green-threads/java: Can.t load library
libXp.so.6

Does anyone know what is in libXp and where to find it? or what is the
problem?
I have a Redhat linux 4.2 (2.0.30) with the correct libc5 and ld installed
(worked with the v2).

Regards
Wim Ceulemans
Nice Software Solutions



Dialog error in v4a

1998-09-08 Thread Brad Pepers

Just an update that the bug with modal dialogs I found recently
still occurs in the latest JDK1.1.6v4a.

-- 
Brad Pepers
Linux Canada Inc.Home of Linux products in Canada!
http://www.linuxcanada.com   Proud supporter of Cyclades, Red
[EMAIL PROTECTED] Hat, and Caldera.



String -> Integer/Double/etc

1998-09-08 Thread Maarten van Leunen

Howdie,

Isn't there a way for a String to be transported to int or double or
float or something?

The way I'm doing it now is by creating an Object Double, and
initializing it with a String. Then using a method of Double to retrieve
the value as an ordinary double. This is a bit of a hassle.

-- 
Maarten van Leunen

Student - Fontys Institute of Technology Eindhoven
e-mail: [EMAIL PROTECTED]
http://www.il.fontys.nl/~maartenl
http://lok.il.fontys.nl/



Re: String -> Integer/Double/etc

1998-09-08 Thread Tar . Zoltan



>   Hello
> 
>   Try Integer.parseInt( String value ), or Float.valueOf( String
> value ) functions.
> 
>   I think these will be good for you.
> 
>   Zoltan Tar
> 
> --
> From: Maarten van Leunen[SMTP:[EMAIL PROTECTED]]
> Reply To: [EMAIL PROTECTED]
> Sent: 1998. szeptember 8. 10:50
> To:   [EMAIL PROTECTED]
> Subject:  String -> Integer/Double/etc
> 
> Howdie,
> 
> Isn't there a way for a String to be transported to int or double or
> float or something?
> 
> The way I'm doing it now is by creating an Object Double, and
> initializing it with a String. Then using a method of Double to
> retrieve
> the value as an ordinary double. This is a bit of a hassle.
> 
> -- 
> Maarten van Leunen
> 
> Student - Fontys Institute of Technology Eindhoven
> e-mail:   [EMAIL PROTECTED]
> http://www.il.fontys.nl/~maartenl
> http://lok.il.fontys.nl/
> 
> 



Where to get RPM version of the JDK?

1998-09-08 Thread rnb/Copenhagen

 I've only been subscribing to this list for a day (looks good so far), 
 so I'm sorry if this has been covered, but I haven't had the time to 
 check the archives.
 
 Where can I get a RPM version of the JDK for my RedHat 5.1?
 
 If no RPM exist, where should I go?
 
 Also, can I use the stuff I make in JBuilder on Win95 under Linux?
 
 yours
 
 Rene
 [EMAIL PROTECTED]
 
 - Get WebLinks - FREE!
 - get http://www.geocities.com/SiliconValley/Park/7812/WEBLX22.ZIP
 - or send mail to:
 - [EMAIL PROTECTED] with subject: SEND WebLinks



Compilation weirdness

1998-09-08 Thread Bernd Kreimeier



public abstract class BS {
  /** The local host default. */
  public static final InetAddress LOCALHOST;

  static {
InetAddress localhost = null;
try {
  localhost = InetAddress.getLocalHost();
}
catch ( UnknownHostException ex ) {
  System.err.println("Failed to retrieve local host");
}
LOCALHOST = localhost;
  }
}


If compiled with javac BS.java, no problem is reported.
If compiled a BSS extending BS, as javac BSS.java,
I get (reported for BS.java, not BSS):

 Blank final variable 'LOCALHOST' may not have been initialized. 
 It must be assigned a value in an initializer, or in every 
 constructor.
   static {


Even if the error was justified, the error should be reported
no matter what source I compile - and yes, I deleted *all* class 
files. Worse, if I compile BS first, BSS afterwards, no compile 
error is reported. Is this Sun BS? Or some Linux JDK problem?


   b.



Make depend for Java

1998-09-08 Thread Bernd Kreimeier


The weird logic in which javac handles or ignores
dependencies (esp. source files more recent than
class files) never ceases to annoy me. Does anybody
have a decent solution to share that creates
dependencies from "import" and makes them work with
JDK?


  b.




Re: Make depend for Java

1998-09-08 Thread Vincent Trussart

Bernd Kreimeier wrote:

> The weird logic in which javac handles or ignores
> dependencies (esp. source files more recent than
> class files) never ceases to annoy me. Does anybody
> have a decent solution to share that creates
> dependencies from "import" and makes them work with
> JDK?
>
>   b.
>

I use the wondeful "JavaDeps" (
http://www.cs.mcgill.ca/~stever/software/JavaDeps/ ).
It parses your ".java" files and generate dependecy rules that can be
included
in a makefile.

Suppose I have a directory structure like this :

project /
   src/
   classes/
   doc/
   jars/


And here is my Makefile :
--
JAVACOMPILE = jikes -classpath classes:$(CLASSPATH) -d classes

all: real_all

include .deps

real_all: $(CLASSES)

sourcelist:
find . -name '*.java' > .sourcefiles

deps: Makefile
jdeps -d classes -f .sourcefiles > .deps

docs:
polardoc -d doc -r -private -version -author src/


jars: real_all
sh ./.makejars
-

When used for the first time or when you just added a new source file to
your projet
you must do :

1- generate a list of all the source files in your projet (make
sourcelist)
2- generate dependancies (make deps)





begin:vcard
n:Trussart;Vincent
x-mozilla-html:TRUE
org:Université de Montréal
adr:
version:2.1
email;internet:[EMAIL PROTECTED]
note:ICQ# 4357910
x-mozilla-cpt:;-28736
fn:Vincent Trussart
end:vcard




JDK1.1.6v4a socket problem

1998-09-08 Thread Michael Thome

I'm having a socket-related problem new to v4a.  It all still works
under v3a...

Here's the exception:
com.objectspace.voyager.transport.TransportException: java.net.SocketException: Socket 
option unsupported
at com.objectspace.voyager.transport.Gateway.send(Gateway.java:83)
at 
com.objectspace.voyager.message.RemoteMessenger.travel(RemoteMessenger.java:150)
at com.objectspace.voyager.message.RemoteSync.deliver(RemoteSync.java:95)
at 
com.objectspace.voyager.message.RemoteSync.__remoteInvoke(RemoteSync.java:70)
at com.objectspace.voyager.message.Messenger.__invoke(Messenger.java:106)
at com.objectspace.voyager.message.Future$1.run(Future.java:111)
at com.objectspace.thread.ReusableThread.run(ReusableThread.java:82)

I'm using:
JDK1.1.6v4a-glibc (normally with TYA 1.0, currently disabled for debugging).
RH 5.0+patches  (mostly up to 5.1).
glibc-2.0.7 (rpm glibc-2.0.7-19)
ld-2.0.7
XF86 3.3.2  (rpm 3.3.2-3)
kernel 2.1.117 on ppro

The salient bit of the strace seem to be:
setsockopt(22, IPPROTO_TCP1, [1], 4)= 0
but I don't see any obvious differences between a working (v3a) and
broken (v4a) strace - not too difficult to miss something, though...

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



BUG: multicast socket bug in jdk 4a

1998-09-08 Thread Levente Farkas

hi,
it seems jdk 4a is unable to make a multcast socket. we've got the 
following trace:
---
java aci.apps.multiplexer.App
self register
  mUDP-read-0:get address for pim-routers.mcast.net
  mUDP-read-0:create mcast on pim-routers.mcast.net/224.0.0.13
*** mUDP-read-0:cannot started
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)
at aci.sneaker.mcast.MulticastService.init(MulticastService.java:43)
at aci.sneaker.mcast.Reflector.init(Reflector.java:37)
at aci.util.Service.start(Service.java:120)
at aci.sneaker.mcast.MultiplexerImpl.(MultiplexerImpl.java:69)
at
aci.sneaker.mcast.MultiplexerImpl.getMultiplexer(MultiplexerImpl.java:60)
at aci.apps.multiplexer.App.selfRegister(App.java:31)
at aci.apps.multiplexer.App.(App.java:21)
at aci.apps.multiplexer.App.main(App.java:15)
exit
---
with the new 1.1.6 v4a while it's woring with 1.1.6 v2:

---
java aci.apps.multiplexer.App
self register
  mUDP-read-0:get address for pim-routers.mcast.net
  mUDP-read-0:create mcast on pim-routers.mcast.net/224.0.0.13
  mUDP-read-0: try to join with java.net.MulticastSocket@80cca27
mUDP-read-0:joined
  mUDP-read-0:socket created
mUDP-read-0:running
---
the code segment was the following:
---
40.  dump.trace("get address for "+addr);
41.  group = InetAddress.getByName( addr );
42.  dump.trace("create mcast on "+group);
43.  msock = new MulticastSocket( port );
44.  dump.trace(" try to join with "+msock); 
45.  msock.joinGroup( group );
46.  dump.event("joined");
47.  dump.trace( "socket created" );
-
and the error come from line 43.

 -- Levente

 --
 E-Mail:   Levente Farkas <[EMAIL PROTECTED]>
 Homepage: http://www.inf.u-szeged.hu/~lfarkas/
 PGP public key & Geek Code: [EMAIL PROTECTED]
 --



Expanding arrays

1998-09-08 Thread Maarten van Leunen

Howdie,

Is there a way to expand arrays. Like, I want to put a unknown number of
strings in an array.

And then "return" the array of Strings in the Method.

I read one string, and wish to add it to the array without having to
define the amount of Strings in the array previously.

-- 
Maarten van Leunen

Student - Fontys Institute of Technology Eindhoven
e-mail: [EMAIL PROTECTED]
http://www.il.fontys.nl/~maartenl
http://lok.il.fontys.nl/



Re: Expanding arrays

1998-09-08 Thread Keith T. Garner

On Tue, Sep 08, 1998 at 05:59:26, Maarten van Leunen said:
> Is there a way to expand arrays. Like, I want to put a unknown number of
> strings in an array.
> 
> And then "return" the array of Strings in the Method.
> 
> I read one string, and wish to add it to the array without having to
> define the amount of Strings in the array previously.

Why not just use a java.util.Vector?

Keith

-- 
  Keith T. Garner   [EMAIL PROTECTED]
  STR Consultant   http://www.str.com/ [EMAIL PROTECTED]
"Its hard to play pin the tail on the donkey when its running
around kicking you." -- Illinois Little Lotto radio commercial



Re: Expanding arrays

1998-09-08 Thread Jeffery Eddings

On expanding arrays...

Maarten van Leunen wrote:
> 
> Is there a way to expand arrays. Like, I want to put a unknown number of
> strings in an array.
> 
> And then "return" the array of Strings in the Method.
> 
> I read one string, and wish to add it to the array without having to
> define the amount of Strings in the array previously.

Without declaring a new_one that is (old_one.length + 1) long and copying the
the entire old_one array into the new_one, then adding the new_string, I don't
think so.  Is this someting you can't use a Vector for?

--Jeff

P.S. Introductions:  Howdy!  Jeff, lurker, but very interested in seeing what
kind of work there is to be done.



Re: Expanding arrays

1998-09-08 Thread Michael Sinz

On Tue, 08 Sep 1998 17:59:26 +0200, Maarten van Leunen wrote:

>Howdie,
>
>Is there a way to expand arrays. Like, I want to put a unknown number of
>strings in an array.
>
>And then "return" the array of Strings in the Method.
>
>I read one string, and wish to add it to the array without having to
>define the amount of Strings in the array previously.

Generally I tend to use the java.util.Vector class if I really can not
know the size of the array before hand.  Then, if I need to make an
array from it, I just use the copyInto() method after building the
array of the right type and size.  For example:

java.util.Vector v=new java.util.Vector();

///  add all sorts of String object to the vector

String[] result=new String[v.size()];
v.copyInto(result);


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: JDK1.1.6v4a can't find library libXp.so.6

1998-09-08 Thread A . KLOS


| ---
| In message , [EMAIL PROTECTED] writes:
|
| I have the same setup as Wim does (RedHat4.2) and encounter the
| same problems: can't load library libXp.so.6 .
|
| For now, you want to grab the .tar.gz for libc5 and install it by hand.

Actually I don't want to be bothered with the upgrade to XFree86-3.3.2 
if it is not absolutely nescessary.

Does somebody know if the dependency of jdk116v4a on XFree86-3.3.2 
happened coincidentally or was it on purpose, but just forgotten to 
write about in the release notes...

Addy.



Announce : JAppTemplate [was : make depend for java]

1998-09-08 Thread Vincent Trussart

Since questions about dependencies generation with java
comes up quite often, I decided to put online a java application
development template.  It consists of a directory structure and
a makefile that uses the dependencies generated by JavaDeps.

It is available at : http://www.iro.UMontreal.CA/~trussarv/japptemplate

Maybe this should go in the java-linux HOWTO ...


begin:vcard
n:Trussart;Vincent
x-mozilla-html:TRUE
org:Université de Montréal
adr:
version:2.1
email;internet:[EMAIL PROTECTED]
note:ICQ# 4357910
x-mozilla-cpt:;-28736
fn:Vincent Trussart
end:vcard




Re: Expanding arrays

1998-09-08 Thread Wim Ceulemans


>Is there a way to expand arrays. Like, I want to put a unknown number of
>strings in an array.
>
>And then "return" the array of Strings in the Method.
>
>I read one string, and wish to add it to the array without having to
>define the amount of Strings in the array previously.
>
Why don't you use the Vector class?

Regards
Wim



Re: JDK1.1.6v4a can't find library libXp.so.6

1998-09-08 Thread Mats Petersson

On Tue, 8 Sep 1998, Wim Ceulemans wrote:

> Hi
> 
> I have upgraded my jdk1.1.6v2 to jdk 1.1.6v4a and ran into an error. After
> installing when I run javac it displays the following error:
> 
> /usr/local/jdk1.1.6v4a/bin/../bin/green-threads/java: Can.t load library
> libXp.so.6
> 
> Does anyone know what is in libXp and where to find it? or what is the
> problem?
> I have a Redhat linux 4.2 (2.0.30) with the correct libc5 and ld installed
> (worked with the v2).
> 
> Regards
> Wim Ceulemans
> Nice Software Solutions
> 
> 
> 

Apparently this library appeared in later X releases. I tried XFree86
v3.3.2 patchlevel 3, which corresponds to 6.3 i think of X11, and there
this particular library is included.
It's bad they don't write what requirements of X11 JDK needs, I had
to find this out myself :(

Mats



Re: JDK1.1.6v4a can't find library libXp.so.6

1998-09-08 Thread A . KLOS

I have the same setup as Wim does (RedHat4.2) and encounter the same 
problems: can't load library libXp.so.6 .
Upgrading to a newer version of XFree86 should be easy with the RPM 
mechanism of RedHat. Unfortunately RedHat 4 is linked against libc5 and 
RedHat 5.x is linked against libc6 (a.k.a. glibc).
I am afraid that the only RPM of XFree86 3.3.2 I can find will be 
linked against glibc or is there anybody that knows of a  XFree86 3.3.2 
RPM linked against libc5?

Cheers,

Addy Klos
Shell Research
The Netherlands.


--
| From: mats.petersson /  mime, , , [EMAIL PROTECTED]
| To: wim.ceulemans /  mime, , , [EMAIL PROTECTED]
| Cc: java-linux /  mime, , , [EMAIL PROTECTED]
| Subject: Re: JDK1.1.6v4a can't find library libXp.so.6
| Date: Tuesday, September 08, 1998 9:15AM
|
| On Tue, 8 Sep 1998, Wim Ceulemans wrote:
|
| > Hi
| >
| > I have upgraded my jdk1.1.6v2 to jdk 1.1.6v4a and ran into an error. After
| > installing when I run javac it displays the following error:
| >
| > /usr/local/jdk1.1.6v4a/bin/../bin/green-threads/java: Can.t load library
| > libXp.so.6
| >
| > Does anyone know what is in libXp and where to find it? or what is the
| > problem?
| > I have a Redhat linux 4.2 (2.0.30) with the correct libc5 and ld installed
| > (worked with the v2).
| >
| > Regards
| > Wim Ceulemans
| > Nice Software Solutions
| >
| >
| >
|
| Apparently this library appeared in later X releases. I tried XFree86
| v3.3.2 patchlevel 3, which corresponds to 6.3 i think of X11, and there
| this particular library is included.
| It's bad they don't write what requirements of X11 JDK needs, I had
| to find this out myself :(
|
| Mats
| 



Re: JDK1.1.6v4a can't find library libXp.so.6

1998-09-08 Thread Stephen Wynne

In message , [EMAIL PROTECTED] writes: 

I have the same setup as Wim does (RedHat4.2) and encounter the
same problems: can't load library libXp.so.6 .

For now, you want to grab the .tar.gz for libc5 and install it by hand.



Re: ORB uder linux?

1998-09-08 Thread Rich Edwards

By far the best "free" CORBA implementation that runs on Linux is
ORBacus (formerly OmniBroker), from OOC (www.ooc.com).  It has both C++
and Java support, and is a top-notch product.  It is free for
non-commercial uses, and royalty-free for commercial use, with a
development license structure.  We have been using it for several months
now, and highly recommend it.

Paul V. Drobnich wrote:
> 
> Hi,
> 
> Anybody knows anything about free CORBA2 ORB uder linux,
> or some idl2java precompiler for linux?

-- 
Rich Edwards
Senior Software Engineer
Codonics, Inc.
e-mail: [EMAIL PROTECTED]



Re: ORB uder linux?

1998-09-08 Thread Matt Zagni

Rich,

How was the install have you any pointers

What JDK are you using ?

Does it work with slackware too ?

Many thanks

Matt

> From [EMAIL PROTECTED] Tue Sep  8 14:48:19 1998
> From: [EMAIL PROTECTED] (Rich Edwards)
> Subject: Re: ORB uder linux?
> 
> By far the best "free" CORBA implementation that runs on Linux is
> ORBacus (formerly OmniBroker), from OOC (www.ooc.com).  It has both C++
> and Java support, and is a top-notch product.  It is free for
> non-commercial uses, and royalty-free for commercial use, with a
> development license structure.  We have been using it for several months
> now, and highly recommend it.
> 
> Paul V. Drobnich wrote:
> > 
> > Hi,
> > 
> > Anybody knows anything about free CORBA2 ORB uder linux,
> > or some idl2java precompiler for linux?
> 
> -- 
> Rich Edwards
> Senior Software Engineer
> Codonics, Inc.
> e-mail: [EMAIL PROTECTED]
> 



Re: Get You FREE CD-ROM today

1998-09-08 Thread Christopher Hinds

How this vile stuff  get on this here?

[EMAIL PROTECTED] wrote:
http://www.free-cdrom.com
welcomes you to get your
very own Windows 95, Windows 98, and Windows NT
enhancement CD-ROM. This CD-ROM contains backgrounds,
screen savers, Animated Cursors, Icons, Fonts, and much
more. It's packed with 600MB of goodies.

Stop by http://www.free-cdrom.com
and get your own
copy today!
 


Re: ORB uder linux?

1998-09-08 Thread Joe Carter

Rich Edwards wrote:
> 
> By far the best "free" CORBA implementation that runs on Linux is
> ORBacus (formerly OmniBroker), from OOC (www.ooc.com).  It has both C++
> and Java support, and is a top-notch product.  It is free for
> non-commercial uses, and royalty-free for commercial use, with a
> development license structure.  We have been using it for several months
> now, and highly recommend it.
> 

OmniORB is now at OmniORB2 and is still totally free (GPL) at
http://www.orl.co.uk/omniORB/omniORB.html

Joe

-- 
Joe Carter  Software Engineer
Brite Voice Systems Ltd, Gatley, Cheshire. UK.
mailto:[EMAIL PROTECTED]



Re: ORB uder linux?

1998-09-08 Thread Rich Edwards

Matt Zagni wrote:
> 
> Rich,
> 
> How was the install have you any pointers

Very straightforward - just followed the included instructions.

> 
> What JDK are you using ?
> 

v1.1.5

> Does it work with slackware too ?
> 

Don't know for sure.  We are running it under RedHat 5.1 for Alpha.  I
understand that it works under Intel Linux, but don't have details on
which distributions.  Check the OOC website for more info.

> Many thanks
> 
> Matt
> 
> > From [EMAIL PROTECTED] Tue Sep  8 14:48:19 1998
> > From: [EMAIL PROTECTED] (Rich Edwards)
> > Subject: Re: ORB uder linux?
> >
> > By far the best "free" CORBA implementation that runs on Linux is
> > ORBacus (formerly OmniBroker), from OOC (www.ooc.com).  It has both C++
> > and Java support, and is a top-notch product.  It is free for
> > non-commercial uses, and royalty-free for commercial use, with a
> > development license structure.  We have been using it for several months
> > now, and highly recommend it.
> >
> > Paul V. Drobnich wrote:
> > >
> > > Hi,
> > >
> > > Anybody knows anything about free CORBA2 ORB uder linux,
> > > or some idl2java precompiler for linux?
> >
> > --
> > Rich Edwards
> > Senior Software Engineer
> > Codonics, Inc.
> > e-mail: [EMAIL PROTECTED]
> >

-- 
Rich Edwards
Senior Software Engineer
Codonics, Inc.
e-mail: [EMAIL PROTECTED]



Re: Expanding arrays

1998-09-08 Thread Robert Dietrick

You probably want to use a Vector.

import java.util.Vector;

Vector vec = new Vector();

Then, to add an element, use:
vec.addElement(someString);

to retrieve an element, you can use:
String myString = (String)(vec.elementAt(index));

(you've got to cast the returned object into a String)


-Rob


On Tue, 8 Sep 1998, Maarten van Leunen wrote:

> Howdie,
> 
> Is there a way to expand arrays. Like, I want to put a unknown number of
> strings in an array.
> 
> And then "return" the array of Strings in the Method.
> 
> I read one string, and wish to add it to the array without having to
> define the amount of Strings in the array previously.
> 
> -- 
> Maarten van Leunen
> 
> Student - Fontys Institute of Technology Eindhoven
> e-mail:   [EMAIL PROTECTED]
> http://www.il.fontys.nl/~maartenl
> http://lok.il.fontys.nl/
> 




Make depend for Java

1998-09-08 Thread Paul Michael Reilly

Bernd Kreimeier writes:
 > 
 > The weird logic in which javac handles or ignores
 > dependencies (esp. source files more recent than
 > class files) never ceases to annoy me. Does anybody
 > have a decent solution to share that creates
 > dependencies from "import" and makes them work with
 > JDK?

It pains me that I've forgotten/lost the original poster, but in any
case, I've bought into using `jikes -E -depend ...' to handle
dependencies.  You can't get away with this using the JDK since it is
soo slow.  On the other hand, jikes is sufficiently up to the
task.  I'm still blown away every time I see this compiler strut its
stuff.  Simply incredible.  The -E option generates Emacs compatible
error messages.

You can get it from
http://www.alphaworks.ibm.com/formula.nsf/toolpreview/9CCDECA31426CCAD8825646E007D67F3

Enjoy,

-pmr



Re: Compilation weirdness

1998-09-08 Thread Juergen Kreileder

Bernd Kreimeier <[EMAIL PROTECTED]> writes:

> public abstract class BS {
>   /** The local host default. */
>   public static final InetAddress LOCALHOST;
> 
>   static {
> InetAddress localhost = null;
> try {
>   localhost = InetAddress.getLocalHost();
> }
> catch ( UnknownHostException ex ) {
>   System.err.println("Failed to retrieve local host");
> }
> LOCALHOST = localhost;
>   }
> }
> 
> 
> If compiled with javac BS.java, no problem is reported.
> If compiled a BSS extending BS, as javac BSS.java,
> I get (reported for BS.java, not BSS):
> 
>  Blank final variable 'LOCALHOST' may not have been initialized. 
>  It must be assigned a value in an initializer, or in every 
>  constructor.
>static {
> 
> 
> Even if the error was justified, the error should be reported
> no matter what source I compile - and yes, I deleted *all* class 
> files. Worse, if I compile BS first, BSS afterwards, no compile 
> error is reported. Is this Sun BS? Or some Linux JDK problem?

Bernd,

can you send me a complete example?

There are some known problems with blank finals and the 1.1 javac,
javac from 1.2 is much better.


Juergen



Re: Make depend for Java

1998-09-08 Thread dan

Use jikes, from http://www.alphaworks.ibm.com.

It also happens to be faster and more rigerous than javac.

enjoy!
-dan

Bernd Kreimeier wrote:

> The weird logic in which javac handles or ignores
> dependencies (esp. source files more recent than
> class files) never ceases to annoy me. Does anybody
> have a decent solution to share that creates
> dependencies from "import" and makes them work with
> JDK?
>
>   b.
>



Re: JDK1.1.6v4a can't find library libXp.so.6

1998-09-08 Thread Christopher Seawood

On Tue, 8 Sep 1998 [EMAIL PROTECTED] wrote:

> | ---
> | In message , [EMAIL PROTECTED] writes:
> |
> | I have the same setup as Wim does (RedHat4.2) and encounter the
> | same problems: can't load library libXp.so.6 .
> |
> | For now, you want to grab the .tar.gz for libc5 and install it by hand.
> 
> Actually I don't want to be bothered with the upgrade to XFree86-3.3.2 
> if it is not absolutely nescessary.
> 
> Does somebody know if the dependency of jdk116v4a on XFree86-3.3.2 
> happened coincidentally or was it on purpose, but just forgotten to 
> write about in the release notes...

The dependency comes from using Motif 2.1 which requires the printing
extension of X, libXp, which is new as of X11R6.3, I think.  Motif 2.1
has been used for several releases of the jdk, so I'm surprised this
seems to be such a big deal.  If you look in the redhat-4.2/updates
directory, you'll find the XFree86 3.3.2 rpms for libc5.

- cls



Re: Where to get RPM version of the JDK?

1998-09-08 Thread Ronald P. Smith

The following URL has the most up to date JDK RPMs I've found:
http://anna.inf.u-szeged.hu/java/java-rpm.html

As far as using JBuilder & the Linux JDK, I've been using both and haven't
run into an incompatibility yet.  Note, if you use JBCL (Borland's
library), or KGL classes in your JBuilder project, you'll have to copy
over the .jar files for those libraries to your Linux environment and set
your CLASSPATH accordingly to be able to run the application under Linux.


On Tue, 8 Sep 1998 [EMAIL PROTECTED] wrote:

>  I've only been subscribing to this list for a day (looks good so far), 
>  so I'm sorry if this has been covered, but I haven't had the time to 
>  check the archives.
>  
>  Where can I get a RPM version of the JDK for my RedHat 5.1?
>  
>  If no RPM exist, where should I go?
>  
>  Also, can I use the stuff I make in JBuilder on Win95 under Linux?
>  
>  yours
>  
>  Rene
>  [EMAIL PROTECTED]
>  
>  - Get WebLinks - FREE!
>  - get http://www.geocities.com/SiliconValley/Park/7812/WEBLX22.ZIP
>  - or send mail to:
>  - [EMAIL PROTECTED] with subject: SEND WebLinks
> 
>