hi mahesh,

microcon wrote:

> Hai,
>
> I would like to run my java applet in linux. I am not able to set the
> classpath properly.
>
> steps which I  had follwed is
>
> 1) I have unzipped tar file jdk1.1.5-v5-980311.tar.gz under linux
>

this bit is ok, take a not of where you untarred the file. a popular
location is:/usr/local/java

> 2) I opened the profile /etc/profile to check wheather path and
> classpath has set properly.
> but there was no entry  for path and classpath

you don't actually need to set your classpath, just set your path like
this (maybe):
for tcsh:
setenv PATH /usr/local/java/bin:$PATH

for zsh:
export PATH=/usr/local/java/bin:$PATH

read the man page for whichever shell you are using for the exact
method of setting your path. untarring the jdk distribution does not
set your path for you.

hope this helps
pat

ps: your system clock seems to be off by a bit.




Reply via email to