Jump to content

run java program


Recommended Posts

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.

Link to comment
Share on other sites

  • Moderators

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.

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.

Link to comment
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
 Share

  • Recently Browsing   0 members

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