Originally posted by peter huff:
gridLayoutFrame gridLayoutFrame = new GridLayoutFrame();
^
Originally posted by Layne Lund:
NetBeans must have the internal CLASSPATH set correctly for this to work. It just doesn't store the classpath in the jar's manifest file. Does your project include the jar file that this class lives in?
When you use the -jar option, it will ignore the classpath set with the -cp option. If you wish to use the -jar option, the classpath must be set correctly in the jar's manifest. Otherwise, you can include the jar file in the classpath (with the -cp option, for example) and indicate the class to execute as well.
Originally posted by Ben Souther:
You certainly can use Tomcat as a standalone webserver.