Java (Java Agent, Installation, JVM, and Controller Installation)

cancel
Showing results for 
Search instead for 
Did you mean: 

java agent configuration

java agent configuration

I'm running below command, however I'm getting error.  Help on this is appreciated.

 

C:\Users\Administrator>java -Xbootclasspath/a::"C:\Program Files\Java\jdk1.8.0_181\lib\tools.jar" -jar C:\appdynamic_agent\ver4.4.3.23530\javaagent.jar 2128

 

java.lang.ClassNotFoundException: com.sun.tools.attach.VirtualMachine

        at java.net.URLClassLoader.findClass(Unknown Source)

        at java.lang.ClassLoader.loadClass(Unknown Source)

        at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)

        at java.lang.ClassLoader.loadClass(Unknown Source)

        at java.lang.Class.forName0(Native Method)

        at java.lang.Class.forName(Unknown Source)

        at com.singularity.ee.agent.appagent.AgentEntryPoint.main(AgentEntryPoint.java:1008)

Exception in thread "main" java.lang.RuntimeException: java.lang.ClassNotFoundException: com.sun.tools.attach.VirtualMac

hine

        at com.singularity.ee.agent.appagent.AgentEntryPoint.main(AgentEntryPoint.java:1033)

Caused by: java.lang.ClassNotFoundException: com.sun.tools.attach.VirtualMachine

        at java.net.URLClassLoader.findClass(Unknown Source)

        at java.lang.ClassLoader.loadClass(Unknown Source)

        at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)

        at java.lang.ClassLoader.loadClass(Unknown Source)

        at java.lang.Class.forName0(Native Method)

        at java.lang.Class.forName(Unknown Source)

        at com.singularity.ee.agent.appagent.AgentEntryPoint.main(AgentEntryPoint.java:1008)

 

java agent configuration
1 REPLY 1
AppDynamics Team (Retired)

Re: java agent configuration

Hi @Sheshagiri.Krishnappa,

 

Have you checked the Java Supported Environments and Administer the Java Agent docs?

 

Please verify that you are using the right Java environment.


Thanks,
Radhika P




Found something helpful? Click the Accept as Solution button to help others find answers faster.
Liked something? Click the Thumbs Up button.