CNC, DB and Operating System - JDE1 (MOSC)

MOSC Banner

Getting error: cannot find symbol error in Java code while compiling

We want to insert data from DWH table to oracle table. We are getting compilation error,

Can you help with possible solution

Below is the code

import java.sql.;
import java.io.
;
import java.util.*;

public class REGN_COMMON_INT_TBL {
public static void main(String[] args) {

   Properties props= new Properties();

String DWHPass = null;
String DWHDBName = null;
String DWH_Host = null;
String DWHSchema = null;
String DWHUser = null;
String OraclePLUSer = null;
String OraclePLPass = null;

String path = args[12];
path += "/database.properties";
try(FileInputStream input = new FileInputStream(path);){

props.load(input);
DWHPass = props.getProperty("DWH_Pwd");
DWHDBName = props.getProperty("DWH_DB_Name");
DWH_Host = props.getProperty("DWH_Host");
Tagged:

Howdy, Stranger!

Log In

To view full details, sign in to My Oracle Support Community.

Register

Don't have a My Oracle Support Community account? Click here to get started.

Category Leaderboard

Top contributors this month

New to My Oracle Support Community? Visit our Welcome Center

MOSC Help Center