Not able to start multiple instances of oXygen

Having trouble installing <oXygen/>? Got a bug to report? Post it all here.
Martin Honnen
Posts: 29

Not able to start multiple instances of oXygen

Mon Jun 12, 2017 8:33 pm

I would like to start multiple instances of oXygen (version XML Editor 19.0, build 2017042020) on Windows 10, I have read https://www.oxygenxml.com/doc/versions/ ... rties.html and https://www.oxygenxml.com/doc/versions/ ... m-property, based on that I have edited the oxygen19.0.vmoptions file in the installation directory and added a line

Code: Select all

-Dcom.oxygenxml.MultipleInstances=true


However, once I have started one instance with the Windows desktop icon or from the Windows start menu, any attempt to start a new instance the same way simply focuses the already started instance.

In the about section with system properties I see "com.oxygenxml.MultipleInstances true" set so I am not sure what is wrong with my approach.
ionela
Posts: 149

Re: Not able to start multiple instances of oXygen

Tue Jun 13, 2017 4:08 pm

Hello,

Unfortunately, on Windows it is not possible to start multiple instances of oXygen if you start the application with the "oXygen" launcher (e.g. oxygen19.0.exe) or the desktop shortcut.
You can start multiple instances of oXygen if you are using the command line startup script "oxygen.bat" to start the application. In this startup script you need to add the system property you have indicated (you can add the parameter after %OXYGEN_JAVA% token):

Code: Select all

-Dcom.oxygenxml.MultipleInstances=true

After that you should be able to open multiple instances of oXygen if you start the application using oxygen.bat.

I hope this helps.

Regards,
Ionela
Ionela Istodor
oXygen XML Editor and Author Support
Martin Honnen
Posts: 29

Re: Not able to start multiple instances of oXygen

Tue Jun 13, 2017 5:04 pm

Thanks, editing and using the .bat works fine to open multiple instances. Is there a way to call the .bat passing in a project file to open that particular project?
adrian
Posts: 2336

Re: Not able to start multiple instances of oXygen

Tue Jun 13, 2017 6:45 pm

Hi,

Code: Select all

call oxygen.bat "x:\path\to\my\project.xpr"


Regards,
Adrian
Adrian Buza
<oXygen/> XML Editor, Schema Editor and XSLT Editor/Debugger
http://www.oxygenxml.com

Return to “Common Problems”

Who is online

Users browsing this forum: No registered users and 3 guests