Bug 1190523 - java objects don't work
Summary: java objects don't work
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: octave
Version: 21
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Orion Poplawski
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2015-02-08 22:38 UTC by Thomas Sailer
Modified: 2015-02-23 08:04 UTC (History)
7 users (show)

Fixed In Version: octave-3.8.2-9.fc21
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2015-02-23 08:04:51 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

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.


Note You need to log in before you can comment on or make changes to this bug.