java path,classpath problem on ubuntu 9
Hi i have just upgraded my linux distro to ubuntu 9 x64. I have installed and unzipped my jave jdk and jre in my /usr/local/jdk1.6.0_14 and /usr/local/jre1.6.0_14. I have added the following lines to my bash.rc file
now when i reboot i get the follwoing message
export /usr/local/sbin:/usr/local/bin:/usr/sbin:/sbin:/bin:usr/games:usr/local/jdk1.6.0_14/bin ': not a valid indentifier
If i type echo $JAVA_HOME i get the correct path output however if i type java -version i get an eror message saying that jave can be found in one of the following packages
Can anyone guide me please as to what i have done wrong. With regards to the jre do i also need to have my jre set to as my java-home variable is set?
I've also java installed below is my file '/etc/profile' hope it helps
|All times are GMT -5. The time now is 08:16 AM.|