Code Monkey home page Code Monkey logo

Comments (3)

SimonBaars avatar SimonBaars commented on June 12, 2024

Hello!

My project is indeed configured as a Maven project, so you can open it in IntelliJ as a Maven project (just go to File -> Open and select the project). IntelliJ will automatically recognize that it's a Maven project and import it correctly. I use some pretty recent Java features so you will need to have Java 13 installed. Then, go to the Project settings in IntelliJ (Project tab) and set the Project SDK to 13 and the Project language level to 13 (Preview). After that, you should be able to run the Main class to run all days.

If anything doesn't work out, please drop me a message. :-)

from adventofcode-java.

rkk1995 avatar rkk1995 commented on June 12, 2024

I see. I want to do all the questions for myself though. I was just curious how to properly setup the environment in IntelliJ. So I should instal Maven plugin and create a new Maven project? Should I have 1 src folder with every Day[i].java file immediatley in that directory? Thanks again, getting used to java from python is tough 😢

Can I do the questions with OpenJDK or should I switch to 11?

from adventofcode-java.

SimonBaars avatar SimonBaars commented on June 12, 2024

Hey, then any version is right indeed. Select File -> New -> Maven and check the Create from archetype box, and then select org.apache.maven.archetypes:maven-archetype-quickstart. That will generate a whole project for you with a conventional folder structure and everything. Then you just create your java files in the src/main/java folder.

from adventofcode-java.

Related Issues (3)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.