rzeira@comcast.net said:
>I just installed Jdk 1.6 update 4 and tried my first compilation. I
>compiled something that previously compiled easily. However, with Jdk
[quoted text clipped - 8 lines]
>I compile directly with javac from a DOS prompt. I tried to compile
>few other files and got the same results.
Looks much like the "javac" executable you're running is from some
older JDK version. Check each directory on your %PATH% to find out
which javac you're actually running.

Signature
Wolf a.k.a. Juha Laiho Espoo, Finland
(GC 3.0) GIT d- s+: a C++ ULSH++++$ P++@ L+++ E- W+$@ N++ !K w !O !M V
PS(+) PE Y+ PGP(+) t- 5 !X R !tv b+ !DI D G e+ h---- r+++ y++++
"...cancel my subscription to the resurrection!" (Jim Morrison)
rzeira@comcast.net - 17 Jan 2008 16:52 GMT
Thanks for you reply!
However, I have only one javac.exe which came with JDK 1.6.0_04 and is
dated December 14, 2007. I think this version is defective. Does
anybody knows how to get one that is fixed?
Thanks
Roedy Green - 17 Jan 2008 18:20 GMT
> Does
>anybody knows how to get one that is fixed?
Follow the instructions at
http://mindprod.com/jgloss/jdk.html#UPGRADING
don't multipost.
See http://mindprod.com/jgloss/multiposting.html

Signature
Roedy Green, Canadian Mind Products
The Java Glossary, http://mindprod.com