After building the Java program in NetBeans, I compressed the dist folder, placed the program in a USB. In another computer, after extracting all the files, I tried running the JAR file but a Window prompt said:
"Could not find the main class: logic.Main. Program will exit."
After researching and tried the solutions of similar problems (i.e. creating Manifest file, creating .bat file) but nothing works.
Then I ran it in command prompt and these were the results:
Are there 2 problems: could not find main class and that in the other computer, the Java is not updated? How to solve this?