View Single Post
  #7  
Old 02-12-2024, 02:55
chants chants is offline
VIP
 
Join Date: Jul 2016
Posts: 826
Rept. Given: 47
Rept. Rcvd 50 Times in 31 Posts
Thanks Given: 737
Thanks Rcvd at 1,140 Times in 529 Posts
chants Reputation: 51
Fortunately Java is very simple. There is a class path and that represents the root. Packages paths are just folder names. Finally the class name should be a .class file in thr appropriate folder. So if you are getting class not found exceptions, either adjust your class path or move the right things into it. For example if your files are in a .jar or Java archive which is common and just a glorified zip file with a metadata folder, you could unzip the class file(s) or merely add the jar to the class path.

But fixing this is far easier than .so/DLL hell described above. Its something new Java programming students are expected to learn in fact.
Reply With Quote