Dioxin
JCHJava Community | Help. Code. Learn.
•Created by Fener on 4/29/2025 in #java-help
Runtime? error
have you tried using a build tool, like Maven or Gradle?
9 replies
JCHJava Community | Help. Code. Learn.
•Created by Fener on 4/29/2025 in #java-help
Runtime? error
i think i recall this from another server. trying
lib/**/.jar
still lead to a bad build, even though the libs show up as references9 replies
JCHJava Community | Help. Code. Learn.
•Created by Haiku on 4/15/2025 in #java-help
Scanner not blocking inside virtual thread
56 replies
JCHJava Community | Help. Code. Learn.
•Created by Haiku on 4/15/2025 in #java-help
Scanner not blocking inside virtual thread
which distro are you using @Haiku ?
56 replies
JCHJava Community | Help. Code. Learn.
•Created by Haiku on 4/15/2025 in #java-help
Scanner not blocking inside virtual thread
wasn't able to reproduce on Java 21 Temurin 21.0.5
56 replies
JCHJava Community | Help. Code. Learn.
•Created by Bolo on 4/14/2025 in #java-help
Java While Loop Question
that should simplify the code enough for you to see what the issue is
18 replies
JCHJava Community | Help. Code. Learn.
•Created by Bolo on 4/14/2025 in #java-help
Java While Loop Question
id recommend getting rid of
num1
altogether. instead, just store the "first input" directly in largest
18 replies
JCHJava Community | Help. Code. Learn.
•Created by dghf on 4/14/2025 in #java-help
Proper Exception Handling: Try-Catch Blocks with Loops in Cryptographic Hash Collision Program
if you want to trigger an error per message, but keep the loop running if an exception occurs, put the
try/catch
inside the loop8 replies
JCHJava Community | Help. Code. Learn.
•Created by dghf on 4/14/2025 in #java-help
Proper Exception Handling: Try-Catch Blocks with Loops in Cryptographic Hash Collision Program
if you want to stop processing all messages, then it makes sense to keep the loop in the
try
, so it stops running if an exception is thrown8 replies
JCHJava Community | Help. Code. Learn.
•Created by dghf on 4/14/2025 in #java-help
Proper Exception Handling: Try-Catch Blocks with Loops in Cryptographic Hash Collision Program
depends on what you want to be processed when a failure occurs
8 replies