bugGNU Octave - Bugs: bug #42540, [Java] libjvm.so full path...

 
 

bug #42540: [Java] libjvm.so full path statically determined at build time ?

Submitter:  Pascal Dupuis <cdemills>
Submitted:  Wed 11 Jun 2014 08:04:46 AM UTC
   
 
Category:  Libraries Severity:  3 - Normal
Priority:  5 - Normal Item Group:  Regression
Status:  Duplicate Assigned to:  None
Originator Name:  Pascal Dupuis Open/Closed:  * Closed
Release:  * 3.8.1 Operating System:  * GNU/Linux
Fixed Release:  None Planned Release:  None
* Mandatory Fields

Add a New Comment Rich Markup
   

Wed 11 Jun 2014 12:05:21 PM UTC, comment #1: 

Thanks for your bug report. This does indeed affect the Linux/Unix build, as well as Mac I believe. This is a duplicate of one I reported when Java support was first rolled in, bug #40111. Please follow up with any comments or patches on that bug report.

Mike Miller <mtmiller>
Group Member
Wed 11 Jun 2014 08:04:46 AM UTC, original submission:  

Hello,

I compiled 3.8.1 from source in March 2014 on a fedora-20 x86_64 platform; at this time libjvm.so full path was
/usr/lib/jvm/java-1.7.0-openjdk-1.7.0.60-2.4.5.1.fc20.x86_64/jre/lib/amd64/server/libjvm.so

By upgrading the system, this file is now  /usr/lib/jvm/java-1.7.0-openjdk-1.7.0.60-2.4.7.4.fc20.x86_64/jre/lib/amd64/server/libjvm.so

So any java command result in a failure as the lib can not be loaded.

During compilation, I set the environment variable JAVA_HOME to /usr/lib/jvm/java-1.7.0-openjdk, which is itself a link to  /etc/alternatives/java_sdk_1.7.0_openjdk

It seems that this liknk was followed up to the end while building the Java interface; now the jvm lib has moved.

I tried to set JAVA_HOME to /usr/lib/jvm/java-1.7.0-openjdk-1.7.0.60-2.4.7.4.fc20.x86_64, but this didn't solve the issue.

Would it be possible to add some fallback mechanism in order to try alternatives path for this lib ?

Regards

Pascal

Pascal Dupuis <cdemills>
Group Member

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach Files:
   
   
Comment:
   

No files currently attached

 

Digest:
   bug dependencies.

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by mtmiller (Posted a comment)
  • -email is unavailable- added by cdemills (Submitted the item)
  •  

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

    Only group members can vote.

     

    Follow 3 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2014-06-11 mtmiller Dependencies- Depends on bugs #40111
    2014-06-11 mtmiller StatusNone Duplicate
        Open/ClosedOpen Closed

    Back to the top

    Powered by Savane 3.13-f8d8.
    Corresponding source code