[x]
Posted via EE Mobile

Search, ask, and monitor your questions on the go with EE Mobile. Visit Experts Exchange from your mobile device and never be out of touch again.

07/01/2009 at 02:59PM PDT, ID: 24538014 | Points: 250
[x]
Attachment Details

Why I can't run a executable file from a diferent directory using Solaris 10, what's differetn thatn Solaris 7

Asked by ortiza1 in Unix Operating Systems, Sun Solaris, Bourne Shell (sh)

Tags: Solaris 10

I'm debugging an script for an old software that was designed for Solaris 7 or 8, I'm trying to deploy to Solaris 10.
Foun that the reason it is failing is because it can't execute java from the script path, I was able to reproduce from the shell.
an example to show it clearly
Assume JRE installed at: /opt/product/tools/jre1.4.0
If current is /opt/product/bin
running ./../tools/jre1.4.0/bin/java says "cannot execute"
if ran from /opt/product/tools/jre1.4.0/bin
running java, shows the usual command line help message
I guess it maybe be some kind of security or shell parameter that can be changed
1:
2:
3:
4:
5:
Assume JRE installed at: /opt/product/tools/jre1.4.0
If current is /opt/product/bin
running ./../tools/jre1.4.0/bin/java says "cannot execute"
if ran from /opt/product/tools/jre1.4.0/bin
running java, shows the usual command line help message
[+][-]07/01/09 03:04 PM, ID: 24758662

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 30-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]07/01/09 03:12 PM, ID: 24758716

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 30-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]07/01/09 03:42 PM, ID: 24758938

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 30-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]07/01/09 04:25 PM, ID: 24759173

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 30-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]07/01/09 04:48 PM, ID: 24759295

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 30-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]07/01/09 04:52 PM, ID: 24759314

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 30-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]08/25/09 10:16 PM, ID: 25184585

Experts Exchange has a courteous staff of administrators who help members get the most out of the website by means of administrative comments like this one.

Start your 30-day free trial to view this Administrative Comment or ask the Experts your question.

 
 
Loading Advertisement...
20091028-EE-VQP-85 - Hierarchy / EE_QW_3_20080625