Page 1 of 1

Java update - centos 6.9

Posted: Fri Jul 29, 2016 3:08 am
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.

Re: Java update - centos 6.9

Posted: Fri Jul 29, 2016 10:35 am
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

Re: Java update - centos 6.9

Posted: Fri Jul 29, 2016 2:46 pm
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

Re: Java update - centos 6.9

Posted: Fri Jul 29, 2016 3:04 pm
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

Re: Java update - centos 6.9

Posted: Fri Jul 29, 2016 3:07 pm
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

Re: Java update - centos 6.9

Posted: Fri Jul 29, 2016 3:09 pm
by adrian
XEP depends on its own launch script, so that explains it.

Re: Java update - centos 6.9

Posted: Fri Jul 29, 2016 3:12 pm
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

Re: Java update - centos 6.9

Posted: Fri Jul 29, 2016 3:16 pm
by adrian
Well, /usr/local/RenderX/xep is a script, so you can simply edit it and correct the java path at line 15.