
Reddit » Learn Java
1,000 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
11h ago
Im having extreme difficulty trying to set up the geocoding API on android studio right now. I've googled it lord knows how many times and have tried using GPT to walk me through it but I'm still struggling to find viable resources/explanations on how to do it. I have the API key and everything, I'm just not sure how to use the key in my code to gain access to the API. All help is greatly appreciated!
submitted by /u/saggyboobsarecooltoo
[visit reddit] [comments ..read more
Reddit » Learn Java
15h ago
I am going through Java 1 on my desktop. My fiancé wanted to do it on her lap top so into through the same setup process but every time it prompts me to download the exercises, I get this error.
If I look in the projects folder they are all there but the projects tab on the left hand side won’t populate the exercises. I’m going crazy here trying to figure this out and I literally can’t find anything anywhere on how to fix it.
Notice it says failed to open exercise 37, if I uncheck 37, it just fails to open 36 and so on. I’m at a loss here.
https://imgur.com/a/Y395U3q
submitted by /u/throwawa ..read more
Reddit » Learn Java
15h ago
I'm working on a Spring Boot web app and am needing help figuring out what I need to use. I have an HTML page that allows users to select items from multiple drop down menus and the items they select are put into a list at the bottom of the page. I've already got it worked out to export the list to a text file but I'm wanting to go one step further and have the list populate a database I have established.
I just need to know what route I need to look into, not looking for anyone to help me adjust or change anything. I'm aware of other ways to put data in from outside sources like Postman but ..read more
Reddit » Learn Java
15h ago
1)Please help me download the files in IntelliJ
2) how to compile and submit? And where to do that
submitted by /u/putainsamere
[visit reddit] [comments ..read more
Reddit » Learn Java
15h ago
Hi good day! I managed to enlarge the text editor, but I can't find the option for this one, thanks!
Here is the image showing the size of my Eclipse intellisense, which I want to enlarge
https://ibb.co/dm4M578
submitted by /u/DonPapotti
[visit reddit] [comments ..read more
Reddit » Learn Java
15h ago
first off apologies if this comes across as a bit rambly
the project here: https://github.com/Potat-OS1/Cellular_Automata (for context, if anyone tries this know that escape opens a tab to paint in different particles into the scene.)
so basically, with this program you have particles with different behaviors. my Update class is set to iterate through a list of all the particles in the scene if (now- lastUpdate >= 3_000_000.0). these particles, depending on their neighbors might mutate into other particles. this required a second loop due to concurrent modification problems. (the ArrayList ..read more
Reddit » Learn Java
15h ago
I've learned about the Spring microservice, but I don't know a good project to use and practice with. Any suggestion?
chatgpt is new now, maybe try something with gpt chat?
submitted by /u/AgenteBinario
[visit reddit] [comments ..read more
Reddit » Learn Java
15h ago
class AgeComparator implements Comparator<Person> { public int compare(Person p1, Person p2) { return p1.getAge() - p2.getAge(); } }
the goal is to sort two people objects by age. What i dont understand is why minus-ing the first person's age and the second person's makes it get sorted?
submitted by /u/Smallmarvel
[visit reddit] [comments ..read more
Reddit » Learn Java
2d ago
Hello! I have a problem when trying to create an instance of the class:
var context = new AnnotationConfigApplicationContext();
I get the following error:
AnnotationConfigApplicationContext cannot be resolved to a type
So I checked the pom file and it has the following information:
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 https://maven.apache.org/xsd/maven-4.0.0.xsd"> <modelVersion>4.0.0</modelVersion> <groupId>Edureka</groupId> ..read more
Reddit » Learn Java
2d ago
What feature(s) is available with OracleJDK that is not in AdoptJDK?
Found some differences between AdoptJDK and OracleJDK in this link (pg 4) - https://adoptopenjdk.net/MigratingtoAdoptOpenJDKfromOracleJava.pdf
But looks like the comparison is outdated (Version 0.7 - 15th Feb 2019) as OpenJDK seems to have evolved since. Is there an updated version of the comparison?
submitted by /u/vk9217
[visit reddit] [comments ..read more