I am stuck to problem in Red hat(Linux 9), I installed Red Hat (Linux 9) server, now the problem is when i run 'javac' command it gives me error message
gcj: no input files
and when I run command 'which java', it gives me the following path
wheras I had installed j2sdk1.4.2_03 at /usr/local/ and edited /etc/profile file as follows
and when i run command 'source /etc/profile' nothing happens, it still takes /usr/bin/java path. I want to use the java which i installed at /usr/local/j2sdk1.4.2_03 , how can i do this?can anyone help me out? I will be thankful to you.