Jean-Francois Arcand wrote:
Hi Remy,

the servlet doesn't compile with JDK 1.3.x :

StatusManagerServlet.java:274: cannot resolve symbol
   [javac] symbol  : method maxMemory  ()
   [javac] location: class java.lang.Runtime
   [javac]         writer.print(Runtime.getRuntime().maxMemory());
   [javac]                                        ^
   [javac] Note: Some input files use or override a deprecated API.
   [javac] Note: Recompile with -deprecation for details.
   [javac] 1 error

This method is only available with JDK 1.4 +.

Any ideas of alternatives ?


Remy


--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to