Home » Developer & Programmer » JDeveloper, Java & XML » Hi  () 1 Vote
Hi [message #224686] Thu, 15 March 2007 02:40 Go to next message
shum
Messages: 17
Registered: July 2005
Junior Member
Hi everyone
I am using oracle 8.1.7.0.0 and jdk 1.6.0 when i use the
loadjava command i get an error
D:\myClass>loadjava -u scott/tiger -resolve myClass.class
ORA-29545: badly formed class:
loadjava: 1 error

but when i run this command
D:\myClass>loadjava -u scott/tiger myClass.class
then no error is occure

then i create an pl/sql wrapper and when i exexecute it i also get an error
--------------------------------
SQL> exec dbms_output.put_line(fdelete('c:\abc.txt'))
BEGIN dbms_output.put_line(fdelete('c:\abc.txt')); END;
*
ERROR at line 1:
ORA-29541: class SCOTT.myClass could not be resolved
ORA-06512: at "SCOTT.FDELETE", line 0
ORA-06512: at line 1

------------------------
fdelete is the name of procedure

can anybody help me
Re: Hi [message #227077 is a reply to message #224686] Tue, 27 March 2007 04:56 Go to previous message
orafaqer
Messages: 48
Registered: July 2006
Member
Compile your class with javac options:
-source 1.3 -target 1.3
Previous Topic: APPEND Hint on executeBatch
Next Topic: recordset in JDeveloper
Goto Forum:
  


Current Time: Wed Dec 07 12:41:25 CST 2016

Total time taken to generate the page: 0.13068 seconds