2,979 questions
0
votes
0
answers
55
views
gradlew build - FAILURE: Build failed with an exception
Unable to launch Gradlew build. I've tried everything, but it won't launch. It works fine, but as soon as I want to create a mod for Minecraft, it doesn't work.
I'm attaching a Google Drive link with ...
0
votes
1
answer
376
views
"Eclipse Project Facets not recognizing Java 1.7 – How to resolve in Eclipse 2024?
I am trying to set my Eclipse project to use Java 1.7 via Project Facets, but Eclipse does not allow me to select it. The Java Runtime Environment (JRE) 1.7 is installed and available in the system, ...
0
votes
0
answers
28
views
Java Swing JTable Model and Table Data Incompatibility Problem
I created a table based on JXTable and AbstractTableModel using Java Swing. Table and model data are provided by CrmListeTableModel class. However, currentKartListeTable and currentKartListeTableModel ...
0
votes
0
answers
51
views
Font-face icons not displayed correctly after jdk and struts update
I recently upgrade the version of struts2 used by my project from 2.3.37 to 2.5.33 following the migration guide here.
To do so, we had to update the jdk version 6 to 7.
Everything seemed to work fine ...
0
votes
0
answers
49
views
I am trying to upgrade a soap based web service which is using tomcat 7 and jdk 1.7 to tomcat version 8.5 and same jdk version
the webservice is using Apache axis version 1.4 for the installation. the current version of tomcat that is 7.0.104 which supports until jdk 1.7 and there is no issue while I am trying to install the ...
2
votes
1
answer
3k
views
java.lang.ClassFormatError accessible: module java.base does not "opens java.lang" to unnamed module [duplicate]
I am getting following error while running a test in my Project:
Caused by: java.lang.reflect.InaccessibleObjectException: Unable to make protected final java.lang.Class java.lang.ClassLoader....
0
votes
0
answers
71
views
JavaFX, Alt+Num (0-127) different for Java 7u80 (gibberish) vs Java 8u202 (normal ASCII), both default chatset UTF-8
I have an ooold JavaFX project (2015), where I have to add scanner functionality.
Scanner typically sends characters through a sequence of ALT+Num.
For example ALT+(Num5 followed by Num0) results in ...
0
votes
1
answer
503
views
How to enable the TLSv1.2 support in java 7
We wanted to enable the TLSv1.2 protocol with version of Java 7, while also ensuring support for the lower versions.
I am aware that we can utilize SSLContext.getInstance("TLSv1.2") to ...
1
vote
1
answer
1k
views
Add support for AES-GCM for TLS in Java 7
First of all, I premise that I am fully aware that Java 7 is EOL, vulnerable, extremely old and should not be used in 2023, but I need to mantain a legacy application which requires Java 7. I cannot ...
0
votes
0
answers
33
views
maven build issues with Java7
Below is my pom.xml. We are still using Java7 and when I run mvn clean install or mvn clean package it creates the Jar just with META-INF and a Manifest file. I do not see the generated classes in the ...
0
votes
1
answer
207
views
Elasticsearch query null check for two fields with OR condition
I want to alter the data in elastic search with a java 7 application running on jboss server. In elastic search index there are two fields called city_id and country_id. With new implementation I need ...
0
votes
1
answer
411
views
Mojo Dependency issue with java 1.7
Background: I have a EJB application which runs on java 1.7 and we are using maven 3+ version for building the code.
Issue: When I build this code I am getting java version mismatch issue i.e major ...
-2
votes
2
answers
88
views
Removing a hard Enter from a String
What is the best way to remove a hard enter from a String?
Input:
String in= "strengthened columns
with GRPES
";
Expected output: strengthened columns with GRPES
I tried the below code, ...
0
votes
1
answer
1k
views
Exception java.lang.NoClassDefFoundError: Could not initialize class org.codehaus.groovy.vmplugin.v7.Java7
I'm having a problem with building Java project with Flutter module when compiling it.
It shows the next problem:
Exception java.lang.NoClassDefFoundError: Could not initialize class org.codehaus....
0
votes
2
answers
515
views
Oracle19c with AIX server, JDK7
Our application is using JDK7, websphere and is hosted on AIX box.
Recently we upgraded to oracle 19c from 12c. After this, application server does not start.
We do not see any error in startup logs. ...