Reddit » Learn Java
756 FOLLOWERS
This Reddit community is offering a single place to get resources for learning Java. Understand Java documentation, learn SpringBoot with Java, ask for related guidance, or suggestions, find guides on creating online gaming cards, and much more.
Reddit » Learn Java
1w ago
I have a web application that uses Java for the backend. It only runs on Windows PCs. Often, I notice in Task Manager that my web application's JVM uses a maximum amount of CPU and memory, which sometimes causes my PC to become unresponsive. How can I overcome this issue?
I am creating new threads in multiple places but do not have any ThreadPoolExecutors to monitor them. How can I efficiently use ThreadPoolExecutors? For example, if my PC's overall CPU and memory usage is at 50%, my JVM should consume 35%, leaving the remaining 15%. If my PC's overall CPU and memory usage is at 30%, my JVM s ..read more
Reddit » Learn Java
1w ago
Hello, I've decided to improve my java knowledge/skills by building a discord bot.
I was wondering if anyone had any recommendations for which library to use? Currently, I am looking into JDA, Discord4J, and Javacord, and am leaning towards Javacord (seems simple)
Also, I've encountered the topic of "async" and "reactive" programming during my research on discord bots. Anyone have any advice on learning this?
Thank you
PS: I would really love to learn and collaborate with someone on discord bot. If anyone is interested, please message. Any mentors would be so valuable and appreciated as well ..read more
Reddit » Learn Java
1w ago
Hi, new learner here. Is “in”, “out”, “err” a static field in the system class? If so, how are we able to use the print method with them. Don’t we need an object? But I learned system class can not be instantiated. So confused.
submitted by /u/bluefrog92
[visit reddit] [comments ..read more
Reddit » Learn Java
1w ago
I have been using VS Code instead of NetBeans since NetBeans was not working for me.
In Part - 4, Exercise - 23 -> Creating a New File
"Create a file called file.txt in the root folder (the folder containing the folder src and the file pom.xml) of the exercise template using the Files-tab in NetBeans. Edit the file and write the message Hello, world! on the first line of the file."
Firsty, I don't know where the root folder in the VS Code version.
Secondly, I tried creating a file.txt in both the main folder in the src folder & main problem folder. It passed the tests but after submitt ..read more
Reddit » Learn Java
1w ago
Hi, I have to develop a simple textual adventure in Java playable on the cmd for an exam. How can I implement DBMS and multithreading? for the latter I was thinking of a method that implements the creation of random enemies, but for the DBMS I have no idea. I was thinking that they might be useful to save and upload an existing game, but I could also use files. Any suggestions for both DBMS and multithreading?
submitted by /u/Cenz0_0
[visit reddit] [comments ..read more
Reddit » Learn Java
1w ago
I am running into the following issue, I am trying to make an app that takes some input from the user and configures an HTML template with it. The output is the actual HTML file (not a web server).
Currently, my template is full of ${name} and I am using String#replace() to fill out the template, but it feels clunky and makes my look ugly (imagine a text block followed by replace). I have also tried to Jsoup my way around the document with ids and classes but that feels even dirtier.
I am looking for alternative methods to fill out HTML templates in Java, and I don't mind redoing the template ..read more
Reddit » Learn Java
1w ago
What is a good resource to learn about Mockito? I want to do API testing with that framework. Any heads up would be appreciated.
submitted by /u/_Fuzzy_Focus
[visit reddit] [comments ..read more
Reddit » Learn Java
1w ago
How to learn java efficiently?
So i am learning java for like 2 weeks. Now i am start doing some projects like tic tac toe. Haven’t study OOP yet.
I prefer doing projects than learning fundamentals actually. Which is the best way to learn efficiently?
By doing projects and when u struggle then go back and learn fundamentals or research about them. Mostly i just watch some udemy videos and follow along with the instructor in coding.
Or you put some time on learning fundamentals first.
I want to know how long will it take me to become master in java language?
submitted by /u/Teddywiz999
[visit ..read more
Reddit » Learn Java
1w ago
I have been taught to play with linear algebra using Python (numpy) and R. For Java, out of EJML, Jblas, ND4J, Commons Math, LA4J, which is the most versatile and performant? How are they compared to numpy and R?
submitted by /u/donaldtrumpiscute
[visit reddit] [comments ..read more
Reddit » Learn Java
1w ago
I want to learn java quickly, so my approach is finish HFJ book and solve problems on mooc (avoiding theory) is that good ? or any suggestions how to be decent in java so i can build my own java based projects
submitted by /u/Exciting_Opposite493
[visit reddit] [comments ..read more