wood burning stoves 2.0*
The moose likes Linux / UNIX and the fly likes shell script niggle Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Engineering » Linux / UNIX
Bookmark "shell script niggle" Watch "shell script niggle" New topic
Author

shell script niggle

Abhinav Srivastava
Ranch Hand

Joined: Nov 19, 2002
Posts: 349

Trying to execute Java from a shell script, any clues?


Anayonkar Shivalkar
Bartender

Joined: Dec 08, 2010
Posts: 1502
    
    5

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.


Regards,
Anayonkar Shivalkar (SCJP, SCWCD, OCMJD, OCEEJBD)
Abhinav Srivastava
Ranch Hand

Joined: Nov 19, 2002
Posts: 349

Worked with explicitly set PATH


 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: shell script niggle
 
Similar Threads
another Eclipse issue
Unsupported major.minor version 50.0
problem building with ant - no classdef found for javac.main
How do I use a path as an argument without breaking the -classpath option?
Passing Files in Web Services