• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

shell script niggle

 
Abhinav Srivastava
Ranch Hand
Posts: 354
Eclipse IDE Java Oracle
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Trying to execute Java from a shell script, any clues?


 
Anayonkar Shivalkar
Bartender
Posts: 1557
5
Eclipse IDE Java Linux
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I don't know whether
JAVA_HOME=/app/java_1.6.0_10

will set JAVA_HOME env variable.

Perhaps you'll need to use 'export' syntax.
 
Abhinav Srivastava
Ranch Hand
Posts: 354
Eclipse IDE Java Oracle
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Worked with explicitly set PATH


 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic