Skip to main content
Filter by
Sorted by
Tagged with
0 votes
0 answers
57 views

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 ...
Alessio Mario Barbuto's user avatar
0 votes
0 answers
53 views

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 ...
Alexandre's user avatar
2 votes
1 answer
3k views

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....
user avatar
0 votes
1 answer
511 views

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 ...
Muddu Madesh's user avatar
0 votes
0 answers
36 views

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 ...
Krishna's user avatar
  • 1,229
0 votes
1 answer
416 views

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 ...
sangeeta's user avatar
0 votes
1 answer
1k views

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....
Nikita Shadkov's user avatar
0 votes
2 answers
1k views

I need to find a regex that will match both date formats: MM/dd/yyyy and M/d/yyyy ex. 01/31/2022, 1/1/2022, 12/13/2022, 12/1/2022 So far I tried ^(1[0-2]|0[1-9])/(3[01]|[12][0-9]|0[1-9]{1}$)/[0-9]{4}$...
Lenny's user avatar
  • 939
2 votes
3 answers
4k views

Is there a Java 7 binary release for Apple Silicon available anywhere? I have an old app to maintain and getting that to run on Java 8 would be a really risky exercise.
David Tinker's user avatar
  • 9,694
0 votes
0 answers
65 views

I'm having doubts regarding which metrics I should follow to allocate memory for the permgen. I'm having crashing problems and that permgen is full, my server has 32gb of memory for the heap and 512m ...
Murilo Costa Bittencourt's user avatar
-1 votes
2 answers
659 views

I have an array of objects in a class, call it passengers. I initialized the array with the x number of passengers, and that would make the array with length x, full of nulls. I need to get a method ...
Carlos_kuro's user avatar
4 votes
2 answers
21k views

I tried to run react native app with this command. npx react-native run-android --variant=stagingDebug --appId com.xx_staging But I am getting this error message. I want to run multiple java versions ...
Auvee's user avatar
  • 449
-1 votes
2 answers
1k views

I was super confused about compatibility on a java tool I was using and ended up downloading different versions of java so now I do not know what versions of jdk or jre I am actually using. When I ...
user17534067's user avatar
1 vote
2 answers
5k views

I'm using Spring Boot version 1.5.22 because of Java 7 compatibility - legacy stuff, museum grade, don't use. I need an array of strings containing commas in YAML config for Spring Boot. The problem ...
McLayn's user avatar
  • 488
0 votes
1 answer
655 views

There is a bunch of legacy JAX-WS request code that had to be extended and include now a field holding "<!CDATA[[...]]>" encapsulated data. We managed to get the field into the request,...
Kosi2801's user avatar
  • 23.3k
0 votes
1 answer
269 views

We are in process to migrate a new nexus repo. The below are the platform information: Nexus Repo Server: HTTPS only supports TLS 1.2 Application server: FUSE 6.1 Java(...
Decai Zhu's user avatar
0 votes
1 answer
124 views

I have a string wherein I need to split it and store in an ArrayList as seen below; All these using Java7. The below is the input for my program; String inputStr = "ABC:DONE:07JAN90:1234:00001111:...
Ashwin Kumar's user avatar
0 votes
2 answers
335 views

I have the following method in Java 8 and I'm working in project using java 7: public <T> List<T> getValues(CommandLineItem commandLineItemMod, Class<T> targetClass) { Object ...
Mohamed MAOUCHI's user avatar
1 vote
0 answers
699 views

I have an existing pdf where I need to draw a fixed length text without calculating the position for each character. By introducing four spaces between each character I nearly get the desired result ...
lainatnavi's user avatar
  • 1,633
4 votes
1 answer
2k views

I'm trying to create a key pair with ECDSA algorithm using javascript, sign a message and then verify it server-side (with Java). sample javascript code: // help function function ...
Ernesto Schiavo's user avatar
0 votes
2 answers
2k views

My Ubuntu machine have installed both java 1.7 and 1.8. But when I checked Java version it shows version Java 1.7 as the snapshot below. When I check Java alternative version I can see "java-8-...
Nirodha Wickramarathna's user avatar
2 votes
2 answers
2k views

I am trying to find the large number in java by using the integer parameter. I converted the integer value to string but the problem is, it failed on the run and did not show the expected result. Here ...
user avatar
0 votes
3 answers
2k views

I have a list which contains objects of different classes say A, B, C, D, E, F, G. Each of the objects(A, B, C, D, E, F, G) have an instance variable "name" in it. I want to iterate over the ...
user2755407's user avatar
1 vote
1 answer
2k views

I have a .rpt file. I want to read it programatically in java and save it in pdf file. I followed the solution multithread pdf conversion My source code provided below final String rpt = "/...
Mahboob Nur's user avatar
0 votes
2 answers
815 views

Below is the code that returning wrong date String dt = "01-08-2021"; SimpleDateFormat format = new SimpleDateFormat("dd-mm-yyyy"); Date date = new SimpleDateFormat("dd-mm-...
Charan's user avatar
  • 35

1
2 3 4 5
60