Home » Developer & Programmer » JDeveloper, Java & XML » Create Java Class
Create Java Class [message #366748] Wed, 22 November 2000 10:57 Go to next message
T. Nguyen
Messages: 5
Registered: November 2000
Junior Member
I am using:

create java class using bfile ('C:\Java', 'A.class');

and I got:
ERROR at line 1:
ORA-22929: invalid or missing directory name

The directory was created and the file is in there.

Please let me know what is the problem.

Thanks
Re: Create Java Class [message #366760 is a reply to message #366748] Wed, 29 November 2000 11:11 Go to previous messageGo to next message
Nicholas Gray
Messages: 13
Registered: November 2000
Junior Member
Try this:

create or replace directory bfile_dir as 'C:\Java';
create java class using bfile (bfile_dir, 'A.class');
(watchout ... both directory and file names are handled case sensitive)

Sayonara
Re: Create Java Class [message #366782 is a reply to message #366748] Wed, 27 December 2000 22:55 Go to previous message
Suryanarayana Murthy
Messages: 1
Registered: December 2000
Junior Member
You need to put double "\" . ie.e., "c:\\Java" becasue \ is an escape character. Hope this soolves your problem.
If u find answer in some other way please let me know.
Thanks,
Murthy
Previous Topic: problem on java stored procedures
Next Topic: Re: Word Doc to XML converter
Goto Forum:
  


Current Time: Fri Jul 30 18:46:46 CDT 2021