CrackTheCode
JCHJava Community | Help. Code. Learn.
•Created by CrackTheCode on 1/14/2025 in #java-help
Java tech questions
Hi I have one question I’ll use this opportunity here, how does one get good at job interview technical tests it seems like these hacker rank and leet code style questioning people have this natural talent to solve the problems is it something they picked up along studying or they just have intuition without prior study of Data structures and algorithms or leet code and hacker style questioning because I feel like I’m kind of cheating looking at other people’s videos to understand and not challenging my brain on my own to solve and I’m just not smart enough
6 replies
JCHJava Community | Help. Code. Learn.
•Created by CrackTheCode on 7/20/2024 in #java-help
Java array solution
11 replies
JCHJava Community | Help. Code. Learn.
•Created by CrackTheCode on 7/13/2024 in #java-help
Lombok error
4 replies
JCHJava Community | Help. Code. Learn.
•Created by CrackTheCode on 6/22/2024 in #java-help
Could not find or load main class caused by ClassNotFoundException
I always get Could not find or load main class caused by ClassNotFoundException why is this despite having a manifest pointing to the main class / entry point I also have jars I have imported in the modules what could be the issue it runs fine in intellij but not in terminal
37 replies
JCHJava Community | Help. Code. Learn.
•Created by CrackTheCode on 6/4/2024 in #java-help
Java decompile
Is there any other way to edit a decompiled class from a jar in intellij other than copying to a separate class. I want to work with them there and then why is it read-only ?
4 replies
JCHJava Community | Help. Code. Learn.
•Created by CrackTheCode on 6/4/2024 in #java-help
Java JDK 22
Having errors connecting credentials using jdbc driver to a Microsoft SQL Server I keep getting tls related issues
4 replies
JCHJava Community | Help. Code. Learn.
•Created by CrackTheCode on 4/23/2024 in #java-help
Java parallel stream
In my program I edit configurations and put CLI arguments for it to have a source, target and database variables
It has internal implementations to extract from a zip file (source) and load to target folder to report logs, its also designed load the extracted files to a database.
We change the databases to load the next database and this triggers a specific if clause that detects different databases and will perform the respective output dependent on which database e.g if "arg[n] == -s" then db = args[n + 1] // DB1
if "arg[n] == -s" then db = args[n + 1] // DB2
the arg array loops through the cli arguments to let us know where we are in the parameters cli argument
When I run it via ide it loads then when I copy the path of the java program and alongside it the same CLI Arugment into to terminal to be command line ran with a different database theres a load issue it only loads to one db but not the other db could it be a in-memory issue where the buffer or output stream?
6 replies
JCHJava Community | Help. Code. Learn.
•Created by CrackTheCode on 4/19/2024 in #java-help
Java extract
Hey I have program that extracts zip file in a source file to target folder and will eventually go to a db when I run the first process pressing run with the cli arguments I then put in the next cli arguments for the second db table but when the first process is done it closes and doesnt consider the second process what may be the issue
4 replies
JCHJava Community | Help. Code. Learn.
•Created by CrackTheCode on 4/19/2024 in #java-help
2 java questions
1) Is it possible to have many java projects that are connected like having separated jars and only have one main method
7 replies
JCHJava Community | Help. Code. Learn.
•Created by CrackTheCode on 4/11/2024 in #java-help
Java etl project
Hey does anyone know a better way of having a file that has scripts that are read by java but these scripts are not what you think they're not sh, bat just a notepad file and java reads them as if they are scripts in this project it extracts files from one source and puts it to many different targets the file reads from different languages one line can have \dir\file\load.vbs another \dir\file\load.java whats a more modern way of doing this in keeping with todays times ask for more clarity if needed
6 replies
JCHJava Community | Help. Code. Learn.
•Created by CrackTheCode on 3/3/2024 in #java-help
Java messaging microservice
Hello guys I was a mid developer for about 7 years I recently got a senior role on a middleware team what skills can I brush up on for a team that has technology that has various sources of data and to be retrived using apis and activemq to be then deployed for clients using ftp quite vague I know but the role description is also vague
5 replies
JCHJava Community | Help. Code. Learn.
•Created by CrackTheCode on 12/17/2023 in #java-help
Java partition node distributed system
11 replies
JCHJava Community | Help. Code. Learn.
•Created by CrackTheCode on 12/15/2023 in #java-help
Java Spring Project
Not sure how to go about this project but I have to make a uploading file sharing system where people can read and write using java spring boot it is distributed using concurrency, parallelism and multithreading ways of reading and writing but these files that are stored and accessed are partitioned on many nodes :/ who has a good way of tackling
4 replies
JCHJava Community | Help. Code. Learn.
•Created by CrackTheCode on 4/11/2023 in #java-help
Polymorphism
10 replies