Hello Sir,

           A brief about myself. I am a computer
programmer working on Vb from last 4 years. 

I recently installed Linux 6.2 from a monthly PC Quest
in India.

I have also done java 1.2.2 on Win platform.

On this months CD i got java 1.2.2 on Linux from PC
Quest. Since previuosly they put RHLinux 6.2, so the
java1.2.2 version will be for that only.

About Linux

I have three users

root
user
user1

on user account i made a directory call java and under
that i installed jdk1.2.2.

now i have /user/java/jdk1.2.2

i want to run java programs, so i have to compile them
with javac command.

i tried the command and got an error

bash : javac command not found. 

then i referred a book java on linux
and also searched thru ur website for help. i came to
know i have to set env variables(JAVA_HOME, PATH and
CLASSPATH)

i used the following commands from my user account
prompt:

export JAVA_HOME=/java/jdk1.2.2

export PATH$JAVA_HOME/bin:$PATH
(i also tried: export PATH=/java/jdk1.2.2/bin:$PATH)

export CLASSPATH=JAVA_HOME/.

but still when i want to compile a file with javac i
get the same error..please respond .. i am waiting for
a reply..

Amit Verma
[EMAIL PROTECTED]

__________________________________________________
Do You Yahoo!?
Get Yahoo! Mail – Free email you can access from anywhere!
http://mail.yahoo.com/


----------------------------------------------------------------------
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to