burger Posted August 24, 2006 Share Posted August 24, 2006 I'm attempting to start a java program with the following line: RunWait("C:\WINDOWS\system32\javaw.exe -cp jts.jar;jcommon-1.0.0.jar;jfreechart-1.0.0.jar;jhall.jar;other.jar;rss.jar -Dsun.java2d.noddraw=true -Xmx256M jclient/LoginFrame C:\Jts") It generates an error mssg box labeled Java Virtual Machine Launcher, with the following error: "Could not find the main class. Program will exit." Any help would be appreciated. My program is located in my Desktop directory if that matters. Link to comment Share on other sites More sharing options...
LostUser Posted August 24, 2006 Share Posted August 24, 2006 I'm attempting to start a java program with the following line: RunWait("C:\WINDOWS\system32\javaw.exe -cp jts.jar;jcommon-1.0.0.jar;jfreechart-1.0.0.jar;jhall.jar;other.jar;rss.jar -Dsun.java2d.noddraw=true -Xmx256M jclient/LoginFrame C:\Jts") It generates an error mssg box labeled Java Virtual Machine Launcher, with the following error: "Could not find the main class. Program will exit." Any help would be appreciated. My program is located in my Desktop directory if that matters. I get the same error, however, I don't know much about Java or what you are trying to do. Perhaps try doing that from the command line until it works. Be open minded but not gullible.A hammer sees everything as a nail ... so don't be A tool ... be many tools. Link to comment Share on other sites More sharing options...
burger Posted August 24, 2006 Author Share Posted August 24, 2006 I copied the line from a Desktop Shortcut that works fine. I'm just trying to automate the login. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now