Win a copy of Securing DevOps this week in the Security forum!

Atanu Das

Greenhorn
+ Follow
since Jun 30, 2008
Cows and Likes
Cows
Total received
0
In last 30 days
0
Total given
0
Likes
Total received
0
Received in last 30 days
0
Total given
0
Given in last 30 days
0
Forums and Threads
Scavenger Hunt
expand Ranch Hand Scavenger Hunt
expand Greenhorn Scavenger Hunt

Recent posts by Atanu Das

Hi all,
Please help me to know if I can retrieve the oracle username and password through a java code.
at first i need to check if the user exists in the oracle configuration file, then if it exists then get the password.
please help.
9 years ago
HI,
You can run my code to see the problem. It is giving some error (16bit MSDOS error) as:

C:\WINDOWS\SYSTEM32\NTVDM.EXE
ERRORR WHILE SETTING UP ENVIRONMENT FOR THE APPLICATION.


PLEASE HELP AS EARLY AS POSSIBLE.
9 years ago
[ UD: Please DontWakeTheZombies. You already asked this question in another thread, where you were asked to provide more information. Let's continue the discussion over there. ]
[ July 01, 2008: Message edited by: Ulf Dittmer ]
9 years ago
Hi,
I am able to run a notepad.exe from java code by

<blockquote>code:
<pre name="code" class="core">import java.io.*;
import java.util.*;

class runProc
{

public runProc()
{
try {
String[] cmd = {"notepad.exe"}; // C://TCC//ADG.EXE substitute notapad with this.
Process p=Runtime.getRuntime().exec(cmd); //tell the path.
p.waitFor();
System.out.println("i am in try block");
}
catch(Exception e)
{
e.printStackTrace();
}
}
public static void main(String[] args)
{

runProc runP = new runProc();
}
}
</pre>
</blockquote>
this code. but, if I want to run a C exe file or a pro C file from Java , then How to do that??
Please reply
[ July 16, 2008: Message edited by: Atanu Das ]
9 years ago