Intellij - How do you export to a JAR file?

Status
This thread has been locked.

Lil Skies

Crypto/ Altcoin Trader
Banned
Feedback score
4
Posts
193
Reactions
75
Resources
0
Could someone please explain to me how to export my Project (AntiCurse) into a .jar file that I can run on my test server?

I am new to coding and it was easy to do on Eclipse but I cant seem to get it right on Intellij.

I get this error: "Erros:java: invalid source release: 9". What does it mean?

-Gazz
 
Last edited:
PebbleHost
High performance, consistent uptime and fast support. Minecraft hosting that just works.

808sFinest

Premium
Feedback score
0
Posts
14
Reactions
0
Resources
0
1. Go to file > Project Structure > Artifacts > +(Button) > Jar > From modules with dependencies... > OK >
> You can change output directory(ex. to your plugins folder) if you want > OK
2. Build > Build Artifacts... > Build
 

Azoro

Feedback score
2
Posts
66
Reactions
32
Resources
0
Go to artifacts, double click the compile output
Then click the green +, select file. Go into your projects folder and select the config.yml and plugin.yml
Make sure you check "Include in project build"
 

Lil Skies

Crypto/ Altcoin Trader
Banned
Feedback score
4
Posts
193
Reactions
75
Resources
0
I have tried that but I get this error: "Erros:java: invalid source release: 9". What does it mean?
 
Banned forever. Reason: Attempted Scamming (https://builtbybit.com/threads/g-a-z-z-scam-report.288405/)

Lil Skies

Crypto/ Altcoin Trader
Banned
Feedback score
4
Posts
193
Reactions
75
Resources
0
Still not working. It just creates a folder with META-INF in it.
 
Banned forever. Reason: Attempted Scamming (https://builtbybit.com/threads/g-a-z-z-scam-report.288405/)

Bladian

Feedback score
0
Posts
5
Reactions
1
Resources
0
Unfortunately I'd recommend a Youtube video for now (I hate them).

Try PogoStick29Dev: IntelliJ
 
Status
This thread has been locked.
Top