Java update - centos 6.9

Having trouble installing Oxygen? Got a bug to report? Post it all here.
catterall
Posts: 63
Joined: Sat Jan 24, 2004 12:10 am
Location: Oaxaca, Mexico
Contact:

Java update - centos 6.9

Post by catterall »

Warning

Today I updated my CenOS 6.8 (or is it 6.9, the latest anyway)
This updated java from java-1.7.0-openjdk-1.7.0.101.x86_64 to java-1.7.0-openjdk-1.7.0.111.x86_64
The Transformation Scenario in the latest oXgen calls java-1.7.0-openjdk-1.7.0.101.x86_64 which of course it can't find anymore.

As a quick fix this gets us back running

mv java-1.7.0-openjdk-1.7.0.111.x86_64 java-1.7.0-openjdk-1.7.0.101.x86_64

But oXygen really needs updating.
adrian
Posts: 2855
Joined: Tue May 17, 2005 4:01 pm

Re: Java update - centos 6.9

Post by adrian »

Hello,

1. What version of Oxygen are you using (check in Help > About)?
2. What distribution of Oxygen did you download and are currently using (Linux 64-bit, or the "All Platforms"/.tar.gz)?
3. What type of transformation scenario are you talking about? Is it an ANT transformation?
Check the configuration of the scenario, you may have specified a fixed Java runtime at one time and forgot about it. Otherwise, by default, Oxygen uses for the ANT transformations the same JRE that it is using. That means your custom scenario may need updating.

BTW, for v17 and later of Oxygen we recommend using Java 8. Normally the Java version is not a user concern since the platform specific distributions of Oxygen (Windows, Linux and OS X) have a bundled Java runtime of a specific version that has been thoroughly tested with Oxygen.

Regards,
Adrian
Adrian Buza
<oXygen/> XML Editor, Schema Editor and XSLT Editor/Debugger
http://www.oxygenxml.com
catterall
Posts: 63
Joined: Sat Jan 24, 2004 12:10 am
Location: Oaxaca, Mexico
Contact:

Re: Java update - centos 6.9

Post by catterall »

Hi Adrian
Oxygen 18.0 2016051118
Linux 64-bit
Docbook PDF transformation supplied by Oxygen (3rd down in list)
(Not a custom transformation)
Ron
catterall
Posts: 63
Joined: Sat Jan 24, 2004 12:10 am
Location: Oaxaca, Mexico
Contact:

Re: Java update - centos 6.9

Post by catterall »

Adrian
Looks like the problem is in XEP, not oXygen

The process 'XEP' ended with code 127
The error was
/usr/local/RenderX/xep: line 15: /usr/lib/jvm/java-1.7.0-openjdk-1.7.0.111.x86_64 No such file

Ron
adrian
Posts: 2855
Joined: Tue May 17, 2005 4:01 pm

Re: Java update - centos 6.9

Post by adrian »

Hi,

Did you configure a custom FO Processor, or are you using the built-in Apache FOP?
Check in Options > Preferences, XML / XSLT-FO-XQuery / FO Processors.

Check what Java is oXygen using in Help > About, System Properties, java.version.

Regards,
Adrian
Adrian Buza
<oXygen/> XML Editor, Schema Editor and XSLT Editor/Debugger
http://www.oxygenxml.com
adrian
Posts: 2855
Joined: Tue May 17, 2005 4:01 pm

Re: Java update - centos 6.9

Post by adrian »

XEP depends on its own launch script, so that explains it.
Adrian Buza
<oXygen/> XML Editor, Schema Editor and XSLT Editor/Debugger
http://www.oxygenxml.com
catterall
Posts: 63
Joined: Sat Jan 24, 2004 12:10 am
Location: Oaxaca, Mexico
Contact:

Re: Java update - centos 6.9

Post by catterall »

Adrian
That's the problem - XEP - the fix works, but hardly satisfactory
I used:
XEP version: setup-4.24.395-2015-02-18-personal.jar
Ron
adrian
Posts: 2855
Joined: Tue May 17, 2005 4:01 pm

Re: Java update - centos 6.9

Post by adrian »

Well, /usr/local/RenderX/xep is a script, so you can simply edit it and correct the java path at line 15.
Adrian Buza
<oXygen/> XML Editor, Schema Editor and XSLT Editor/Debugger
http://www.oxygenxml.com
Post Reply