Hi All,
I have been struggling for a week trying to run a unix command from my java program.
the unix command is:
Code:
ssh dmdev3@tsapid01-zt3d01 ':> /t3/envs/dmdev3/test/file_list.txt'
when i try to run this command directly on my unix console, it works perfectly.
but when i try it form my JAVA program, i get the below mentioned error
Code:
ksh: :> /t3/envs/dmdev3/test/file_
I am new to UNIX.
My Application is using c (.so files) and Java code.
My application crashes and CORE DUMP file is generated ,which is huge.
Now I want to view the CORE DUMP file to debug the application using dbx without starting process again.
By only using the CORE DUMP file and dbx ,can i get the code/function where my application is crashed?
Hi All,
I have been struggling for a week trying to run a unix command from my java program.
the unix command is = ssh dmdev3@tsapid01-zt3d01 ':> /t3/envs/dmdev3/test/file_list.txt'
when i try to run this command directly on my unix console, it works perfectly.
but when i try it form my JAVA program, i get the below mentioned error
ksh: :> /t3/envs/dmdev3/test/file_list.txt: not found
I have a Java Web application and I have a VPS hosting bought from Hostgator in which recently the tomcat has been installed. But I couldn't find a way to deploy my application and I talked with more than 3 Hostgator technical agents and none of them know how to deploy the Java application in tomcat in Hostgator server and they say they don't give support for hosting Java application.
Dear Forum,
I am trying to run the InstallShield Wizard for java Web Services Developer Pack 2.0.
Dear all,
I got a flat file (test.txt) generated in solaris unix box attached .
I am trying to establish a chatting application between a server and a client, but the application could not run because of this line of code : message = (String) input.readObject();
because at first, inputStream is null ! any one can help please ?
Code:
sort -t "~" -k 1.19,1.29 -k 2.1,2.5
in unix
- I have to understand what exactly this command will do ?:wall:
Moderator's Comments:
Please use code tags next time for your code and data.
I am trying to invoke a program to run as another user(by getting input user/pwd) in AS400 OS using Java. Like runas in windows or sudo in unix, what can we do in AS400 OS?
I am able to invoke basic unix commands like find,cd,ls etc through java on AS400. I have very restricted access on the experimental AS400 sandbox provided to me.