IntelliJ IDEA 导入Netty

本文介绍如何在Ubuntu系统中使用IntelliJ IDEA配置Netty开发环境。具体步骤包括下载Netty jar包,解压后仅需导入all-in-one文件夹中的两个jar文件即可。通过IDEA进行模块依赖配置。

摘要生成于 C知道 ,由 DeepSeek-R1 满血版支持, 前往体验 >

以前没用过IDEA,因此有些生疏,记录一下:
另外我是在Ubuntu下装的IDEA,仔细想想这种IDE好像用什么系统都没关系。。

1.Netty观望瞎下载他们的jar包,我下载的版本是netty-4.1.11.final
2.下载完之后解压,有个文件夹叫做all-in-one,只用导入里面两个jar就可以了
3.file->project structure->Modules->dependencies->”+”->jars or directory->找到all-in-one目录即可。

参考:
http://zyjustin9.iteye.com/blog/2172445

C:\Users\小姚\.jdks\openjdk-23.0.2\bin\java.exe -Xmx700m -Djava.awt.headless=true "-Djna.boot.library.path=C:\Program Files\JetBrains\IntelliJ IDEA 2024.3.4.1/lib/jna/amd64" -Djna.nosys=true -Djna.noclasspath=true --add-opens jdk.compiler/com.sun.tools.javac.api=ALL-UNNAMED --add-opens jdk.compiler/com.sun.tools.javac.util=ALL-UNNAMED --add-opens jdk.compiler/com.sun.tools.javac.code=ALL-UNNAMED --add-opens jdk.compiler/com.sun.tools.javac.comp=ALL-UNNAMED --add-opens jdk.compiler/com.sun.tools.javac.file=ALL-UNNAMED --add-opens jdk.compiler/com.sun.tools.javac.main=ALL-UNNAMED --add-opens jdk.compiler/com.sun.tools.javac.model=ALL-UNNAMED --add-opens jdk.compiler/com.sun.tools.javac.parser=ALL-UNNAMED --add-opens jdk.compiler/com.sun.tools.javac.processing=ALL-UNNAMED --add-opens jdk.compiler/com.sun.tools.javac.tree=ALL-UNNAMED --add-opens jdk.compiler/com.sun.tools.javac.jvm=ALL-UNNAMED -Dpreload.project.path=C:/Users/小姚/IdeaProjects/untitled2 -Dpreload.config.path=C:/Users/小姚/AppData/Roaming/JetBrains/IntelliJIdea2024.3/options -Dcompile.parallel=true -Drebuild.on.dependency.change=true -Didea.IntToIntBtree.page.size=32768 -Djdt.compiler.useSingleThread=true -Daether.connector.resumeDownloads=false -Dio.netty.initialSeedUniquifier=-5578464900214876872 -Djps.use.dependency.graph=true -Dfile.encoding=UTF-8 -Duser.language=zh -Duser.country=CN -Didea.paths.selector=IntelliJIdea2024.3 "-Djps.language.bundle=C:/Program Files/JetBrains/IntelliJ IDEA 2024.3.4.1/plugins/localization-zh/lib/localization-zh.jar" "-Didea.home.path=C:/Program Files/JetBrains/IntelliJ IDEA 2024.3.4.1" -Didea.config.path=C:/Users/小姚/AppData/Roaming/JetBrains/IntelliJIdea2024.3 -Didea.plugins.path=C:/Users/小姚/AppData/Roaming/JetBrains/IntelliJIdea2024.3/plugins -Djps.log.dir=C:/Users/小姚/AppData/Local/JetBrains/IntelliJIdea2024.3/log/build-log "-Djps.fallback.jdk.home=C:/Program Files/JetBrains/IntelliJ IDEA 2024.3.4.1/jbr" -Djps.fallback.jdk.version=21.0.6 -Dio.netty.noUnsafe=true -Djava.io.tmpd
最新发布
03-20
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值