GCJ::Cni

GCJ::Cni is a Perl module for CNI Bindings to GNU Compiler for Java.
Download

GCJ::Cni Ranking & Summary

Advertisement

  • Rating:
  • License:
  • Perl Artistic License
  • Price:
  • FREE
  • Publisher Name:
  • David Rusek
  • Publisher web site:
  • http://search.cpan.org/~rusekd/Java-Import-0.01/lib/Java/Examples.pod

GCJ::Cni Tags


GCJ::Cni Description

GCJ::Cni is a Perl module for CNI Bindings to GNU Compiler for Java. GCJ::Cni is a Perl module for CNI Bindings to GNU Compiler for Java.SYNOPSISUsing this module in Perl is similar to using it in C++: use GCJ::Cni; if ( GCJ::Cni::JvCreateJavaVM(undef) ) { die "Failed to initialize JavaVM, cannot continue..."; } unless ( my $thread_obj = GCJ::Cni::JvAttachCurrentThread(undef, undef) ) { die "Failed to attach thread, cannot continue..."; } ... if ( GCJ::Cni::JvDetachCurrentThread() ) { die "Failed to detach current thread, cannot continue..."; }This module wraps the GCJ CNI interface for use in Perl. This library is needed to call natively compiled (by way of GCJ) Java classes from Perl. This can be used to write Perl modules in Java instead of the customary C or C++.Requirements:· Perl Requirements: · Perl


GCJ::Cni Related Software