Jump to content

Recommended Posts

Posted (edited)

hello once again..

The basic idea of what i'm trying to do is, instead of launching a java application with batch, I want to do it with autoit that way i have more control.. but unfortunetly it doesn't do anthing. the batch displays a splash screen which launches the program,but the cmd window i want to be hidden

[batch]

java gui.Splash

[Autoit]

;#notrayicon
run(@comspec & 'java gui.splash ', '' ,@sw_hide)
Edited by WTS
Posted (edited)

Run(@ComSpec & " /C " & 'javaw.exe gui.splash', @ScriptDir, @SW_HIDE)

Run(@ComSpec & " /C " & 'javaw '& @ScriptDir & '\gui\Splash.class','' , @SW_HIDE)

Run('cmd java gui.Splash', '', @SW_SHOW)

#include <process.au3>

_RunDOS('javaw.exe gui.splash')

how to avoid this error?

Could not find main class. Program will now exit

Edited by WTS

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...