-Dcom.oxygenxml.MultipleInstances=true no longer working --solved, my fault
Having trouble installing Oxygen? Got a bug to report? Post it all here.
-
martindholmes
- Posts: 203
- Joined: Wed Apr 20, 2005 5:43 pm
- Location: Victoria, BC, Canada
-Dcom.oxygenxml.MultipleInstances=true no longer working --solved, my fault
Post 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
./oxygen.sh: 94: -Dcom.oxygenxml.MultipleInstances=true: not found
Am I missing something? Did this capability get removed?
Cheers,
Martin
Last edited by martindholmes on Thu Feb 05, 2026 9:26 pm, edited 1 time in total.
-
martindholmes
- Posts: 203
- Joined: Wed Apr 20, 2005 5:43 pm
- Location: Victoria, BC, Canada
Re: -Dcom.oxygenxml.MultipleInstances=true no longer working
Post 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:
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:
-
adrian
- Posts: 2897
- Joined: Tue May 17, 2005 4:01 pm
Re: -Dcom.oxygenxml.MultipleInstances=true no longer working
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:
Try to start from scratch with a clean oxygen.sh script and add only the line with the property/argument (leading space)...
Regards,
Adrian
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:
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../oxygen.sh: 94: -Dcom.oxygenxml.MultipleInstances=true: not found
Try to start from scratch with a clean oxygen.sh script and add only the line with the property/argument (leading space)...
Regards,
Adrian
Adrian Buza
<oXygen/> XML Editor, Schema Editor and XSLT Editor/Debugger
http://www.oxygenxml.com
<oXygen/> XML Editor, Schema Editor and XSLT Editor/Debugger
http://www.oxygenxml.com
-
martindholmes
- Posts: 203
- Joined: Wed Apr 20, 2005 5:43 pm
- Location: Victoria, BC, Canada
Re: -Dcom.oxygenxml.MultipleInstances=true no longer working
Post by martindholmes »
You're absolutely right -- I managed to introduce a typo into the script somehow. Sorry for the confusion.
Cheers,
Martin
Cheers,
Martin
Jump to
- Oxygen XML Editor/Author/Developer
- ↳ Feature Request
- ↳ Common Problems
- ↳ DITA (Editing and Publishing DITA Content)
- ↳ Artificial Intelligence (AI Positron Assistant add-on)
- ↳ SDK-API, Frameworks - Document Types
- ↳ DocBook
- ↳ TEI
- ↳ XHTML
- ↳ Other Issues
- Oxygen XML Web Author
- ↳ Feature Request
- ↳ Common Problems
- Oxygen Content Fusion
- ↳ Feature Request
- ↳ Common Problems
- Oxygen JSON Editor
- ↳ Feature Request
- ↳ Common Problems
- Oxygen PDF Chemistry
- ↳ Feature Request
- ↳ Common Problems
- Oxygen Feedback
- ↳ Feature Request
- ↳ Common Problems
- Oxygen XML WebHelp
- ↳ Feature Request
- ↳ Common Problems
- XML
- ↳ General XML Questions
- ↳ XSLT and FOP
- ↳ XML Schemas
- ↳ XQuery
- NVDL
- ↳ General NVDL Issues
- ↳ oNVDL Related Issues
- XML Services Market
- ↳ Offer a Service