October 22, 2024
Chicago 12, Melborne City, USA
java

To compile my code what would I have to do?


I have a doubt, the following appears and it does not let me compile my program in Java,I’m using Visual Code, and I have Java -17, I don’t know exactly why the problem is, please help

Method [java.lang.VirtualThread.notifyJvmtiHideFrames(Z)V] is annotated with @IntrinsicCandidate, but no compiler intrinsic is defined for the method.

Method [java.lang.VirtualThread.notifyJvmtiDisableSuspend(Z)V] is annotated with @IntrinsicCandidate, but no compiler intrinsic is defined for the method.

Compiler intrinsic is defined for method [jdk.internal.misc.Unsafe.setMemory0(Ljava/lang/Object;JJB)V], but the method is not annotated with @IntrinsicCandidate. Method will not be inlined.

[0.083s][error ][class] Invalid layout of jdk.internal.vm.StackChunk field: bottom type: I

Error occurred during initialization of VM

I already tried to download another JDK but it still does not work, I don’t know what else to do



You need to sign in to view this answers

Leave feedback about this

  • Quality
  • Price
  • Service

PROS

+
Add Field

CONS

+
Add Field
Choose Image
Choose Video