Comments (3)
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.
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.
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)
- Day21 comment HOT 1
- Day 19 HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from adventofcode-java.