Questions tagged as 'jvm'

1
answer

The difference between the ClassPath environment variable and the project .classpath files in JAR

When we install the JDK, we create an environment variable called CLASSPATH, which has the value JAVA_HOME, which in turn has the jdk address, which contains all Java development libraries, correct? > This is for the Java compiler to find the...
asked by 10.10.2017 / 03:07
2
answers

JConsole: Java Monitoring and Management Console

   JConsole Hello, I read that this tool monitors JVM processes. However, when executing the tool this form appears (see image). As for these parameters, what do they mean? I do not remember configuring them when installing Java.     
asked by 08.09.2016 / 21:13
1
answer

Log4J with multiple JVMs

Context In the project I am (production environment) has a server that is installed with 4 java applications, being: 1 deployed Jetty application 1 application in Tomcat 2 jar generated with Spring Boot framework All applications a...
asked by 21.06.2016 / 00:58
1
answer

How to limit the size of the heap in a JVM 8?

Until the 7th month, the -Xmx parameter limited the size of the heap, but today at 8 it is not happening. Today I use the -Xmx200m parameter and my application gets to consume 1.5GB in the heap, I use a lot of short object so practically they...
asked by 23.06.2015 / 15:19
1
answer

Is it possible to retrieve the src of an implanted .WAR file?

I'm working with a lot of legacy applications here. One of them (in production) needs to be edited because it has no log. I decompiled, but I have no idea how to reassemble in this situation. I have not been able to recompile individual edite...
asked by 27.04.2017 / 14:35
1
answer

Problem in JVM heap size when migrating from Solr 5.0 to Solr 5.1

I have an instance of Solr 5.0.0 in production with the following JVM heap size setting: SOLR_JAVA_MEM="-Xms2g -Xmx2g" When I migrated to Solr 5.1.0 with the same configuration and started the server, I came across the OutOfMemoryError er...
asked by 09.06.2015 / 18:54
0
answers

Problem with Java

WhenItrytoopenaBATfile,withthefollowingcode:@ECHOOFFSETPASTA_BASE=%~dp0STARTCMD/C%PASTA_BASE%\client.js-aDESE-pTerminal-xYoureceivethefollowingerrormessage:"Could not create the Java virtual machine." (image with the error is attached to this q...
asked by 27.04.2018 / 15:39
0
answers

Eclipse - JbossCannot connect to VM

When running the JBoss server in Eclipse the error occurs:    'Starting Red Hat JBoss EAP 6.0' has encountered a problem.Cannot connect to VM. Java 1.8 and I have already configured jboss for XMx512 and this error still occurs.     
asked by 15.03.2018 / 19:41
1
answer

Do I need to download the JVM to run a java program on my PC since I am not a developer?

I need to download the JVM to run a java program on my PC since I am not a developer, that is, I will only need the JVM, just to run this program? Better, how do programs made in java run on people's machines without them downloading the JVM, do...
asked by 10.09.2018 / 01:21