>class David
>{
>public static void main( String[] args )
>{
>System.out.println( "Hello!" );
>}
>}
Making David public would be a good idea.
-
[EMAIL PROTECTED] (C2 Technologies Inc)
IL PROTECTED] <[EMAIL PROTECTED]>
Date: Friday, November 27, 1998 11:52 PM
Subject: Re: JAVA/Linux problem
>
>You need to append the directory containing David.class to your
>CLASSPATH environment variable; e.g.,
>
> export CLASSPATH=/some/dir/1:/some/dir/2:/your/class/dir
You need to append the directory containing David.class to your
CLASSPATH environment variable; e.g.,
export CLASSPATH=/some/dir/1:/some/dir/2:/your/class/dir
where /your/class/dir contains David.class.
--troy
On Fri, 27 Nov 1998, David House wrote:
I just installed the J
I just installed the JDK on a RedHat 5.1 Linux
machine. The javac seems to be working fine, but when I try to run an
application, it gives me the error Can't find class 'whatever'. For
example, here is my code
David.java:
class David
{
public static void main( String[
Respected Sir/Madam
Iam from India and my name is Balveer , Iam working Computer in a
training institute and very recently we have installed
red hat linux as an intranet web server and also as a gateway
to internet.
we have java for linux installed on our web server , but