skakac

Changing Java destionation folder

2 posts in this topic

Hi,

I have desktop application and i am trying to automate it. That application is written in Java and AutoIt does note recognize it. I had similar problem with the one program for automation(Automation Anywhere)but when i change Java folder source i did match to find elements and fields on that desktop application.
Is there any possible way to chane Java folder in AutoIT? For example now source folder is C:\Program Files (x86)\Java and i need to change it to another because that desktop application has specific folder just for that application.

thanks in advance :)

Share this post


Link to post
Share on other sites



I don't really understand what you want, but you can create a hardlink using FileCreateNTFSLink.

Also, the Java folder is defined in a environment variable called JAVA_HOME. You can set this value to the desired path and run the application (you can use EnvSet and run the app from your script).

 

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