I have a java application that is started from an executable. When I try to run that, This error pops up "Title: Java Virtual Machine Launcher" saying "Could not find the main class. Program will exit."
This error is coming when the application is tried to run on some machines (that's what I think), and not for all the users. Following are the steps that have been suggested, but the error still persists:
1.Uninstall any older/ multiple versions of java from the Windows machine and keep only the latest one.
2.Point the environment variable "CLASSPATH" to the directory where "java" is present, and also to the main class of my application.
3.Try installing the tool on a different machine (in the same network domain).
I have seen many posts in this and other forums on this topic, and the solutions suggested above have been taken from them, but the solution for my problem here is not there. It may be a trivial mistake or something else, but please help me out, as I am only a beginner in trying to solve such problems.
Also, if you can please tell me how do I get this error, on my machine, that would be great? Something to understand the steps causing the problem. I don't get the error pop-up on my system.
Thank you so very much in advance!