YuFei, your java code won't compile. First, method createInstance() should be static; second, local variable STfactory is referenced outside its declaration scope.
replace System.out.println(df.format(bd)); by System.out.println(df.format(bd.longValue())); will get expected string.
I'm suprised that Linux will give different output (since overloading is done at the compile time, not run time). I'm using jdk 1.4 on Windows. Could anyone please try it on Linux using 1.4?
==== ... The following sections describe alternate ways to start an Administration Server:
Starting an Administration Server from the Windows Start Menu Starting an Administration Server When the Host Computer Boots Starting an Administration Server With the java weblogic.Server Command ... ====
Could we start weblogic server with java code? Something like ServerLoader provided by JBoss?