Page 1 of 1
-Dcom.oxygenxml.MultipleInstances=true no longer working --solved, my fault
Posted: Wed Feb 04, 2026 10:52 pm
by martindholmes
I've been using the MultipleInstances setting in the oxygen.sh file for many years now, and it's essential to the way I work; after upgrading this morning to the latest release of Oxygen 28, I'm getting this error:
./oxygen.sh: 94: -Dcom.oxygenxml.MultipleInstances=true: not found
Am I missing something? Did this capability get removed?
Cheers,
Martin
Re: -Dcom.oxygenxml.MultipleInstances=true no longer working
Posted: Wed Feb 04, 2026 11:00 pm
by martindholmes
For the sake of full disclosure: this is the set command:
set -- \
-Dcom.oxygenxml.MultipleInstances=true\
-Djava.security.manager=allow\
-XX:-OmitStackTraceInFastThrow\
-XX:SoftRefLRUPolicyMSPerMB=10\
-Dcom.oxygenxml.editor.plugins.dir="$OXYGEN_HOME/plugins"\
-Dcom.oxygenxml.app.descriptor=ro.sync.exml.EditorFrameDescriptor\
-Dsun.io.useCanonCaches=true\
-Dsun.io.useCanonPrefixCache=true\
-cp "$CP"\
ro.sync.exml.Oxygen\
"$@"
And this is the command line error:
mholmes@spud2021:~/Oxygen XML Editor 28$ ./oxygen.sh
./oxygen.sh: 94: -Dcom.oxygenxml.MultipleInstances=true: not found
NOTE: Picked up JDK_JAVA_OPTIONS: -Djava.security.manager=allow --add-opens=java.base/java.lang=ALL-UNNAMED --add-opens=java.base/java.net=ALL-UNNAMED --add-opens=java.base/java.util=ALL-UNNAMED --add-opens=java.base/java.util.regex=ALL-UNNAMED --add-opens=java.base/sun.net.util=ALL-UNNAMED --add-opens=java.base/sun.net.www.protocol.http=ALL-UNNAMED --add-opens=java.base/sun.net.www.protocol.https=ALL-UNNAMED --add-opens=java.desktop/java.awt=ALL-UNNAMED --add-opens=java.desktop/java.awt.dnd=ALL-UNNAMED --add-opens=java.desktop/javax.swing=ALL-UNNAMED --add-opens=java.desktop/javax.swing.text=ALL-UNNAMED --add-opens=java.desktop/javax.swing.plaf.basic=ALL-UNNAMED --add-opens=java.xml/com.sun.org.apache.xerces.internal.xni=ALL-UNNAMED --add-opens=javafx.graphics/com.sun.javafx.tk=ALL-UNNAMED --add-opens=javafx.web/javafx.scene.web=ALL-UNNAMED --add-opens=javafx.web/com.sun.javafx.webkit=ALL-UNNAMED
Error: Could not find or load main class
Caused by: java.lang.ClassNotFoundException:
Re: -Dcom.oxygenxml.MultipleInstances=true no longer working
Posted: Thu Feb 05, 2026 9:31 am
by adrian
Hi,
Without seeing the modified .sh script I can't tell what's broken, but it's the modified script, not the argument that you're using. The argument never reaches Java or Oxygen.
This indicates a problem at line 94 or adjacent lines:
./oxygen.sh: 94: -Dcom.oxygenxml.MultipleInstances=true: not found
In a clean script this should be at line 93 (just after set which is at 92). So perhaps you have inadvertently also modified something else before this line.
Try to start from scratch with a clean oxygen.sh script and add only the line with the property/argument (leading space)...
Regards,
Adrian
Re: -Dcom.oxygenxml.MultipleInstances=true no longer working
Posted: Thu Feb 05, 2026 9:26 pm
by martindholmes
You're absolutely right -- I managed to introduce a typo into the script somehow. Sorry for the confusion.
Cheers,
Martin