Click here to Skip to main content
15,887,856 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
TAC7 issue in accessing the image file from Linux Dev environment

​POC: To read the Metadata properties from .axf file (image) through SDK executable and populate the Metadata inside the DDVPM application.

I have an executable both in windows and Linux ,

I am using Process process = Runtime.getRuntime().exec(filePath); in java


Filepath = “/proj/XXXX/was/_Xritefiles/Sample-Ford /proj/XXXX/was/nas/tempAsset/test5.axf”

where Sample-Ford is my executable in Linux and test5.axf is my image file.

the above method gives correct result in Windows and standalone Linux box. But the same method is having an issue in executing the image file(test5.axf) from

DEV environment (Linux ). I am not able to execute the image file and getting '-1' when reading inputstream.read().

We are using Linux SUSE and WAS 8.0 in the target system.

Please help me in resolving the issue.

What I have tried:

Tried in Windows and standalone Linux box in Local and was working good.
But not in the target environment. Linux Suse
Posted
Comments
Richard MacCutchan 15-Nov-17 8:07am    
If it is not an executable file then it must have some file association set up in the shell for this to work.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900