java - Adding external class folder to the build path in Eclipse -


i have external .class file. added through:

right click project>buildpath>configure build path>libraries>add external class folder

this folder structure. supposed create instance of sos class. got errors in compilation. problem ?

enter image description here

my sos.class file located in desktop, inside classes folder

give package name sso class.compile , add in reference library.

in test.java write

import your.packge.name.sso;

avoid using default packages when want import classes them.


Comments

Popular posts from this blog

r - Trouble relying on third party package imports in my package -

Payment information shows nothing in one page checkout page magento -