make sure that you add . to your classpath eg.
CLASSPATH=.:/usr/share/jdk-1.1.6v2/lib/claases.zip
This way java will look in the current directory first.
> Anupama Jayathilake wrote:
>
> I got a problem.Please advice me.
> I have installed jdk-1.1.6v2 sucsesfully (glibc architecture) on
> Re
Hello,
I am running RH5.2 with jdk 1.1.7v3 and Apache. I have several servlets
running, and one of them needs to go out and make a pop3 connection to a
mail server. When it attempts this I get the following error:
[21/05/1999 08:33:25 EDT]: java.net.SocketException: errno: 4, error:
Interrupted
You can make system calls with java by using Process.
String command = "mkdir new_dir";
Process createNewDir = Runtime.getRuntime().exec(command);
Yuet Sim Lee wrote:
> I am writing a Java code which has to
> call another C-program. I knew that
> C has a system call, exec or system.
>
> Are