This website uses cookies. By clicking Accept, you consent to the use of cookies. Click Here to learn more about how we use cookies.
Turn on suggestions
Auto-suggest helps you quickly narrow down your search results by suggesting possible matches as you type.
- Revenera Community
- :
- InstallAnywhere
- :
- InstallAnywhere Forum
- :
- Re: Console mode with install.jar
Subscribe
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Subscribe
- Mute
- Printer Friendly Page
‎Jul 17, 2013
09:48 AM
Console mode with install.jar
Hi.
I'm trying to run jar installer on Linux in console mode. When I start the installer the installing process is redirected from command line somewhere else and thus I'm not able to continue. Is there a way how to run jar installer from command line and stay in the same command line?
Thanks
Robert
I'm trying to run jar installer on Linux in console mode. When I start the installer the installing process is redirected from command line somewhere else and thus I'm not able to continue. Is there a way how to run jar installer from command line and stay in the same command line?
Thanks
Robert
(3) Replies
‎Aug 12, 2013
05:02 AM
Hi.
I did. In fact I even decompiled IA's java code to see what is going on.
If I start the installer and let IA copy install.jar to /tmp/XXX and then call the installer using -Drelaunched option from /tmp/XXX (plus I have to move sea_loc file one directory higher to /tmp) then the installer starts and runs in the console. It freezes some time after interview phase during installation process..
Even if it didn't freeze after interview this would be a terrible hack. From java code I can't determine why the process starts outside running console..
Robert
I did. In fact I even decompiled IA's java code to see what is going on.
If I start the installer and let IA copy install.jar to /tmp/XXX and then call the installer using -Drelaunched option from /tmp/XXX (plus I have to move sea_loc file one directory higher to /tmp) then the installer starts and runs in the console. It freezes some time after interview phase during installation process..
Even if it didn't freeze after interview this would be a terrible hack. From java code I can't determine why the process starts outside running console..
Robert
‎Aug 12, 2013
10:12 AM
Actually now I see that Runtime.exec(install.jar -Drelaunhced ...) method is called which starts new process. From this point of view I'd say there's no way to start the process in the same console.
Don't understand why IA copies install.jar to temp folder then it uses this jar to start the original jar.
r
Don't understand why IA copies install.jar to temp folder then it uses this jar to start the original jar.
r