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


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

Submitted by:  Pascal Dupuis <cdemills>
Submitted on:  Wed 11 Jun 2014 08:04:46 AM UTC  
Category: LibrariesSeverity: 3 - Normal
Priority: 5 - NormalItem Group: Regression
Status: DuplicateAssigned to: None
Originator Name: Pascal DupuisOpen/Closed: Closed
Release: 3.8.1Operating System: GNU/Linux

Add a New Comment (Rich MarkupRich Markup):

You are not logged in

Please log in, so followups can be emailed to you.


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>
Project Member
Wed 11 Jun 2014 08:04:46 AM UTC, original submission:


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

By upgrading the system, this file is now /usr/lib/jvm/java-1.7.0-openjdk-

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-, 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 ?



Pascal Dupuis <cdemills>


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

Attach File(s):

No files currently attached


   bug dependencies.

Items that depend on this one: None found


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

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 0 encouragements so far.

    Only project members can vote.


    Please enter the title of George Orwell's famous dystopian book (it's a date):



    Follow 3 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Wed 11 Jun 2014 12:05:21 PM UTCmtmillerDependencies-=>Depends on bugs #40111
    Wed 11 Jun 2014 12:05:20 PM UTCmtmillerStatusNone=>Duplicate

    Back to the top

    Powered by Savane 3.1-cleanup