0

I'm trying to run wsadmin as administrator on Java and I would like to input the jacl script with it as well. How do I do that? This is my current code.

    Runtime rt = Runtime.getRuntime();
    rt.exec("cmd /c start C:\\IBM\\WebSphere\\AppServer\\profiles\\JVMSrv01\\bin\\wsadmin2.bat.lnk");

How would I input, for example, a jacl script file for it to execute right after I have run it as admin?

I am running the wsadmin on my profiles folder so the connection has already been established. Thank you!

Zaveid
  • 21
  • 5

1 Answers1

0

wsadmin.bat - lang jacl -f filename

Also see help with -h.

Marcin P
  • 430
  • 1
  • 5
  • 11