Edit D:\app\Administrator\product\11.2.0\dbhome_1\javavm\demo\common.bat
@REM java.bat @echo OFF @if not "%ECHO%"=="" echo %ECHO% @if not "%OS%"=="Windows_NT" goto DOSEXIT REM set JAVA_HOME=C:\java\jdk1.2.2 REM set ORACLE_HOME=C:\orant\V817 REM set ORACLE_SID=ORCL if {%JAVA_HOME%}=={} goto USAGE if {%ORACLE_HOME%}=={} goto USAGE if {%ORACLE_SID%}=={} goto USAGE REM jdk12 classpath set JDK12_CLASSPATH=".;%JAVA_HOME%\jre\lib\rt.jar;%ORACLE_HOME%\jdbc\lib\ojdbc5.jar;%ORACLE_HOME%\sqlj\lib\runtime12.jar;%ORACLE_HOME%\lib\vbjorb.jar;%ORACLE_HOME%\lib\vbjapp.jar;%ORACLE_HOME%\javavm\lib\aurora.zip;%ORACLE_HOME%\lib\servlet.jar" REM services if defined ENABLETEST_IPV6 ( set GIOP_SERVICE=sess_iiop://%IPV6HOST%:2481:%ORACLE_SID% set GIOPS_SERVICE=sess_iiop://%IPV6HOST%:2482:%ORACLE_SID% set HTTP_SERVICE=http://%IPV6HOST%:7777 set HTTPS_SERVICE=https://%IPV6HOST%:9000 set JDBC_SERVICE=jdbc:oracle:thin:@%IPV6HOST%:%ORACLE_PORT%:%ORACLE_SID% set KPRB_SERVICE=jdbc:oracle:kprb: set OCI8_SERVICE=jdbc:oracle:oci8:@ set SERVICE=%GIOP_SERVICE% ) else ( set GIOP_SERVICE=sess_iiop://localhost:2481:%ORACLE_SID% set GIOPS_SERVICE=sess_iiop://localhost:2482:%ORACLE_SID% set HTTP_SERVICE=http://localhost:7777 set HTTPS_SERVICE=https://localhost:9000 set JDBC_SERVICE=jdbc:oracle:thin:@localhost:%ORACLE_PORT%:%ORACLE_SID% set KPRB_SERVICE=jdbc:oracle:kprb: set OCI8_SERVICE=jdbc:oracle:oci8:@ set SERVICE=%GIOP_SERVICE% ) REM transaction set UT_NAME=/test/UserTransaction/testut set DS_NAME=/test/DataSource/testds REM demo account set HRuser=HR set HRpwd=hr set USER=scott set PASS=tiger set RET=1 goto :EOF :USAGE echo ------------------------------------------------------- echo Following are the requirements to run this script echo set JAVA_HOME to jdk1.1 or jdk1.2 echo set ORACLE_HOME to installed Oracle home echo set ORACLE_SID to database sid echo ------------------------------------------------------- goto :EOF :DOSEXIT echo This script requires Windows NT
Ms-Dos/Windows
Unix
Write backup
jsp File Browser version 1.2 by
www.vonloesch.de