Set your ORACLE_HOME
C:\Users\Administrator>set ORACLE_HOME=D:\app\Administrator\product\12.1.0\dbhome_1
Set your JDK PATH
C:\Users\Administrator>set PATH=%PATH%;C:\Program Files\Java\jdk1.8.0_241\bin
add jdbc driver and utilities to your classpath is where Apex is installed
C:\Users\Administrator>set CLASSPATH=D:\app\Administrator\product\12.1.0\dbhome_1\jdbc\lib\ojdbc6.jar;D:\apex\utilities
run the export
C:\Users\Administrator>java oracle.apex.APEXExport -db localhost:1521:test -user apexuser -password apexuser -applicationid 100
C:\Users\Administrator>dir f100.sql
No comments:
Post a Comment