illegal argument error, HELP
Having trouble installing Oxygen? Got a bug to report? Post it all here.
-
- Posts: 1
- Joined: Fri May 07, 2004 8:04 pm
illegal argument error, HELP
HI,
I'm trying to evaluate oxygen for use on Solaris and am getting an error:
bash$ ./oxygen.sh
-Xmx256m: illegal argument
Usage: java [-options] class
2 questions, do I need to set a JAVA_HOME and CLASSPATH environment variable and if so, how do I do that?
Also, why am I getting an illegal argument running oxygen.sh from the command line???
Any help is appreciated. Note that I am not a java expert by any means so any help is appreciated.
I'm trying to evaluate oxygen for use on Solaris and am getting an error:
bash$ ./oxygen.sh
-Xmx256m: illegal argument
Usage: java [-options] class
2 questions, do I need to set a JAVA_HOME and CLASSPATH environment variable and if so, how do I do that?
Also, why am I getting an illegal argument running oxygen.sh from the command line???
Any help is appreciated. Note that I am not a java expert by any means so any help is appreciated.
-
- Site Admin
- Posts: 2095
- Joined: Thu Jan 09, 2003 2:58 pm
Hi,
Please make sure you have java 1.4.2 as the -Xmx option should be accepted, see:
http://java.sun.com/j2se/1.4.2/docs/too ... /java.html
All that is needed is to have the java executable in yout PATH so that from a terminal the following command should work:
java -version
and should display 1.4.2 as the version number. Otherwise you can edit the oxygen.sh script to contain the full path to the java executable.
To get Java 1.4.2 see:
http://java.sun.com/j2se/1.4.2/download.html
Best Regards,
George
Please make sure you have java 1.4.2 as the -Xmx option should be accepted, see:
http://java.sun.com/j2se/1.4.2/docs/too ... /java.html
All that is needed is to have the java executable in yout PATH so that from a terminal the following command should work:
java -version
and should display 1.4.2 as the version number. Otherwise you can edit the oxygen.sh script to contain the full path to the java executable.
To get Java 1.4.2 see:
http://java.sun.com/j2se/1.4.2/download.html
Best Regards,
George
Jump to
- Oxygen XML Editor/Author/Developer
- ↳ Feature Request
- ↳ Common Problems
- ↳ DITA (Editing and Publishing DITA Content)
- ↳ 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