Jump to content

Recommended Posts

Posted

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") Then

ShellExecute(@ProgramFilesDir & $dir & $SubmitEaze_exe,"","","",@SW_SHOWDEFAULT)

EndIf

,

but on running java virtual machine launcher says cannot find the mainclass

Posted

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 :D

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...