Re: java-linux-digest Digest V99 #130

1999-04-15 Thread Marius Schamschula
blic class TestCal { public static void main(String[] argv) { Calendar cal = Calendar.getInstance(); System.out.println(cal.getTime()); } } The output of the program is always CDT time. Could anybody tell me how to solve this problem? thanks. -- Marius S

Re: Out of memory exception

1998-12-16 Thread Marius Schamschula
solution is appletviewer -J-mx32m some.html sets max memory to 32 Megs. Marius Marius Schamschula, optical physicist, mac, and network coordinator The Center for Applied Optical Sciences: http://www.caos.aamu.edu/ Department of Physics, Alabama A & M University

Out of memory exception

1998-12-15 Thread Marius Schamschula
et an OutOfMemoryException. On the Mac I have no such problem. Any ideas? BTW: under Linux the program executes anyway. Under WinWhatever it fails completely (Sun JDK1.1.7a). Marius Marius Schamschula, optical physicist, mac, and network coordinator The Center for Applied Optical Sciences: http://www.caos.aam

Re: Runtime.exec ()

1998-11-19 Thread Marius Schamschula
Thanks to all that sent me the key: exec doesn't redirect I've rewritten my test applet to run a shell script that does the redirection for me. It works just fine. Marius Marius Schamschula, optical physicist, mac, and network coordinator The Center for Applied Optical Scien

Runtime.exec ()

1998-11-19 Thread Marius Schamschula
of JDK 1.1.x. I'm trying to use Java to directly invoke various shell scripts. I do a waitFor () for the process to terminate, check the InputStream and ErrorStream. The streams are empty... Any hints? TIA Marius Marius Schamschula, optical physicist, mac, and network coordinator The Cen