The UNIX and Linux Forums  

Go Back   The UNIX and Linux Forums > Top Forums > Shell Programming and Scripting
Google UNIX.COM



View Single Post in UNIX Forums - Click on the Thread or Permalink to View Entire Thread -->
  #3 (permalink)  
Old 08-13-2007
hifake hifake is offline
Registered User
 

Join Date: Aug 2007
Posts: 10
Quote:
Originally Posted by porter View Post
Have you tried putting

Code:
#!/bin/sh
at the start of the script?

Yes. I did that. Still i get the same error.
Moreover, I can't run the shell script manually also.

$ ./blue.sh
./blue.sh: JAVA_HOME=/opt/j2sdk1.4.2_02: is not an identifier

$ sh blue.sh
blue.sh: JAVA_HOME=/opt/j2sdk1.4.2_02: is not an identifier
Reply With Quote