TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Ask HN: How does JetBrains protect their IDE Java source code?

25 pointsby yi_xuan5 months ago
On linux, after I installed goland, I could see a lot of .jar file and .class file inside. I don't know, I can see all of the source code ?

9 comments

nulld3v5 months ago
Nothing. No obfuscation either really. Heavy obfuscation could hurt performance, and light obfuscation can break reflection that might be used by plugins.<p>There isn&#x27;t much value in trying to protect their source code. IDEs are evolving rapidly in response to languages, any decompilation you prepare would be outdated immediately. And nearly all JVM programs can be trivially cracked anyways, even if heavily obfuscated&#x2F;guarded.
IshKebab5 months ago
They probably use an obfuscator. Standard practice for Java which is otherwise relatively easy to decompile.<p>Or they may not bother, because what are you going to do with that source code anyway? You don&#x27;t need it to pirate the IDE, there&#x27;s no secret sauce in there, and you obviously can&#x27;t use it to make a competitor. There would be very little value in obtaining the code.
thesuperbigfrog5 months ago
.jar files are just specially packaged .zip files for distributing Java programs and libraries.<p>.class files are Java bytecode.<p>What source code files are you seeing?<p>What are the filenames, etc.?<p>JetBrains&#x27;s IDE source code would likely be Kotlin (.kt, .kts file extension) or Java (.java file extension) source code files.
评论 #42490864 未加载
rickette5 months ago
They protect their source code by releasing awesome products that developers happily pay for (I do).
评论 #42497198 未加载
评论 #42494563 未加载
评论 #42492597 未加载
not_your_vase5 months ago
You mean that you have opened the class file, and saw the actual source code? Class file is supposed to be object-code (or whatever java calls that) - which can be decompiled (and sometimes even in a meaningful way), but generally it is not supposed to be the source itself...<p>(I just downloaded goland, and extracted a random jar file, and at least with that, the above paragraph seems to stand)
Tomte5 months ago
Most of it is Open Source and on GitHub, anyway. So you shouldn‘t be surprised to see source code.<p>The Community edition lacks certain features, though.
评论 #42487497 未加载
popoxdev5 months ago
I don&#x27;t think they see this as a problem. If people really want to decompile the code they could. Most of it is open source already and the codebase is very large to make any competing product out of it.
uncomplexity_5 months ago
it&#x27;s a lost cause. the people who want to pirate it will always find a way to circumvent efforts against it. better to spend efforts for people who pay than people who dont pay. better features for those who pay, instead of obfuscation for those who cant pay.<p>this is also good for those who cant pay, some of them are students or professionals who just simply dont have the budget yet.
评论 #42495287 未加载
softwaredoug5 months ago
People overvalue source code and undervalue the institutional knowledge it represents.