Sign in to follow this  
Followers 0
faub

run java program

2 posts in this topic

Hello

(system windows)

I have a simple java program which writes a number in a file...

When I execute my program (java -classpath MyClass) it's work correctly....

When I run this command in a autoit script by using Run command it doesn't work.

But, when I put this command in a bat file and run this bat file in my autoit script by using Run(...) it 's work!

Is it possible to run a java command with autoit ?

Thank for yours answer.

Share this post


Link to post
Share on other sites



Welcome to the forums...

Take a look at @Comspec.

For future reference, the replies are much faster when you post the failing code you've tried.


[center]Common sense plays a role in the basics of understanding AutoIt... If you're lacking in that, do us all a favor, and step away from the computer.[/center]

Share this post


Link to post
Share on other sites

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
Sign in to follow this  
Followers 0