Skip to content

About

An implementation of the Perl programming language designed to run on the Java platform

Resources

Code of conduct

Contributing

Security policy

Stars

67 stars

Watchers

1 watching

Forks

Latest commit

 

History

11,372 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

PerlOnJava

Perl 5 on the JVM — single jar, batteries included

Build Status Latest release License

PerlOnJava compiles Perl to JVM bytecode. Existing Perl scripts can run on any platform with a JVM, and the runtime includes 150+ bundled modules, a CPAN client, a PSGI web server, and JDBC database access — all in a single jar, with no native dependencies beyond Java 24+.

Compatibility is substantial but not complete. Check the feature matrix and the bundled-module list before relying on a particular language feature or CPAN module. PerlOnJava is an independent project, not part of the Perl core distribution.

Features

Quick Start

Requires: JDK 24 or later (java -version), Git, Make.

git clone https://github.com/fglock/PerlOnJava.git
cd PerlOnJava
make

./jperl -E 'say "Hello World"'
./jperl -MJSON -E 'say encode_json({hello => "world"})'

Full Quick Start Guide — installation options, database setup, Docker.

Documentation

Getting Started Guides Reference
Installation Database Access Feature Matrix
Quick Start Web Server (PSGI) CLI Options
Docker Java Integration Architecture
One-liners Using CPAN Modules Bundled Modules
Module Porting Threads
XS Compatibility
Memory Management
Testing

About: Why PerlOnJava? | Roadmap | Changelog | Support

Project governance: Security | AI Policy | Code of Conduct

Contributing

See CONTRIBUTING.md for build instructions, code organization, and how to submit pull requests.

License

Same terms as Perl 5 — Artistic License or GPL v1+. See LICENSE.md. Copyright (c) 2024–2026 Flavio Glock.

About

An implementation of the Perl programming language designed to run on the Java platform

Resources

Code of conduct

Contributing

Security policy

Stars

67 stars

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages