Tag Archives: Environment Variable

admsi.pl Not Running on Windows

Problem:

After sourcing the apps environment and running admsi.pl from Command Prompt, admsi.pl opens in Notepad instead of launching the Java forms patch wizard.

Solution:

Set the DISPLAY parameter and run the script from Perl.

D:patches9239089>which admsi.pl
/cygdrive/g/oracle/VIS12/apps/apps_st/appl/ad/12.0.0/bin/admsi.pl

D:patches9239089>%AD_TOP%binadmsi.pl

D:patches9239089>perl %AD_TOP%binadmsi.pl
Invoking Oracle Patch Application Assistant....
Please set the DISPLAY variable and re-run this script

D:patches9239089>echo $DISPLAY
$DISPLAY

D:patches9239089>echo %DISPLAY%
%DISPLAY%

D:patches9239089>set DISPLAY=.0:0

D:patches9239089>perl %AD_TOP%binadmsi.pl
Invoking Oracle Patch Application Assistant....