jvm Questions

3

Solved

I'm trying to understand how Java source code is executed and I'm confused as to what the JIT-compiler inside the JVM actually is. To start off let me tell you how I understand the process of going...
Cotto asked 6/1, 2017 at 1:59

5

I´m building a flutter application in Android Studio and keep getting this error after installing a package when trying to build the application. This is the full error message: FAILURE: Build fai...
Imide asked 18/10, 2023 at 16:11

2

GraalVM native-image allow us to convert Java libraries into local executable. It also allow to compile to shared library as mentioned https://www.graalvm.org/docs/Native-Image/user/README An nati...
Sayette asked 24/7, 2020 at 5:25

5

Solved

I have download Eclipse MAT and try to launch it on Windows. Executing MemoryAnalyzer.exe display a popup Incompatible JVM with this message: Version 1.8.0_242 of the JVM is not suitable for this p...
Prismatoid asked 2/3, 2022 at 14:54

4

I have been looking into the Java JIT compiler and i cannot figure out why some of the code is still interpreted. Why doesn't the JIT compiler translate everything to native code? Interpretation is...
Strength asked 17/8, 2011 at 22:36

8

Solved

I've launched my spring boot project, my computer suddenly shuts down (battery issue !) Then I got the following error when trying to run the project again Module 'ms-overdue' production: java.lang...
Livi asked 19/12, 2022 at 18:29

2

Solved

Does anyone know why the JSR/RET bytecode pair is deprecated in Java 6? The only meaningful explanation I found on the net was that they made code analysis by the runtime harder and slower to perf...
Skinner asked 3/5, 2011 at 14:37

2

Solved

As it said in JVMS8: Although the Java Virtual Machine defines a boolean type, it only provides very limited support for it. There are no Java Virtual Machine instructions solely dedicated to oper...
Resist asked 29/12, 2015 at 11:28

8

Solved

After Android Studio sync my gradle project, I see the following message in the event log: Android Studio is using this JDK location: /path/to/my/project/specific/jdk which is different to wha...
Lifesaver asked 17/5, 2019 at 20:13

21

Solved

The commonly agreed answer to this interview question is that two objects are created by the code. But I don't think so; I wrote some code to confirm. public class StringTest { public static void...
Stephaniestephannie asked 30/10, 2013 at 1:47

6

Solved

After starting Kafka Connect (connect-standalone), my task fails immediately after starting with: java.lang.OutOfMemoryError: Java heap space at java.nio.HeapByteBuffer.<init>(HeapByteBuffe...
Hypso asked 31/1, 2017 at 18:15

1

I've got a class in which I do some runtime annotation scanning, but it uses the deprecated DexFile APIs which causes a warning to appear in LogCat: W/zygote64: Opening an oat file without a cla...
Cyst asked 1/5, 2018 at 16:36

7

Solved

For my application, the memory used by the Java process is much more than the heap size. The system where the containers are running starts to have memory problem because the container is taking mu...
Palladino asked 23/11, 2018 at 17:52

2

I have several Java projects running in Docker containers managed with Kubernetes. I want to enable the Horizontal Pod Autoscaling(HPA) based on CPU provided by Kubernetes, but I find it hard to de...
Xylotomy asked 21/1, 2019 at 13:7

5

Solved

I think it is because the JVM needs to move objects, is that correct?
Lawannalawbreaker asked 22/5, 2013 at 15:32

3

I tried java --version in the command line and I get : Unrecognized option: --version Error: Could not create the Java virtual machine Error: A fatal exception has occurred. Program will exit. E...
Hynes asked 18/7, 2012 at 23:31

7

When running my test with gradle I started getting output below on the console. This output is coming from the JVM not my code. Kotlin DSL is used to configure my gradle build. *** java.lang.instr...
Stately asked 4/3, 2020 at 12:58

32

Solved

I am writing a client-side Swing application (graphical font designer) on Java 5. Recently, I am running into java.lang.OutOfMemoryError: Java heap space error because I am not being conservative o...
Mezereum asked 1/9, 2008 at 1:10

7

How can I add jvm(Java virtual machine) options in Apache Tomcat 6? Is there a administration console in tomcat? I tried http://localhost:8080/admin but I could not get anything out of it. I want...
Altman asked 12/10, 2011 at 10:40

3

Solved

We'd like to parse JSON5 documents in the JVM, but the JSON5-specific libraries available on GitHub all appear to have very low support. As parsers are often magnets for security vulnerabilities, w...
Univalence asked 9/7, 2021 at 6:32

6

Solved

Today I decided to continue working on a program that I had created for my Computer Science class. Upon running it, I am greeted with this in the console: # # A fatal error has been detected by th...
Unifoliate asked 20/8, 2014 at 13:58

16

I have intellij-idea installed. Although I have set JAVA_HOME environment variable referring to "C:\Program Files\Java\jdk1.8.0_45" but when I try to run it, I end up with the following error: fai...
Leroy asked 23/8, 2017 at 18:5

3

Solved

Found an interesting JVM Flag : java -XX:+UnlockDiagnosticVMOptions -XX:+PrintFlagsFinal -version It prints hundreds of various options, I never heard about before. It also prints default value...
Bronnie asked 7/5, 2012 at 17:28

4

Solved

I am using a containerized Spring boot application in Kubernetes. But the application automatically exits and restarts with exit code 143 and error message "Error". I am not sure how to i...
Brigidabrigit asked 16/5, 2022 at 17:42

3

Internal Startup issue -java.lang.RuntimeException: Could not find installation home path . Please make sure bin/idea.properties is present in the installation directory I have path and java_home ...
Twitty asked 28/7, 2020 at 18:49

© 2022 - 2025 — McMap. All rights reserved.