[libinline-java-perl] 104/398: *** empty log message ***
Jonas Smedegaard
dr at jones.dk
Thu Feb 26 11:42:54 UTC 2015
This is an automated email from the git hooks/post-receive script.
js pushed a commit to tag 0.55
in repository libinline-java-perl.
commit 1f7a3384d0fdf50e20608dec58959e1c7af379ac
Author: Patrick LeBoutillier <patl at cpan.org>
Date: Wed Jun 6 15:50:54 2001 +0000
*** empty log message ***
---
Java/Class.pm | 2 +-
Java/Makefile.PL | 6 ++++--
README.JNI | 18 ++++++++++++++----
3 files changed, 19 insertions(+), 7 deletions(-)
diff --git a/Java/Class.pm b/Java/Class.pm
index 918cbc2..a5ba5f9 100644
--- a/Java/Class.pm
+++ b/Java/Class.pm
@@ -3,7 +3,7 @@ package Inline::Java::Class ;
use strict ;
-$Inline::Java::Class::VERSION = '0.20' ;
+$Inline::Java::Class::VERSION = '0.22' ;
use Carp ;
diff --git a/Java/Makefile.PL b/Java/Makefile.PL
index 23512f1..5eda488 100644
--- a/Java/Makefile.PL
+++ b/Java/Makefile.PL
@@ -64,8 +64,10 @@ if ($JNI_BUILD){
"variable in order to be able to use the JNI mode.\n" ;
}
else{
- print "\nNote: You may need to add $l to your LD_LIBRARY_PATH environment " .
- "variable in order to be able to use the JNI mode.\n" ;
+ print "\nNote: You will need to add $l (and maybe other Java " .
+ "directories) to your LD_LIBRARY_PATH environment variable in " .
+ "order to be able to use the JNI mode. See README.JNI for more " .
+ "information.\n" ;
}
print "\n" ;
diff --git a/README.JNI b/README.JNI
index bea7606..fc0a31c 100644
--- a/README.JNI
+++ b/README.JNI
@@ -49,10 +49,20 @@ Then use this Perl version to build and run Inline::Java.
LINUX
-----
-The JNI extension has not been run successfully yet on Linux, although
-it builds fine. It is believed, although not yet proven, that JNI extension
-might work on Linux if Perl is built following the same instructions a
-for Solaris.
+The JNI extension has been run successfully on Linux. For this you need
+to use Java with native threads. To do this you need to inspect your
+Java 2 SDK distribution tree, and put in your LD_LIBRARY_PATH the directories
+that contain 'native_threads' instead of those that contain 'green_threads'.
+
+You should also use any directory that says 'classic' instead of the others.
+The Classic VM seems to run better under Linux.
+
+On my Linux box, here's what I used as LD_LIBRARY_PATH:
+
+ LD_LIBRARY_PATH=/home/patrickl/apps/jdk1.2.2/jre/lib/i386:
+ /home/patrickl/apps/jdk1.2.2/jre/lib/i386/classic:
+ /home/patrickl/apps/jdk1.2.2/jre/lib/i386/native_threads
+
BUILDING THE JNI EXTENSION
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-perl/packages/libinline-java-perl.git
More information about the Pkg-perl-cvs-commits
mailing list