Creating and Adding packages to ClassPath Enviroment Variables
I'm trying to create my own package to store classes in but have not been able to add the root directory in the enviroment variable settings properly. As a result I receive an (Error could find or load main class) in the command prompt. I know it's something I'm doing or missing in the env variables to settings. Any advice on how to properly add root directories to classpaths would be helpful.
Re: Creating and Adding packages to ClassPath Enviroment Variables
Do not use the environment variable for the system.
Define the classpath locally, either with a local CLASSPATH variable in an execution script, or by using the -cp flag.
You are probably missing the '.' in your classpath...