>I apologise for this newbie question, I have looked on the internet but >couldn't find the solution, so I decided to ask it here. > >In the process of installing tomcat 3.3 I had to set the path to java. >I executed the following lines twice (accidentally) > >setenv JAVA_HOME=/usr/local/jdk1.1.8 >setenv PATH $JAVA_HOME/bin:$PATH > >I'm in the tcsh shell (freebsd 4.1.1) >When I do : echo $PATH it shows the path twice: > >/usr/local/jdk1.1.8=/bin /usr/local/jdk1.1.8=/bin > >1 .How can I remove one of those ? ( I tried unsetenv, but I didn't succeed) > >2. Why does it add a '=' in the path? Is this correct?
It shows a "=" because you included a "=" in the value of JAVA_HOME. Note that you used "=" in your first setenv and not the second. (I don't know why the "=" got added to the *end* of the value, though.) Log out and back in so your get your original environment, then try: setenv JAVA_HOME /usr/local/jdk1.1.8 setenv PATH $JAVA_HOME/bin:$PATH unsetenv didn't work? What error did you get? -- To unsubscribe: <mailto:[EMAIL PROTECTED]> For additional commands: <mailto:[EMAIL PROTECTED]> Troubles with the list: <mailto:[EMAIL PROTECTED]>
