{"id":13546652,"url":"https://github.com/albertlatacz/java-repl","last_synced_at":"2025-05-16T05:05:56.080Z","repository":{"id":7547269,"uuid":"8900007","full_name":"albertlatacz/java-repl","owner":"albertlatacz","description":"Read Eval Print Loop for Java","archived":false,"fork":false,"pushed_at":"2018-08-04T20:12:49.000Z","size":77311,"stargazers_count":1333,"open_issues_count":25,"forks_count":188,"subscribers_count":57,"default_branch":"master","last_synced_at":"2025-04-08T15:07:33.286Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Java","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/albertlatacz.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2013-03-20T09:00:52.000Z","updated_at":"2025-01-30T16:49:50.000Z","dependencies_parsed_at":"2022-08-06T20:15:10.509Z","dependency_job_id":null,"html_url":"https://github.com/albertlatacz/java-repl","commit_stats":null,"previous_names":[],"tags_count":74,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/albertlatacz%2Fjava-repl","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/albertlatacz%2Fjava-repl/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/albertlatacz%2Fjava-repl/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/albertlatacz%2Fjava-repl/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/albertlatacz","download_url":"https://codeload.github.com/albertlatacz/java-repl/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":254471061,"owners_count":22076585,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-08-01T12:00:42.133Z","updated_at":"2025-05-16T05:05:51.051Z","avatar_url":"https://github.com/albertlatacz.png","language":"Java","readme":"# Java REPL\n\n### NOT MAINTAINED: Since Java is now released with [REPL](https://docs.oracle.com/javase/10/jshell/introduction-jshell.htm) this project will no longer be maintained.\n\n[![Travis](https://img.shields.io/travis/albertlatacz/java-repl.svg)](https://travis-ci.org/albertlatacz/java-repl)\n[![GitHub](https://img.shields.io/github/release/albertlatacz/java-repl.svg)](https://github.com/albertlatacz/java-repl/releases/latest)\n[![Docker Pulls](https://img.shields.io/docker/pulls/albertlatacz/java-repl.svg)](https://hub.docker.com/r/albertlatacz/java-repl/)\n\n\n \n\n\nJava REPL is a simple Read-Eval-Print-Loop for Java language.\n\n* Support for most of Java language constructs\n* Access from console as well as web terminal via browser\n* Create imports, methods, classes, enums and interfaces\n* Load classes from any jar file or directory (including web urls)\n* Load and evaluate expression from file\n* List previous results, imports, created types and methods\n* Show history of evaluations\n* Search and evaluate expression from history\n* Clear and replay previous evaluations\n* Load and evaluate any Java source file\n* Basic code completion for results, classes and methods\n* Coloured output for console and web terminal\n\n\n\n## Build\nBuilding Java REPL requires the [gradle](https://gradle.org/).\n\nAfter cloning the git repository, navigate over to it and run:\n\n```\n$ gradle shadowJar\n```\n\nAfter this completes, the jar completed with bundled dependencies will be located at **build/libs/javarepl-dev.jar**\n\nType the following to run\n\n```\n$ java -jar build/libs/javarepl-dev.jar\n```\n\n## Releases\n\nReleases are automatically released to [![Maven Central](https://img.shields.io/maven-central/v/com.javarepl/javarepl.svg)](http://repo1.maven.org/maven2). Configure repository and then add Java REPL as dependency:\n\n```xml\n\u003cdependencies\u003e\n    \u003cdependency\u003e\n        \u003cgroupId\u003ecom.javarepl\u003c/groupId\u003e\n        \u003cartifactId\u003ejavarepl\u003c/artifactId\u003e\n        \u003cversion\u003eSOME_VERSION\u003c/version\u003e\n    \u003c/dependency\u003e\n\u003c/dependencies\u003e\n```\n\n## Usage\nTo run Java REPL you need to install **Java Development Kit (JDK)**. Download it from [here](http://www.oracle.com/technetwork/java/javase/downloads/index.html) and follow install instructions. Once JDK is installed and configured, download latest Java REPL release from [GitHub](https://github.com/albertlatacz/java-repl/releases/latest) or [Bintray](https://bintray.com/albertlatacz/maven/java-repl/_latestVersion) then run:\n\n\n```\n$ java -jar javarepl-SOME_VERSION.jar\n```\n\nIf this doesn't work try to run pointing directly to *java* executable within JDK, like so\n\n\n```\n$ \u003cPATH_TO_JDK\u003e/bin/java -jar javarepl-SOME_VERSION.jar\n```\n\n\n## License\n\nDistributed under the [Apache 2.0](http://www.apache.org/licenses/LICENSE-2.0)\n","funding_links":[],"categories":["Java","VI. Program languages and applications that were written with Java","Tools"],"sub_categories":["5. Opensource applications that were written with Java","Command line"],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Falbertlatacz%2Fjava-repl","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Falbertlatacz%2Fjava-repl","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Falbertlatacz%2Fjava-repl/lists"}