Answer by Douglas B. ·
I'm having the same issue trying to install the Java agent on a RedHat Linux machine.
wsadmin@box1 dynatrace]$ java -jar /opt/dynatrace/dynatrace-agent-6.1.0.7880-unix.jar
GNU java is not supported! Aborting installer...
[wsadmin@box1 dynatrace]$ /usr/bin/java -version
java version "1.4.2"
gij (GNU libgcj) version 4.1.2 20080704 (Red Hat 4.1.2-55)
Answer by Dave M. ·
Hi Nathan,
I think the easy way is to just use the java embedded with the dynatrace server.
You can simply extract the jre from the jar file for the server and use it on any server where you need a "bootstrap" of java to extract an install of an agent or other dynatrace component.
cp dynatrace-6.0.0.6738-linux-x64.jar /tmp
cd /tmp
mkdir java
cd java
jar xfv ../dynatrace-6.0.0.6738-linux-x64.jar jre
/tmp/java/jre/bin/java -version
java version "1.7.0_65"
OpenJDK Runtime Environment (IcedTea 2.5.2) (7u65-2.5.2-3~14.04)
OpenJDK Client VM (build 24.65-b04, mixed mode, sharing)
HTH,
dave
JANUARY 15, 3:00 PM GMT / 10:00 AM ET