Questions tagged [JVM] (46)

1
answer

How to make vm argument part of a java program (file)?

How to do when you start the program (jar file) 2-click run from my vm argumentami (for example -Xms5000m -Xmx5000m)? When you export from Eclipse arguments do not become part of the jar file. To run programs through the console does not offer.
Frankie_Friesen asked April 3rd 20 at 19:00
3
answers

Than the creation of a JVM for a specific platform is "better", "easier", "advanced", "correct" writing compilers under the same platform?

In books and articles about the Java programming language always says that the idea of the compilation of byte code, which performs strictly standardized JVM solved the problem of portability of platformasaservice programs. Like, instead of writing a compiler for each platform is difficult and costly, now you just need to ...
Lindsey_Lueilwi asked March 24th 20 at 13:28
0
answer

In what file are described in the JVM arguments?

There was a problem related to the error rg.hibernate.hql.spi.id.IdTableHelper.executeIdTableCreationStatements Unable obtain JDBC Connection org.apache.commons.dbcp.SQLNestedException: Cannot create PoolableConnectionFactory (ORA-00604: error occurred at recursive SQL level 1 ORA-12705: Cannot access NLS data files or in...
Judd24 asked March 24th 20 at 11:59
2
answers

Why is Android still so dependent on the jvm?

I am far from mobile development and interested in more as an Android user. Don't believe the jvm environment will ever learn to use system resources better than native platform. Understand why developers are in no hurry to abandon the known development environment with a huge number of supporting tools and libraries. I don...
tomas_Legros asked March 23rd 20 at 20:35
1
answer

Is it possible to pull off such a feint ears in java?

There is a program written in java. 1) during the execution of this program produces the list List. 2) during the execution of the program from the outside comes valid Java source file contains the function some(List) The question is how in runtime to perform the function some() passing it the list generated in step 1. If...
janiya_Wilderm asked March 18th 20 at 21:58
3
answers

As a java thread selects the processor core?

All kind time of day. Let's say we create a pool of sweats and run to it as a difficult task.ExecutorService service = Executors.newFixedThreadPool(12); for (int i = 0; i < 500; i++) { service.submit(() -> new DustCounter().countAllDustInRoom()); } Question - each thread is tied to a specific kernel or in the proc...
Name.Pagac asked March 16th 20 at 13:42
2
answers

Is it possible to implement contextual Kotlin extension functions?

For example:fun String.hello() = "world" contextFunction { println("".hello()) //Inside contextFunction method should work } println("".hello()) // And outside contextFunction it must not exist The goal is to add methods to standard types, but only in dsl, so as not to clog these methods the global scope.
marcel.McKenzie asked March 14th 20 at 15:48
0
answer

Is there a JVM for a framework that would allow us to style Vue.js to write desktop applications?

I mean the implementation of MVVM as it is made in Vue. To be able to write an application for the jvm, describing the model, the display template and logic relativesthe and other advantages Vue. Languages allowing this to happen, such as in the presence of, for example Groovy?
Delphia asked March 13th 20 at 15:18
2
answers

Where can I read about writing their containers?

Good evening. I am interested in any literature about writing their containers according to the type of OSGI container, Servlet container, the DI container. I use this, but I'm interested in how they work or how theoretically arranged in a container running on the JVM. Literature in these areas, as the rule describes how to...
gregoria.West asked March 13th 20 at 14:48
1
answer

Kotlin Decompiler is there such?

Actually a JAR file which you need to decompile, know that it is written in Kotlin. Decompiling Java Decompiler software like the CFR allows to obtain a code that can be used for partial understanding of the device program, but no more. But want to get the source code which can be corrected to akmeliawati and use in the fut...
estella_Murphy asked March 12th 20 at 13:10