Re: Jar file with JDBC

1999-12-29 Thread M.N.Balaji
hai, I have installed JDK 1.2.2 on Redhat 6.0, i am able to compile and run java programs , but rmi is giving problems, when i type rmic it is giving the following error. Please tell me how to rectify the problem. java.lang.NoClassDefFoundError: sun/rmi/rmic/Main at java.lang.Throwable

J2EE on Linux

1999-12-29 Thread John N. Alegre
Anyone got it to work? john -- E-Mail: John N. Alegre <[EMAIL PROTECTED]> Date: 29-Dec-99 Time: 20:32:56 This message was sent by XFMail -- -- To UNSUBSCRIBE, ema

CLASSPATH to Install Oracle JDBC driver for jdk1.2?

1999-12-29 Thread Palsedge, John
Oracle for Linux wants a CLASSPATH defined to install the JDBC driver. For the older java versions, it was the path to the classesxxx..zip file but this has changed with jdk1.2. What should it be now? ./jdk1.2/lib would be my first choice: correct? I would appreciate advice from someone wh

Re: Jar file with JDBC

1999-12-29 Thread Peter Mount
On Wed, 29 Dec 1999, ALPESH KOTHARI wrote: > > Hi, > > When I added 'System.out.printStackTrace()' it told > while compilation > Method printStackTrace() not found in class > java.io.PrintStream. > > System.out.printStackTrace(); > > I have imported java.io.*;

Re: jdk118 under Redhat6.0

1999-12-29 Thread Anthony G. Starovojtov
You should run java Clock2 (without the class extension), i.e java class_name -- Regards, Anthony G. Starovojtov, System Administrator of IMS Department, Kharkov State Technical University of Radioelectronics, pr. Lenina,14, room 254, Kharkov, 61726, Ukraine Phone +380 572 409451 (Work), +380 572

Re: Running a program in the background

1999-12-29 Thread Ernst de Haan
Hi Marcus, You can do the following (with bash): java packageName.className 2>&1 > fileName And then do a ps ...|awk ...|grep ...|wc -l after a sleep with a grep perhaps? Or you can have your program create some kind of lock file. In the latter case you first delete the lock file, then

RE: jdk118 under Redhat6.0

1999-12-29 Thread Edson Carlos Ericksson Richter
Does not put .class at the end of your line of command for execution. So, to run your program, do simple: java Clock2 this will work fine. -- From: Zhang Yuyong Sent: terça-feira, 28 de dezembro de 1999 23:14 To: [EMAIL PROTECTED] Subject:jdk118 under Redhat6.0 <> hi e

RE: Running a program in the background

1999-12-29 Thread Edson Carlos Ericksson Richter
No, you can't detect when the program is running in background (thinking in a generic environment). But you can use a Log application to redirect yor System.out to a network connection. And, you can use the syslogd client existing in Giant Java Tree... I've seen some sample in JavaTutorial, but

RE: Jar file with JDBC

1999-12-29 Thread Edson Carlos Ericksson Richter
The correct is not try { //some piece of code } catch( Exception e ) { e.printStackTrace( System.out ); } ??? -- From: ALPESH KOTHARI Sent: quarta-feira, 29 de dezembro de 1999 07:44 To: Peter Mount Cc: [EMAIL PROTECTED] Subject:Re: Jar file with JDB

Re: Jar file with JDBC

1999-12-29 Thread David Marshall
ALPESH KOTHARI wrote: > Hi, > > When I added 'System.out.printStackTrace()' it told > while compilation > Method printStackTrace() not found in class > java.io.PrintStream. > > System.out.printStackTrace(); > > I have imported java.io.*; > What else I need to do? > I have included postgresql.jar

Running a program in the background

1999-12-29 Thread marcus . monaghan
Dear List, I have written a little program that I would like to run in the background. My linux box is Linux 6.1. JDK 1.1.7b from blackdown. I know to put 2>&1 & at the end of the starting line, but when I do a System.out.println it prints to the window as expected. Can I detect, when the java

Re: Jar file with JDBC

1999-12-29 Thread Matthias Pfisterer
ALPESH KOTHARI wrote: > > Hi, > > When I added 'System.out.printStackTrace()' it told > while compilation > Method printStackTrace() not found in class > java.io.PrintStream. > > System.out.printStackTrace(); It should be: e.printStackTrace(); where e comes from: catch (Exception e) Matthia

jdk118/glibc compatibility

1999-12-29 Thread Rich Ibbotson
Hi Everyone, I noticed someone posting earlier about having the Blackdown jdk1.1.8 (which looks, from the filename, like it requires glibc-2.1.2) on a RedHat 6.0 system (which has glibc2.1.1). I know the blackdown web-site say glibc2.1.3 is required for the native threads package, but what abo

Missing shared X libraries

1999-12-29 Thread Friedman Roy
Hi, I installed JDK 118 on an Alpha Linux RH6.0 machine. However, when I try to invoke swing classes I get an error message that libawt.so canot locate libXm.so.1. Is there any simple solution to this? Is this a glibc or XFree86 problem? Any help would be much appreciated. Roy ---

Re: Jar file with JDBC

1999-12-29 Thread ALPESH KOTHARI
Hi, When I added 'System.out.printStackTrace()' it told while compilation Method printStackTrace() not found in class java.io.PrintStream. System.out.printStackTrace(); I have imported java.io.*; What else I need to do? I have included postgresql.jar in my jar