Error when setting path
Hi all,
When I try to append to my current path I get the following output
wayne@Wuler:~$ export $PATH=$PATH:/usr/local/j2sdk1.4.2/bin/
bash: export:
`/bin:/usr/bin:/usr/X11R6/bin:/usr/local/bin=/bin:/usr/bin:/usr/X11R6/bin:/usr/local/bin:/usr/local/j2sdk1.4.2/bin/':
not a valid identifier
Wuler:/usr/local/j2sdk1.4.2# PATH=/usr/local/j2sdk1.4.2/bin:"${PATH}"
Wuler:/usr/local/j2sdk1.4.2# export $PATH
bash: export:
`/usr/local/j2sdk1.4.2/bin:/usr/local/j2sdk1.4.2/bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/bin/X11:/usr/local/sbin:/usr/local/bin':
not a valid identifier
Any ideas?? These are just two of my many attempts, the second being as root.
As you can see the directory does exist but from what I can tell that doesn't
matter much.
Regards
Wayne
Reply to: