Hi Ewald, in that case, rather compile it for Java 1.4, if you are not ready for 1.5 yet. Either install the JDK 1.4.2 compiler instead of JDK 1.5.0, or use the switch:
javac -source 1.4 -target 1.4 *.java Probably better to use JDK 1.4.2 at the moment, until JDK 1.5.1 is released. Shout if your company needs some good Java training :) Kind regards from Heinz -- Dr. Heinz M. Kabutz (Maximum Solutions) Author of "The Java(tm) Specialists' Newsletter" http://www.javaspecialists.co.za Tel: +27 (83) 340-5633 > -----Original Message----- > From: [email protected] > [mailto:[EMAIL PROTECTED] > Behalf Of Ewald Horn > Sent: 29 May 2005 20:48 > To: [email protected] > Subject: [CTJUG Tech] Re: Recompile errors > > > > Lo there. > > Just figured I'd stick to working C++ compilers and code for > now. All my > current Java projects suddenly give warning messages which is > something I > avoid at all costs. No C or C++ project is done until it > compiles clean and > that's the way I intend to do Java as well. The > -Xlint:unchecked only hides > the problem, which does offer a solution, but I'd rather do > it properly in > the end. The fact that I'm still learning Java also has me scrambling > because now some of the tools and classes I've coded to help > me convert my > Delphi and C++ projects are "broken" and it's back to square one. > > Rest assured though that I won't be going .NET! > > Regards > Ewald Horn > Business Manager > NoFuss Solutions > South Africa / Suid Afrika > Tel : +27 (0)83 305 3556 > Web : http://www.nofusspos.com > Email / E-pos : [EMAIL PROTECTED] > > > >
