This discussion is archived
1 Reply Latest reply: Jul 20, 2012 11:21 AM by 946222 RSS

Package not found- how to add packages to Oracle

Ayham Newbie
Currently Being Moderated
hi,

i tried to compile this function but i face error said cann't found sybmbole and location of edu.uuin.ie; So please how can i declare the location of these package.
or add packages to oracle or point to patch of these packages


CREATE OR REPLACE AND COMPILE JAVA SOURCE NAMED "NAMESS" AS
import edu.UUIN.nl.ie.*;
import edu.UUIN.nl.ie.crf.*;
import edu.UUIN.nl.io.IOUtils;

import java.util.List;
import java.io.IOException;


public class NAMESS {
public static String Run(String[] args) {
try
{
......
}
}


------------------
CREATE or REPLACE FUNCTION NAMES_Run(Command IN STRING)
RETURN VARCHAR2 IS
LANGUAGE JAVA
NAME 'NAMES.Run(java.lang.String) return varchar';
/



regards
Ayham

Legend

  • Correct Answers - 10 points
  • Helpful Answers - 5 points