I just install ONE Simulator on my pc with updated JDK and JRE 1.8.0_321 using Visual Studio Code text editor. When I compile the main file, here is the problem mentioned:
Exception in thread "main" java.lang.Error: Unresolved compilation problems:
Settings cannot be resolved
DTNSimTextUI cannot be resolved to a type
Settings cannot be resolved
DTNSimGUI cannot be resolved to a type
at core.DTNSim.main(DTNSim.java:83)
May I know, what is the problem here and how can I solve this problem?
Thanks
It looks like the
DTNSimTextUIandDTNSimGUIclass is not known at compile time. You need to import the related class.Like this: