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

javascript - AngularJS custom datepicker directive -

javascript - jQuery date picker - Disable dates after the selection from the first date picker -