View Single Post
  #6  
Old 02-12-2024, 02:55
chants chants is online now
VIP
 
Join Date: Jul 2016
Posts: 854
Rept. Given: 48
Rept. Rcvd 53 Times in 32 Posts
Thanks Given: 748
Thanks Rcvd at 1,168 Times in 539 Posts
chants Reputation: 53
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