GeneralCore
GeneralCore
JCHJava Community | Help. Code. Learn.
Created by GeneralCore on 1/9/2025 in #java-help
"Java Virtual Machine Launcher -A Java Exception has occured" error in Maven .jar file
It did
11 replies
JCHJava Community | Help. Code. Learn.
Created by GeneralCore on 1/9/2025 in #java-help
"Java Virtual Machine Launcher -A Java Exception has occured" error in Maven .jar file
Thank you @dan1st | Daniel
11 replies
JCHJava Community | Help. Code. Learn.
Created by GeneralCore on 1/9/2025 in #java-help
"Java Virtual Machine Launcher -A Java Exception has occured" error in Maven .jar file
No description
11 replies
JCHJava Community | Help. Code. Learn.
Created by GeneralCore on 7/2/2024 in #java-help
Operation not allowed for a result set of type ResultSet.TYPE_FORWARD_ONLY.
Oh, I actually fixed it now with the help of gemini. I had to change this from
st = con.createStatement();
st = con.createStatement();
to
st = con.createStatement(ResultSet.TYPE_SCROLL_SENSITIVE, ResultSet.CONCUR_READ_ONLY);
st = con.createStatement(ResultSet.TYPE_SCROLL_SENSITIVE, ResultSet.CONCUR_READ_ONLY);
I have already done this before, and I did not add argument in con.createStatement before, and it did not show any errors. Why is that? T - T
5 replies