Unable to execute a .exe file using Java service

Hi All,

When i run a java service which executes a exe file. IS is getting hung.

i m trying to open a notepad on the host with the below program. when i ran this no errors were thrown, process is going to hung state.

Its not related to access prevliges, wM user has Admin rights on host.

try{
Runtime.getRuntime().exec(“notepad.exe”);
}

wM Server Details:
Version: 7.1.2.0
Updates: None
Build Number: 124
SSL Strong:(128-bit)

Server Environment
Java Version:1.5.0_15 (49.0)
Java VM Name: Java HotSpot™ 64-Bit Server VM
Java Build Info: 1.5.0_15-b04, mixed mode
Java Vendor: Sun Microsystems Inc.
Java Home: D:\wM\jvm\w64_150\jre



OS: Windows 2003
OS Platform: amd64
OS Version: 5.2
Current User:webmethod
Working Dir D:\wm\IntegrationServer
Packages/Updates View
Java Data Model: 64-bit

Please suggest me here.

Btw same program works on below Environment

Version 7.1.1.0
Build Number 134
SSL Strong (128-bit)

Server Environment
Java Version 1.5.0_12 (49.0)
Java VM Name Java HotSpot™ Server VM
Java Build Info 1.5.0_12-b04, mixed mode
Java Vendor Sun Microsystems Inc.
Java Home C:\webMethods71_TN\jvm\win150\jre

OS Windows XP
OS Platform x86
OS Version 5.1
Working Dir C:\webMethods71_TN\IntegrationServer
Packages/Updates View
Java Data Model 32-bit

Thanks in Advance
Ravi.

FYI

Issue is resolved.
Earlier program registration was done under different profile. It got resolved by registering the program under wM profile.