• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Ron McLeod
  • Rob Spoor
  • Tim Cooke
  • Junilu Lacar
Sheriffs:
  • Henry Wong
  • Liutauras Vilda
  • Jeanne Boyarsky
Saloon Keepers:
  • Jesse Silverman
  • Tim Holloway
  • Stephan van Hulst
  • Tim Moores
  • Carey Brown
Bartenders:
  • Al Hobbs
  • Mikalai Zaikin
  • Piet Souris

Interfaces

 
Ranch Hand
Posts: 128
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi,I have small piece of code about the interfaces...


i gave the OracelDB as specified in Filereader class and it is reading the text file also.And it is executed when i executed form command prompt execution(without IDE).. Can any one tell me what is the problem is??thanq

 
Marshal
Posts: 74020
332
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Where is that OracleDB class, then?
 
Ravi kapa
Ranch Hand
Posts: 128
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
OracleDB,SyBase classes are Below the Printer Interface and iam passing the String OracleDB(or SybaseDB)from the text file....The example working fine with which i created new project without package..
 
Bartender
Posts: 1558
5
Eclipse IDE Java Linux
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

Ravi kapa wrote:OracleDB,SyBase classes are Below the Printer Interface and iam passing the String OracleDB(or SybaseDB)from the text file....The example working fine with which i created new project without package..


Can you provide the contents of config file? I suspect that you've simply given classname as OracleDB (that is why it works without package).

If you want to work it in package, you can either give fully qualified class name, or search within specified packages.

I hope this helps.
 
Ravi kapa
Ranch Hand
Posts: 128
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Thanks for the reply Shivalkar what you guess is right now i gave complet package and class name as "com.example.interfaces.OracleDB"....its working now..
 
Anayonkar Shivalkar
Bartender
Posts: 1558
5
Eclipse IDE Java Linux
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
You are welcome.

Also, please make it a practice to UseCodeTags. It will help others to read the code.
 
Ravi kapa
Ranch Hand
Posts: 128
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

Anayonkar Shivalkar wrote:You are welcome.

Also, please make it a practice to UseCodeTags. It will help others to read the code.



Sure
 
Campbell Ritchie
Marshal
Posts: 74020
332
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

Anayonkar Shivalkar wrote: . . . Also, please make it a practice to UseCodeTags. It will help others to read the code.

That means, please go back to your post and use the button and then surround the code with tags by highlighting it and clicking the code button. You get
[code=java]
or similar at the beginning and
[/code]
at the end. Don’t put other tags inside the code tags; they don’t work correctly.
 
Right! We're on it! Let's get to work tiny ad!
Thread Boost feature
https://coderanch.com/t/674455/Thread-Boost-feature
reply
    Bookmark Topic Watch Topic
  • New Topic