sanulevan Posted December 6, 2011 Posted December 6, 2011 Hi,i use these code for running SubmitEaze software #include<GuiToolbar.au3>#include<GuiConstants.au3>#include<Constants.au3>#include<WindowsConstants.au3>Global $dir="/SubmitEaze/",$SubmitEaze_exe="SubmitEaze.exe"If Not ProcessExists("$SubmitEaze_exe") ThenShellExecute(@ProgramFilesDir & $dir & $SubmitEaze_exe,"","","",@SW_SHOWDEFAULT)EndIf,but on running java virtual machine launcher says cannot find the mainclass
Mat Posted December 6, 2011 Posted December 6, 2011 Have you tried setting the working directory? Does it work when you run it from the command line manually? I used to get that error with minecraft when I was running it from a shortcut that set the working directory to the desktop AutoIt Project Listing
jvanegmond Posted December 6, 2011 Posted December 6, 2011 If Not ProcessExists("$SubmitEaze_exe") Then Should also be: If Not ProcessExists($SubmitEaze_exe) Then Doesn't fix your problem, but fixes a future problem. github.com/jvanegmond
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