Questions tagged [java-runtime-compiler]

35 questions
0
votes
1 answer

Getting the latest Java Runtime Enviroment parent folder

I want to make my job a little easier, I tried creating a batch file to get the JRE path. I'm only getting the javaw.exe path. So for example we are using Team Center 10. It has this tem_init and it grabs the folder JRE7 (example version) but people…
RTarson
  • 351
  • 3
  • 23
0
votes
0 answers

How to implement type information for static code analylsis tool for a custom JVM language?

I have to implement a static code analysis tool for a custom JVM language and I would like to have most of the methods that are accessible in the Java Class class like for example: getDeclaredMethods(): Method[]. I have come up with two…
BlueLettuce16
  • 2,013
  • 4
  • 20
  • 31
0
votes
0 answers

multiple JVM issue in application

We have a desktop application where we are packing Application Jar and JRE as well to avoid Java dependency in customer machine. But issue is if the customer is having the Java installed already in there Machine.we are facing issue like no class…
-3
votes
1 answer

How to fix "An unrecoverable stack overflow has occurred... Java returned: -1073741819" error on java?

While working on a Java Swing project I encountered the following runtime error "An unrecoverable stack overflow has occurred... Java returned: -1073741819". Project environment: Netbeans 12, jdk1.8.0_211, poi 4.1 on windows 10 I cannot reproduce…
Jaja
  • 662
  • 7
  • 15
-3
votes
2 answers

Why does this code throws a RuntimeError?

Given a random integer array and a number x. Find and print the triplets of elements in the array which sum to x. While printing a triplet, print the smallest element first. That is, if a valid triplet is (6, 5, 10) print "5 6 10". There is no…
1 2
3