Java package: Difference between revisions

Jump to navigation Jump to search
296 bytes added ,  30 May 2013
Line 132: Line 132:




On 64-bit systems, some files needed for compilation might reside in <JAVA_HOME>/jre/bin/server/ rather than in <JAVA_HOME>/jre/bin/client/  
On Linux 64-bit systems, the libjvm.so library is installed only in <JAVA_HOME>/jre/lib/<ARCH>/server/ because the <JAVA_HOME>/jre/lib/<ARCH>/client/ folder is not available. This will lead to runtime execution errors because the library is not found.


This will lead to build errors as the install script can't find needed files where it expects them to be.
There are two solutions:
 
* install the java package as is and create a symlink named ''server'' in <JAVA_HOME>/jre/lib/<ARCH>/ pointing to the ''client'' folder;
To fix this, a suitale symlink to client/ should suffice.
* patch the java package as indicated in [http://savannah.gnu.org/bugs/?39065 libjvm detection on 64 bit systems for java package] and then install it, no further modifications are needed


===Test the java package installation===
===Test the java package installation===
1

edit

Navigation menu