社区目录 / r/javahelp

原榜第 5,409 名

r/javahelp

Java help/tutorials/questions

General subreddit for helping with **Java** code.

访问 Reddit 社区最近采集 2026-11-30创建于 2011-10-30公开社区

社区指标

成员数111,240
每周访客11,182
每周贡献量86
近 30 天发帖数15
日均发帖0.5
官方规则15

周指标更新于 2026-11-30。贡献量包括发帖和评论。≥ 表示公开帖子分页只覆盖部分时间范围,— 表示暂无数据。

官方规则 15

01Do not delete posts.
Do not delete posts.

Once your posts are solved, use the *"Solved"* flair. Keeping the posts allows others to learn, too, and makes the helpers' efforts more effective.

中文翻译待补
02No illegal/pirated content!
No illegal/pirated content!

Anybody asking for or posting links to or suggesting to search for illegal/pirated content will be permanently banned without further warning!

中文翻译待补
03No "Do my homework" posts. What have you tried?
No "Do my homework" posts. What have you tried?

Do not ask for complete solutions. We are here to help but not to /r/domyhomework. You do the work, and we help you. So - what have you tried? For complete solutions, use a search engine instead. stackoverflow.com has a rich library of complete Java answers.

中文翻译待补
04Describe the problem and what you want to achieve.
Describe the problem and what you want to achieve.

You get better tips if the readers know what you ultimately want to achieve, tips *you didn't expect*. And in regards to describing your problem: "..., but it doesn't work." is insufficient! Do not expect people to put your code into their IDEs just to find out how the problem expresses itself. If applicable, **include the full error message or exception text!**

中文翻译待补
05Do not ask for or reply with solutions or keys to solutions
Do not ask for or reply with solutions or keys to solutions

Rather comment **explanations** and **guides**. Comments with solutions will be removed and commenters will automatically be banned for a week.

中文翻译待补
06Use the search function.
Use the search function.

Search for similar problems before posting.

中文翻译待补
07No offers/requests to/for help via PM, Discord, Skype, etc.
No offers/requests to/for help via PM, Discord, Skype, etc.

Post your questions here so that other people can learn as well.

中文翻译待补
08Post titles must be descriptive.
Post titles must be descriptive.

Bad title: "I'm new to Java and need help." Good title: "How can I sort values without loops?" The title should not describe your problem in full - that's what the post body is for. No links in the titles - they are not clickable. Nothing is **"URGENT"**, nor **"ASAP"** - if you have waited too long, this is your problem, not ours. Such posts will be removed without warning.

中文翻译待补
09No promises of rewards of any kind!
No promises of rewards of any kind!

This includes both solicitation of services from those providing help and offers to pay from those requesting help. Any post or comment that mentions payment may be subject to immediate ban from the subreddit.

中文翻译待补
10Don't be a Jerk!
Don't be a Jerk!

Don't insult, threaten, mock or harass other users. Please, maintain proper language. We don't tolerate foul language for any reason. Any violation will result in an immediate thinking period ban of at least 4 days. Second offence will result in a permanent ban.

中文翻译待补
11No JavaScript, Android, Minecraft or Processing!
No JavaScript, Android, Minecraft or Processing!

Try /r/javascript, /r/androiddev, /r/minecraft or /r/processing instead. JavaScript and Java are unrelated programming languages.

中文翻译待补
12No links to your stackoverflow questions
No links to your stackoverflow questions

We are not a second opinion to stackoverflow, nor are you going to get answers here when you didn't get satisfying ones there.

中文翻译待补
13Format your code.
Format your code.

Please, *properly format your code*. This includes proper indentation. There are guidelines on [how to format code](http://www.reddit.com/r/javahelp/wiki/code_guides) in the *sidebar* in both, abridged form directly in the sidebar and in long form in the linked post. For small bits of code (less than 50 lines in total, single classes only), use Reddit directly (one blank line, then 4 spaces before each line). Otherwise: The sidebar has no-login links that even support syntax highlighting!

中文翻译待补
14No screenshots of code!
No screenshots of code!

You *can* add a screenshot of your IDE if it is relevant, but *regarding the code itself*, you *must provide it in text form and properly formatted* (and, please, properly indented).

中文翻译待补
15No AI generated content of any kind!
No AI generated content of any kind!

We do not allow any form of AI generated content, no ChatGPT responses, no other AI. If you, as the person cannot contribute, don't comment. Do not feed OP's question to any AI and post the response. AIs are unreliable and the solutions are often wrong. We do not want to become an echo chamber for AI. Posting AI content results in an instant, permanent, and irrevocable ban without warning and without chance of getting unbanned.

中文翻译待补

社区应用 0

本次读取的安装清单为空。

Bot Bouncer · 未检测到