r/learnjava • u/MetalHead7989 • Oct 09 '25
First Java Project, trying to learn Java
https://github.com/J-a-y-r-a-j/Maintain75
Built an simple attendance tracker for personal, do give the code a look and let me know how i could improve.
r/learnjava • u/MetalHead7989 • Oct 09 '25
https://github.com/J-a-y-r-a-j/Maintain75
Built an simple attendance tracker for personal, do give the code a look and let me know how i could improve.
r/learnjava • u/lanchers • Oct 09 '25
Hello eyerone, I'm here to share my first serious blog post related to Java https://busz.it/spring-jpa-specification-and-pageable-filtering-sorting-pagination/ As you can see it's about using Spring JPA's Specification and Pageable to dynamically filter, sort and paginate results from repo. Previously available articles cover only basic application of Specification without providing generic approach to the matter. That's what I'm trying to accomplish by my blog post. I'll be obliged for any feedback on article, code and idea itself. Thanks in advance
r/learnjava • u/Mediocre_Cold_9304 • Oct 09 '25
Hi i want to learn Java from basic to job ready level.I have about 3-4 years of time to learn.
Provide me some guidance to learn and I'm new in programming.
And what i need to learn
r/learnjava • • Oct 09 '25
So, i recently watched a small documentary about Minecraft, and i got really inspired and ive wanted to try to learn java for a while now, but i dont know where, and i dont know what essentials i need? i wanna make a game using LWJGL, and i know theres better resources right now, but i think it sounds fun.
r/learnjava • u/SHIN_KRISH • Oct 09 '25
okk so this is the code i am using my end goal is to change the colour of text in a pdf in place like not create a new .pdf file below is an image where the colour is changing but text is or rather the font is broken (Note about the code is some of it is generated (the whole new tokens array list where i add tokens and the content stream writer thing(because I couldn't figure it out by myself even after researching)
public void setTextColor(PDDocument document, File file, String r, String g, String b) throws IOException {
PDPageTree pages = document.getPages();
for (PDPage page : pages) {
Iterator<PDStream> streams = page.getContentStreams();
List<PDStream> newStreams = new ArrayList<>();
while(streams.hasNext()) {
PDStream stream = streams.next();
PDFStreamParser parser = new PDFStreamParser(page);
List<Object> streamObjects = parser.parse();
List<Object> newTokens = new ArrayList<>();
for(Object object : streamObjects) {
if (object instanceof Operator) {
Operator o = (Operator)object;
if ("BT".equals(o.getName())) {
float R = Float.parseFloat(r + "f");
float G = Float.parseFloat(g + "f");
float B = Float.parseFloat(b + "f");
newTokens.add(new COSFloat(R));
newTokens.add(new COSFloat(G));
newTokens.add(new COSFloat(B));
newTokens.add(Operator.getOperator("rg"));
System.out.println("found ");
}
}
newTokens.add(object);
}
// PDStream newStream = new PDStream(document);
// try (OutputStream out = newStream.createOutputStream(COSName.FLATE_DECODE)) {
// ContentStreamWriter writer = new ContentStreamWriter(out);
// writer.writeTokens(newTokens);
// }
// newStreams.add(newStream);
try (OutputStream out = stream.createOutputStream(COSName.FLATE_DECODE)) {
ContentStreamWriter writer = new ContentStreamWriter(out);
writer.writeTokens(newTokens);
}
newStreams.add(stream);
}
page.setContents(newStreams);
}
// String outputFile = new File("output_" + System.nanoTime() + ".pdf").getAbsolutePath();
document.save(file);
// System.out.println("Saved to: " + outputFile);
}r/learnjava • u/devjav • Oct 08 '25
Background: I am currently a Quality Manager within an IT company where i mostly work on managing the Dev and QA teams rather than implementing the code myself. I rarely do code reviews as the main part of my role is to stay in management. This has been the case for 1 year and 3 months now. Before that I was a full stack java developer with 6 years of experience with Spring and Angular.
Situation: Today, the project am in is phasing out and am not much interested in what the company is offering me, so am looking to make a comeback into my developer role. The core development principles are somewhat still here but i do need a complete refresher to ace those interviews am looking forward to.
Can you provide me a complete revision or study guide so that i can get back the knowledge i require in Java and also be competitive in today's industry.
Thanks.
r/learnjava • u/Bhavyarathore21 • Oct 08 '25
please suggest me youtube channel for java for my college placemets
r/learnjava • u/vaivaswat24 • Oct 08 '25
There isn't much on YouTube and yes there is official documentation but is there something else more easy to understand ??
r/learnjava • u/RohanPoloju • Oct 08 '25
im using windows 10, after executing a java program in cmd, im not able to see the letters i type.
for example: if i type help, it it not showing on cmd, but still executing and showing all help commands.
here is the java code:
import java.util.stream.*;
import java.util.*;
class rohan1{
`public static void main(String[] args){`
`Stream.iterate(1,n->n+1).limit(5).forEach(System.out::println);`
`}`}
i tried to use echo on, but didnt worked.
r/learnjava • u/JagdishSanap • Oct 07 '25
Can anyone has experience with heycoach or Bossercoder academy in which basically they course where they teach Dsa and system design and provide placement in MNCs and startup and fees is also above lakh is this course really worth it?please can anybody help
r/learnjava • • Oct 07 '25
I hit a wall while learning the spring boot web anybody??
Here I have been trying to achieve server side rendering using jsp within a spring boot application Tomcat jar in eclipse ide
Map a request: with my homecontroller.java and
index.jsp where I have html page of saying "hello world!" When I browse localhost:8080
In short I'm trying to display content using MVC, where view is index.jsp file
Now the error is when I browse the url, it displays: "whitelabel error page This application has no explicit mapping for / error, so you're seeing this as a fallback. Todays date There was an unexpected error(type=Not Found, status=404)"
r/learnjava • u/Zvazlo • Oct 07 '25
Especially when concerned with a project that requires to make a shopping cart by adding items, prices, amount.
r/learnjava • u/KodingKoala • Oct 06 '25
I’m completely new to Java and want to learn it properly from scratch. What are the best resources that you’d recommend for a beginner?