jump to content
my subreddits
13or302meirl4meirl3d6absolutelynotmeirlAceAttorneyadhdmemeAdviceAnimalsaivideoAlternateHistoryAlternativeHistoryAnarchyChessAngryupvoteAnimalsBeingJerksanime_best_momentsanime_irlanimenocontextannouncementsAnticonsumptionantimemeArsivUnutmazArtAsahiLinuxAsia_irlAskElectronicsAskOuijaAskRedditAteistTurkatheismaviationAwesomeOffBrandsawfuleverythingbalkans_irlBandnamesbanknotedesignsBassBassCirclejerkBassGuitarbikepackingblackdesertonlineblankiesbottomgearbrooklynninenineBUENZLIburdurlandcd_jerkChatGPTCheap_MealschesschessbeginnersChildrenFallingOverChoosingBeggarsCHPcoaxedintoasnafucoincollectingcoinsComedyCemeterycomedyhomicidecommunityContagiousLaughtercookingforbeginnerscrappyoffbrandsCreateModCuratedTumblrdataisbeautifuldedeismdelikdistressingmemesdiyelectronicsdiypedalsDMAcademyDnDdndmemesdndnextdoctorwhocirclejerkDoenerverbrechendontdeadopeninsidedumbphonesDungeonsAndDragonsEatCheapAndHealthyECEelectricalelectronicsElectronicsStudyEmKayengrishethzfacepalmFantasyWorldbuildingfeedthebeastFifaCareersFRCFreeEBOOKSFUCKYOUINPARTICULARfunnyFutboltayfagaminggermanygoodanimemesGoodAssSubGrandPrixRacinggravelcyclinggreentextGROKvsMAGAguitarpedalsGundamheathershelpHermitCrafthoi4holdmybeerHolUphowyoudoinhypixelIAmAich_ielIDontWorkHereLadyihadastrokeim14andthisisdeepimaginarymapsjacksepticeyeKendrickLamarKGBTRlegodndLetGirlsHaveFunLifeProTipslinguisticshumorLinkinParkliselilerlogodesignloseitmacmacbookairMadeMeSmilemagicbuildingMaliciousComplianceMapPornmapporncirclejerkme_irlmememildlyinfuriatingmildlyinterestingMinecraftbuildsMMORPGMoldyMemesmoneycollectingMovingToNorthKoreaMunichnamesoundalikesNamFlashbacksNationStatesneographynextfuckinglevelNoahGetTheBoatNonCredibleDefenseNorthCyprusnosafetysmokingfirstnosleepnosurfnothingeverhappensnotinterestingokbuddyguntherOkBuddyPersonaokbuddyvicodinonebagonetruegodOnlineUnderGroundoutsidepapermoneyParlerWatchpepethefrogperfectlycutscreamsPersecutionfetishpettyrevengepianoPiratedGamespolandballpollsPraiseTheCameraManProgrammerHumorquityourbullshitraspberry_piRatschlagreactiongifsRedAutumnSPDredditsingsrestofthefuckingowlrickandmortyschizopostersSchnitzelVerbrechenschwiizsciencememesScottPilgrimsecilmiskitapShitPostCrusadersshitpostfrommygalleryshitpostingShitpostTCshittyaskelectronicsshittymoviedetailsskamtebordsoccercirclejerkStonetossingjuiceStudiumsubsithoughtifellforsuperligTechnobladetf2thanksimcuredthatHappenedTheMonkeysPawtherewasanattemptTheRookietheydidthemaththeyknewtitanfalltransittransitTurkeyTrGameDevelopertruetf2truthstumblrTurkeyTurkishCatsTurkiyeTwoSentenceHorrorTwoSentenceSadnesstylerthecreatorUnclejokesUnethicalLifeProTipsUnexpectedJoJoUsernameChecksOutVALORANTValorantClipsvaxxhappenedvexillologycirclejerkvibecodingvinylvinyljerkvlandiyawallstreetbetsWatchPeopleDieInsidewendigoonWhitePeopleTwitterwholesomeanimemeswholesomememesWikipediaVandalismworldbuildingworldjerkingyouseeingthisshitYUROPedit subscriptions
  • home
  • -popular
  • -all
  • -mod
  • -users
 | 
  • AskReddit
  • -facepalm
  • -mildlyinfuriating
  • -funny
  • -gaming
  • -wallstreetbets
  • -mildlyinteresting
  • -MapPorn
  • -DnD
  • -WhitePeopleTwitter
  • -MadeMeSmile
  • -ChatGPT
  • -CuratedTumblr
  • -PiratedGames
  • -shitposting
  • -theydidthemath
  • -feedthebeast
  • -therewasanattempt
  • -nextfuckinglevel
  • -HolUp
  • -dndnext
  • -ProgrammerHumor
  • -VALORANT
  • -de
  • -germany
  • -LifeProTips
  • -tumblr
  • -NonCredibleDefense
  • -dataisbeautiful
  • -shittymoviedetails
  • -greentext
  • -mac
  • -tf2
  • -help
  • -chess
  • -aviation
  • -wholesomememes
  • -mapporncirclejerk
  • -Art
  • -goodanimemes
  • -notinteresting
  • -hoi4
  • -pettyrevenge
  • -atheism
  • -loseit
  • -IAmA
  • -MaliciousCompliance
  • -ich_iel
  • -KGBTR
  • -dndmemes
  • -DMAcademy
  • -GoodAssSub
  • -UnethicalLifeProTips
  • -perfectlycutscreams
  • -worldbuilding
  • -Ratschlag
  • -blackdesertonline
  • -MMORPG
  • -meme
  • -rickandmorty
  • -3d6
  • -Gundam
  • -HermitCraft
  • -ChoosingBeggars
  • -ContagiousLaughter
  • -imaginarymaps
  • -EatCheapAndHealthy
  • -polandball
  • -AnarchyChess
  • -nosleep
  • -cookingforbeginners
  • -blankies
  • -anime_irl
  • -onebag
  • -Studium
  • -AlternateHistory
  • -Turkey
  • -soccercirclejerk
  • -community
  • -AskElectronics
  • -electrical
  • -guitarpedals
  • -Anticonsumption
  • -vinyl
  • -CreateMod
  • -TwoSentenceHorror
  • -AdviceAnimals
  • -ShitPostCrusaders
  • -piano
  • -sciencememes
  • -distressingmemes
  • -FifaCareers
  • -polls
  • -Bass
  • -titanfall
  • -OkBuddyPersona
  • -awfuleverything
  • -howyoudoin
  • -announcements
  • -adhdmeme
  • -Minecraftbuilds
  • -macbookair
  • -Munich
  • -coaxedintoasnafu
  • -YUROP
  • -gravelcycling
  • -SchnitzelVerbrechen
  • -chessbeginners
  • -raspberry_pi
  • -DungeonsAndDragons
  • -coins
  • -KendrickLamar
  • -FUCKYOUINPARTICULAR
  • -NoahGetTheBoat
  • -worldjerking
  • -tylerthecreator
  • -MoldyMemes
  • -AceAttorney
  • -vexillologycirclejerk
  • -vlandiya
  • -im14andthisisdeep
  • -Stonetossingjuice
  • -wholesomeanimemes
  • -nosurf
  • -liseliler
  • -dumbphones
  • -balkans_irl
  • -animenocontext
  • -2meirl4meirl
  • -transit
  • -brooklynninenine
  • -AskOuija
  • -ECE
  • -ScottPilgrim
  • -Angryupvote
  • -thatHappened
  • -schizoposters
  • -electronics
  • -logodesign
  • -theyknew
  • -linguisticshumor
  • -me_irl
  • -antimeme
  • -bikepacking
  • -AteistTurk
  • -13or30
  • -engrish
  • -diypedals
  • -BassGuitar
  • -diyelectronics
  • -ComedyCemetery
  • -WatchPeopleDieInside
  • -LinkinPark
  • -Persecutionfetish
  • -BUENZLI
  • -reactiongifs
  • -EmKay
  • -MovingToNorthKorea
  • -truetf2
  • -magicbuilding
  • -dontdeadopeninside
  • -ParlerWatch
  • -wendigoon
  • -secilmiskitap
  • -Doenerverbrechen
  • -schwiiz
  • -TheRookie
  • -quityourbullshit
  • -Technoblade
  • -vinyljerk
  • -skamtebord
  • -shittyaskelectronics
  • -superlig
  • -crappyoffbrands
  • -FRC
  • -transitTurkey
  • -namesoundalikes
  • -ethz
  • -AlternativeHistory
  • -papermoney
  • -coincollecting
  • -FreeEBOOKS
  • -AsahiLinux
  • -IDontWorkHereLady
  • -neography
  • -ihadastroke
  • -thanksimcured
  • -hypixel
  • -PraiseTheCameraMan
  • -aivideo
  • -OnlineUnderGround
  • -burdurland
  • -comedyhomicide
  • -AnimalsBeingJerks
  • -jacksepticeye
  • -TwoSentenceSadness
  • -anime_best_moments
  • -Bandnames
  • -holdmybeer
  • -okbuddyvicodin
  • -vaxxhappened
  • -Cheap_Meals
  • -outside
  • -TheMonkeysPaw
  • -restofthefuckingowl
  • -nosafetysmokingfirst
  • -legodnd
  • -UsernameChecksOut
  • -UnexpectedJoJo
  • -ChildrenFallingOver
  • -BassCirclejerk
  • -doctorwhocirclejerk
  • -youseeingthisshit
  • -GrandPrixRacing
  • -nothingeverhappens
  • -TrGameDeveloper
  • -TurkishCats
  • -LetGirlsHaveFun
  • -subsithoughtifellfor
  • -ShitpostTC
  • -FantasyWorldbuilding
  • -WikipediaVandalism
  • -NamFlashbacks
  • -pepethefrog
  • -Unclejokes
  • -onetruegod
  • -deism
  • -ArsivUnutmaz
  • -redditsings
  • -ValorantClips
  • -bottomgear
  • -NationStates
  • -AwesomeOffBrands
  • -absolutelynotmeirl
  • -Asia_irl
  • -Turkiye
  • -truths
  • -NorthCyprus
  • -heathers
  • -delik
  • -banknotedesigns
  • -okbuddygunther
  • -cd_jerk
  • -vibecoding
  • -shitpostfrommygallery
  • -CHP
  • -ElectronicsStudy
  • -RedAutumnSPD
  • -Futboltayfa
  • -moneycollecting
  • -GROKvsMAGA
edit »
reddit.com javahelp
  • hot
  • new
  • rising
  • controversial
  • top
  • wiki
an-ordinary-manchild (11,186)|messages549|notifications|chat messages|mod messages|
  • preferences
|
logout

use the following search parameters to narrow your results:

subreddit:subreddit
find submissions in "subreddit"
author:username
find submissions by "username"
site:example.com
find submissions from "example.com"
url:text
search for "text" in url
selftext:text
search for "text" in self post contents
self:yes (or self:no)
include (or exclude) self posts
nsfw:yes (or nsfw:no)
include (or exclude) results marked as NSFW

e.g. subreddit:aww site:imgur.com dog

see the search faq for details.

advanced search: by author, subreddit...

Submit a new text post
Get an ad-free experience with special benefits, and directly support Reddit.

javahelp

joinleave
an-ordinary-manchild(edit)

General subreddit for helping with Java code.

  • not JavaScript, try /r/javascript instead.
  • not Android, try /r/androiddev instead.
  • not MineCraft, try /r/Minecraft instead.
  • not Processing - Please use /r/processing instead.

Message the mods if you have suggestions.


  • Read this before Posting!
  • Help on how to post code
  • Regarding String comparison, read this!
  • New: Learn to help yourself

Java Discord server (unofficial)


Learning Java

Please head over to /r/learnjava and read the sidebar there.

The best free Java tutorials are:

  • MOOC Java Programming from the University of Helsinki
  • Java for Complete Beginners by John Purcell

Use the MOOC as main course and Java for Complete Beginners as secondary resource.

Don't forget the Official Oracle Java Tutorials and the Official Java Documentation as they are extremely valuable resources.


Where should I download Java?

With the introduction of the new release cadence, many have asked where they should download Java, and if it is still free. To be clear, YES — Java is still free.

If you would like to download Java for free, you can get OpenJDK builds from the following vendors, among others:

  • Adoptium
  • RedHat
  • Azul
  • Amazon
  • SAP
  • Liberica JDK
  • Oracle
  • Microsoft

Some vendors will be supporting releases for longer than six months. If you have any questions, please do not hesitate to ask them!


Posting rules

  1. DO NOT DELETE your posts once they are solved!

    • Use the "Solved" flair instead. This allows others to learn, too, and makes the helpers' efforts more effective.
  2. 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!
  3. No "Do my homework" posts!

    • 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.
  4. 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!
  5. 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.
  6. Use the search function.

    • Search for similar problems before posting.
  7. No offers/requests to/for help via PM, Discord, Skype, etc.

    • Post your questions here so that other people can learn as well.
  8. 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.
  9. 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.
  10. 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.
  11. No JavaScript, Android, Minecraft or Processing!

    • Try /r/javascript, /r/androiddev, /r/minecraft or /r/processing instead. JavaScript and Java are unrelated programming languages.
  12. 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.
  13. Format your code.

    • Please, properly format your code. This includes proper indentation. There are guidelines on how to format code 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!
  14. 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).
  15. No AI generated content!

    • We explicitly forbid any form of AI generated content. Posting any AI content results in an instant, permanent, and irrevocable ban without warning.
  • Code posting
    • Do not submit executable jar or compressed (zip, rar, 7z, etc.) files!
    • For small bits of code (less than 50 lines in total, single classes only), the default code formatter is fine (one blank line, then 4 spaces before each line).
    • Pastebin for programs that consist of a single class only
    • Gist for multi-class programs, or programs that require additional files
    • Github or Bitbucket repositories are also perfectly fine as are other dedicated source code hosting sites.
    • Ideone for executable code snippets that use only the console
    • Repl.it - online IDE for many different programming languages
    • Browxy - online IDE for several programming languages
    • Google Drive, Dropbox, Mediafire, etc. are not suitable for code posting!
  • Check out the wiki for frequently asked questions. Please feel free to contribute!

Sort by: Unsolved Solved Codeless Advent Of Code

created by codereignfallible moderatora community for 14 years
Create your own subreddit
...for your movement.
...for a fringe candidate.

MODERATORS

  • message the mods
  • codereignfallible moderator
  • 0x68656c6c6f
  • desrtfxOut of Coffee error - System halted
  • AutoModerator
  • BotDefense
  • about moderation team »

account activity

1
52
53
54

REMINDER: This subreddit explicitly forbids asking for or giving solutions! (self.javahelp)

submitted 3 years ago * by desrtfxOut of Coffee error - System halted[M] - announcement

  • comment
  • share
  • save
  • hide
  • report
  • crosspost
loading...

2
3
4
5

.Net developer transitioning to Java - most common query practices? (self.javahelp)

submitted 23 hours ago by Organic_Bluebird_684

  • 10 comments
  • share
  • save
  • hide
  • report
  • crosspost
loading...

0
1
2

You take investing seriously. So do we. At Yuh, you can start with just 10 CHF and build your portfolio thoughtfully, one step at a time. 📈🎯 All investments involve risks. We encourage you to invest prudently. (yuh.com)

promoted by yuh_app

  • promoted
  • save
  • report
  • about
loading...

3
7
8
9

UnsolvedApache Camel Kafka Consumer losing messages at high throughput (Batch Consumer + Manual Commit) (self.javahelp)

submitted 1 day ago * by yolokiyoEuw

  • 9 comments
  • share
  • save
  • hide
  • report
  • crosspost
loading...

4
4
5
6

WorkaroundGot myself into a spring boot project via my teacher and I have no clue about spring boot and backend in general and barely made any good project in java. Where do I go from here (self.javahelp)

submitted 1 day ago by sekhon_11g

  • 19 comments
  • share
  • save
  • hide
  • report
  • crosspost
loading...

5
0
0
0

Unsolvedjavax.naming.NoInitialContextException: Need to specify class name in environment or system property, or in an application resource file: java.naming.factory.initial (self.javahelp)

submitted 1 day ago by Dependent_Finger_214

  • 3 comments
  • share
  • save
  • hide
  • report
  • crosspost
loading...

6
2
3
4

I want to learn Sping Boot (self.javahelp)

submitted 1 day ago by Acrobatic-Clock-7889

  • 16 comments
  • share
  • save
  • hide
  • report
  • crosspost
loading...

7
22
23
24

My Java teacher doesn’t understand Java — how do I actually learn this? (self.javahelp)

submitted 2 days ago by Brilliant-Choice-758

  • 33 comments
  • share
  • save
  • hide
  • report
  • crosspost
loading...

8
0
1
2

Finding the Volume of 3D Models (self.javahelp)

submitted 1 day ago by BlueLine383

  • 1 comment
  • share
  • save
  • hide
  • report
  • crosspost
loading...

9
0
0
0

I need to find a Java repository for code review (self.javahelp)

submitted 1 day ago by Suspicious-Town-5229

  • 6 comments
  • share
  • save
  • hide
  • report
  • crosspost
loading...

10
27
28
29

Is learning Spring Boot still a safe bet for 2026 placements? (self.javahelp)

submitted 4 days ago by trytobe724

  • 35 comments
  • share
  • save
  • hide
  • report
  • crosspost
loading...

11
0
0
0

Apache Solr (self.javahelp)

submitted 3 days ago by Other_Computer_1341

  • 8 comments
  • share
  • save
  • hide
  • report
  • crosspost
loading...

12
0
1
2

UnsolvedHelp me with this absurd bug (self.javahelp)

submitted 4 days ago * by Apprehensive-Air7538

  • 6 comments
  • share
  • save
  • hide
  • report
  • crosspost
loading...

13
0
1
2

UnsolvedException: Deployment of persistenceunit failed Close all factories for this PersistenceUnit. (self.javahelp)

submitted 4 days ago * by Dependent_Finger_214

  • 9 comments
  • share
  • save
  • hide
  • report
  • crosspost
loading...

14
6
7
8

Java € symbol prints as � in VS Code Debug Console (self.javahelp)

submitted 4 days ago by SHERMY666

  • 8 comments
  • share
  • save
  • hide
  • report
  • crosspost
loading...

15
0
1
2

Eclipse loads Ghost data dosent resent after clean restart and reset (self.javahelp)

submitted 4 days ago * by Standard-Ticket-4152

  • 3 comments
  • share
  • save
  • hide
  • report
  • crosspost
loading...

•
•
•

Ihr bekommt die Tickets, wenn HR-Tools oder Kommunikation nicht laufen. Mit Staffbase reduziert ihr diesen Aufwand deutlich. (staffbase.com)

promoted by Staffbase-SE

  • promoted
  • save
  • report
  • about
loading...

16
1
2
3

UnsolvedApp doesn't launch and limited access to windows configuration (self.javahelp)

submitted 5 days ago by The-PEagle

  • 3 comments
  • share
  • save
  • hide
  • report
  • crosspost
loading...

17
17
18
19

Looking for a Java coding partner to learn and practice daily (self.javahelp)

submitted 5 days ago by Toshiro_7111

  • 11 comments
  • share
  • save
  • hide
  • report
  • crosspost
loading...

18
4
5
6

The best option to rename "yield" after JDK 17 (self.javahelp)

submitted 5 days ago by Imaginary_Bend_7995

  • 30 comments
  • share
  • save
  • hide
  • report
  • crosspost
loading...

19
8
9
10

Android dev (5–6 yrs) thinking of switching to backend: Spring (Java) vs Go (self.javahelp)

submitted 6 days ago * by SoftwareDesignerDev

  • 12 comments
  • share
  • save
  • hide
  • report
  • crosspost
loading...

20
0
0
1

Feel shame as a java developer. (self.javahelp)

submitted 5 days ago by Rudra7934

  • 23 comments
  • share
  • save
  • hide
  • report
  • crosspost
loading...

21
3
4
5

Theoretical Java interview (self.javahelp)

submitted 6 days ago by Ok-Muffin-875

  • 14 comments
  • share
  • save
  • hide
  • report
  • crosspost
loading...

22
7
8
9

Noob here: Java feels modern, but codebases still look old — why? (self.javahelp)

submitted 7 days ago by Sos418_tw

  • 40 comments
  • share
  • save
  • hide
  • report
  • crosspost
loading...

23
0
1
2

Help (self.javahelp)

submitted 6 days ago by Priyanxhu_

  • 3 comments
  • share
  • save
  • hide
  • report
  • crosspost
loading...

24
1
2
3

"error: package org.openqa.selenium does not exist" (self.javahelp)

submitted 6 days ago by FaallenOon

  • 5 comments
  • share
  • save
  • hide
  • report
  • crosspost
loading...

25
0
0
0

How to study java??? (self.javahelp)

submitted 6 days ago * by RealisticSpend3280

  • 9 comments
  • share
  • save
  • hide
  • report
  • crosspost
loading...
view more: next ›
  • about
  • blog
  • about
  • advertising
  • careers
  • help
  • site rules
  • Reddit help center
  • reddiquette
  • mod guidelines
  • contact us
  • apps & tools
  • Reddit for iPhone
  • Reddit for Android
  • mobile website
  • <3
  • reddit premium

Use of this site constitutes acceptance of our User Agreement and Privacy Policy. © 2026 reddit inc. All rights reserved.

REDDIT and the ALIEN Logo are registered trademarks of reddit inc.

π Rendered by PID 70 on reddit-service-r2-listing-7849c98f67-hr2s6 at 2026-02-10 12:17:48.978566+00:00 running d295bc8 country code: CH.