{"id":20783351,"url":"https://github.com/james-flynn-ie/projecteulerjava","last_synced_at":"2025-10-07T20:08:45.044Z","repository":{"id":189804181,"uuid":"100185951","full_name":"james-flynn-ie/projectEulerJava","owner":"james-flynn-ie","description":"Project Euler Java Solutions","archived":false,"fork":false,"pushed_at":"2019-08-09T17:38:41.000Z","size":98,"stargazers_count":0,"open_issues_count":2,"forks_count":1,"subscribers_count":0,"default_branch":"develop","last_synced_at":"2025-03-11T23:13:36.704Z","etag":null,"topics":["euler","euler-exercises","euler-project","euler-puzzles-answered","euler-solutions","eulerproject","java","java-8","java-application","java8"],"latest_commit_sha":null,"homepage":"https://james-flynn-ie.github.io/projectEulerJava/","language":"Java","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/james-flynn-ie.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":"CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null}},"created_at":"2017-08-13T15:25:53.000Z","updated_at":"2019-08-09T17:38:43.000Z","dependencies_parsed_at":"2023-08-21T21:02:18.945Z","dependency_job_id":null,"html_url":"https://github.com/james-flynn-ie/projectEulerJava","commit_stats":null,"previous_names":["james-flynn-ie/projecteulerjava"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/james-flynn-ie/projectEulerJava","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/james-flynn-ie%2FprojectEulerJava","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/james-flynn-ie%2FprojectEulerJava/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/james-flynn-ie%2FprojectEulerJava/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/james-flynn-ie%2FprojectEulerJava/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/james-flynn-ie","download_url":"https://codeload.github.com/james-flynn-ie/projectEulerJava/tar.gz/refs/heads/develop","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/james-flynn-ie%2FprojectEulerJava/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":278838434,"owners_count":26054720,"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","status":"online","status_checked_at":"2025-10-07T02:00:06.786Z","response_time":59,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":["euler","euler-exercises","euler-project","euler-puzzles-answered","euler-solutions","eulerproject","java","java-8","java-application","java8"],"created_at":"2024-11-17T14:18:23.666Z","updated_at":"2025-10-07T20:08:45.026Z","avatar_url":"https://github.com/james-flynn-ie.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"---\ntitle: James Flynn's ProjectEulerJava GitHub Pages\ndescription: GitHub Page showcasing Project Euler Solutions written in Java by DevOps Engineer, James Flynn.\nlogo: images/james_pic.png\nsocial:\n  name: James Flynn\n  links:\n    - https://ie.linkedin.com/in/jamesflynnie\n    - https://github.com/james-flynn-ie/projectEulerGo\nlang: en_IE\n---\n\n# projectEulerJava\n\n[Back to james-flynn-io.github.io](https://james-flynn-ie.github.io/)\n\n[![CircleCI](https://circleci.com/gh/james-flynn-ie/projectEulerJava.svg?style=svg)](https://circleci.com/gh/james-flynn-ie/projectEulerJava) [![codebeat badge](https://codebeat.co/badges/93b68aa4-21f6-494d-979d-feda6f8ff5a4)](https://codebeat.co/projects/github-com-james-flynn-ie-projecteulerjava-master)\n\n## What is Project Euler?\n\n`Project Euler is a series of challenging mathematical/computer programming problems that will require more than just mathematical insights to solve. Although mathematics will help you arrive at elegant and efficient methods, the use of a computer and programming skills will be required to solve most problems.`\n\n_\u003chttps://projecteuler.net/about\u003e_\n\nThe purpose of this repository is to share solutions to the [problems](https://projecteuler.net/archives), and to help each other improve as programmers by sharing solutions and suggesting ways to improve the code.\n\nFeel free to [contribute](https://james-flynn-ie.github.io/projectEulerJava/CONTRIBUTING.html)!\n\n## Installing Java\n\n* **Download and install Java Development Kit from the [Oracle website](https://www.oracle.com/technetwork/java/javase/downloads/index.html).**\n\n* **Configure Java environment variables on your OS.** These guides are useful for configuring environment variables on [Windows](https://javatutorial.net/set-java-home-windows-10) and on [Linux](https://stackoverflow.com/questions/24641536/how-to-set-java-home-in-linux-for-all-users).\n\n* **Launch the command line and verify that Java is installed correctly:**\n\n```java\njava -version\n```\n\nYou should see output stating the Java version installed. If you see an error, check that the JDK installed correctly and that the Java path was added to the environment variables correctly.\n\n* **git clone the repository** (see [\"Cloning an Existing Repository\"](https://git-scm.com/book/en/v2/Git-Basics-Getting-a-Git-Repository))  \n\n* **Open the Command Line Interface and then navigate into the folder containing the problem you wish to run.** For example, if you cloned into the folder C:\\repos\\projectEulerJava, then type:\n\n```bash\ncd C:\\repos\\projectEulerJava\\\n```\n\n## Compiling the Java Application\n\nIn order to run the Java source code files on your machine (the *.java files in the repository), we need to convert it from the human-readable text to the language which the Java Virtual Machine (JVM) understands, which is bytecode. This is known as compilation, and results in a *.class file being outputted with the same name as the .java file that was inputted.\n\n* **To compile the Java application, execute the following command from within the git repository's parent directory:**\n\n```java\njavac p1MultiplesOf3And5/Problem1.java\n```\n\nThis will compile the application for the Java Virtual Machine, and create the file Problem1.class\n\n## Run the Java Application\n\n* **Run the Java application by executing the following command in the problem folder:**\n\n```java\njava p1MultiplesOf3And5.Problem1\n```\n\nYou may notice that we need to add the package name in front of the class name when executing, `p1MultiplesOf3And5.Problem1`. Think of this as like adding the full mailing address of the class, so that the JVM can find it easily.\n\nThis command will cause the JVM to interpret the bytecode within the *.class file into commands which are understood by your OS and version of Java, and then run the program.\n\n## **Have Fun!**\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjames-flynn-ie%2Fprojecteulerjava","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjames-flynn-ie%2Fprojecteulerjava","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjames-flynn-ie%2Fprojecteulerjava/lists"}