Bug 1190523

Summary: java objects don't work
Product: [Fedora] Fedora Reporter: Thomas Sailer <fedora>
Component: octaveAssignee: Orion Poplawski <orion>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 21CC: alex, fkluknav, jcapik, mmahut, orion, rakesh.pandit, susi.lehtola
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: octave-3.8.2-9.fc21 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2015-02-23 08:04:51 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Thomas Sailer 2015-02-08 22:38:27 UTC
Description of problem:


Version-Release number of selected component (if applicable):
octave-3.8.2-7.fc21.x86_64

How reproducible:
always

Steps to Reproduce:
1.parser = javaObject('org.apache.xerces.parsers.DOMParser');


Actual results:
error: javaObject: /usr/lib/jvm/java-1.8.0-openjdk-1.8.0.20-12.b26.fc21.x86_64/jre/lib/amd64/server/libjvm.so: failed to load: /usr/lib/jvm/java-1.8.0-openjdk-1.8.0.20-12.b26.fc21.x86_64/jre/lib/amd64/server/libjvm.so: cannot open shared object file: No such file or directory


Expected results:
java object created

Additional info:
libjvm.so can be found at this path:
/usr/lib/jvm/java-1.8.0-openjdk-1.8.0.31-3.b13.fc21.x86_64/jre/lib/amd64/server/libjvm.so

It seems that the java path is hardcoded, so octave needs to be recompiled

Comment 1 Orion Poplawski 2015-02-09 02:14:52 UTC
We need to point octave to point to a generic location, which I think I know how to do.  Also need to have octave require java-headless as well.

Comment 2 Fedora Update System 2015-02-09 15:42:01 UTC
octave-3.8.2-9.fc21 has been submitted as an update for Fedora 21.
https://admin.fedoraproject.org/updates/octave-3.8.2-9.fc21

Comment 3 Fedora Update System 2015-02-15 03:22:26 UTC
Package octave-3.8.2-9.fc21:
* should fix your issue,
* was pushed to the Fedora 21 testing repository,
* should be available at your local mirror within two days.
Update it with:
# su -c 'yum update --enablerepo=updates-testing octave-3.8.2-9.fc21'
as soon as you are able to.
Please go to the following url:
https://admin.fedoraproject.org/updates/FEDORA-2015-2036/octave-3.8.2-9.fc21
then log in and leave karma (feedback).

Comment 4 Fedora Update System 2015-02-23 08:04:51 UTC
octave-3.8.2-9.fc21 has been pushed to the Fedora 21 stable repository.  If problems still persist, please make note of it in this bug report.