Re: java programming

1999-02-15 Thread Juergen Kreileder
> Dimitris Vyzovitis writes: Dimitris> Chris Huebsch wrote: >> >> >> this is not correct. With Java2 you can use deferred-initialization of >> final-variables. >> >> That means that you can declare a: "final ;" and do later a >> " = ;" >> Dimitri

Re: java programming

1999-02-15 Thread Dimitris Vyzovitis
Chris Huebsch wrote:   this is not correct. With Java2 you can use deferred-initialization of final-variables. That means that you can declare a: "final ;" and do later a " = ;" But there must be one and only one initialization!   That's a feature that was missing, but we still compile under jd

Re: java programming

1999-02-15 Thread Chris Huebsch
Hello, > in Java all variables with final qaulifier must be initialised during > decalration. so you can't compile this code this is not correct. With Java2 you can use deferred-initialization of final-variables. That means that you can declare a: "final ;" and do later a " = ;" But there mus

Re: java programming

1999-02-15 Thread C.V. Rajagopal
On Sun, 14 Feb 1999, alexander lang wrote: > Hi all. > > Does anyone know if one is allowed to initialize static final variables > within the "try" clause of a static initializer block? > > (eg. > static final int x; > static{ > try > { > x

Re: java programming

1999-02-14 Thread Moses DeJong
On Sun, 14 Feb 1999, alexander lang wrote: > Hi all. > > Does anyone know if one is allowed to initialize static final variables > within the "try" clause of a static initializer block? > > (eg. > static final int x; > static{ > try > { > x =

Re: java programming

1999-02-14 Thread Daniel W. Dulitz x108
alexander lang writes: > Does anyone know if one is allowed to initialize static final variables > within the "try" clause of a static initializer block? > > (eg. > static final int x; > static{ > try > { > x = 5; > } > catch(exc

java programming

1999-02-14 Thread alexander lang
Hi all. Does anyone know if one is allowed to initialize static final variables within the "try" clause of a static initializer block? (eg. static final int x; static{ try { x = 5; } catch(exception e) {...and s

Re: Java programming env (newbie question)

1998-11-24 Thread John Summerfield
On Mon, 23 Nov 1998, Matt Welsh wrote: > > You probably have Kaffe installed, which is a free Java Virtual Machine > replacement. > the command rpm -qf `which javac` will confirm. Cheers John Summerfield http://os2.ami.com.au/os2/ for OS/2 support. Configuration, networking, combined IBM

Re: Java programming env (newbie question)

1998-11-24 Thread James Cribb
Mike Song wrote: > > I installed RH Linux 5.2 and I found that 'javac', 'java' and 'appletviewer' > are already there and I am able to compile and run simple java programs. > > Does this mean that I already have JDK installed? Looks like it. "rpm" will tell you if they came from a Red Hat pack

Re: Java programming env (newbie question)

1998-11-23 Thread Matt Welsh
You probably have Kaffe installed, which is a free Java Virtual Machine replacement. mdw Mike Song <[EMAIL PROTECTED]> writes: > Hello all, > > > I installed RH Linux 5.2 and I found that 'javac', 'java' and > 'appletviewer' > are already there and I am able to compile and run simple java pr

Re: Java programming env (newbie question)

1998-11-23 Thread Ernst de Haan
Mike Song wrote: > > Hello all, > > I installed RH Linux 5.2 and I found that 'javac', 'java' and > 'appletviewer' > are already there and I am able to compile and run simple java programs. > > The question is: > Does this mean that I already have JDK installed? You sure do. Congratulations! ;

Java programming env (newbie question)

1998-11-23 Thread Mike Song
Hello all, I installed RH Linux 5.2 and I found that 'javac', 'java' and 'appletviewer' are already there and I am able to compile and run simple java programs. The question is: Does this mean that I already have JDK installed? Thanks a lot Mike