Ask Your Question
0

Jmeter exception

asked 2015-11-01 12:11:31 -0600

anishjp gravatar image

Hi guys

I am trying to run jmeter-2.13 in my Fedora 22. I have already installed Oracle java and have configure in jmeter.sh to look at it.

cat jmeter.sh
JAVA_HOME=/usr/java/jdk1.8.0_45
     export JAVA_HOME

When I open jmeter in a terminal, I get

[anishjp@fedora22 bin]$ ./jmeter
An error occurred: null
[anishjp@fedora22 bin]$ cat jmeter.log 
2015/11/01 19:51:19 INFO  - jmeter.util.JMeterUtils: Setting Locale to en_ZA 
2015/11/01 19:51:19 INFO  - jmeter.JMeter: Loading user properties from: /home/anishjp/Documents/Jmeter/apache-jmeter-2.13/bin/user.properties 
2015/11/01 19:51:19 INFO  - jmeter.JMeter: Loading system properties from: /home/anishjp/Documents/Jmeter/apache-jmeter-2.13/bin/system.properties 
2015/11/01 19:51:19 INFO  - jmeter.JMeter: Copyright (c) 1998-2015 The Apache Software Foundation 
2015/11/01 19:51:19 INFO  - jmeter.JMeter: Version 2.13 r1665067 
2015/11/01 19:51:19 INFO  - jmeter.JMeter: java.version=1.8.0_60 
2015/11/01 19:51:19 INFO  - jmeter.JMeter: java.vm.name=OpenJDK 64-Bit Server VM 
2015/11/01 19:51:19 INFO  - jmeter.JMeter: os.name=Linux 
2015/11/01 19:51:19 INFO  - jmeter.JMeter: os.arch=amd64 
2015/11/01 19:51:19 INFO  - jmeter.JMeter: os.version=4.1.7-200.fc22.x86_64 
2015/11/01 19:51:19 INFO  - jmeter.JMeter: file.encoding=UTF-8 
2015/11/01 19:51:19 INFO  - jmeter.JMeter: Default Locale=English (South Africa) 
2015/11/01 19:51:19 INFO  - jmeter.JMeter: JMeter  Locale=English (South Africa) 
2015/11/01 19:51:19 INFO  - jmeter.JMeter: JMeterHome=/home/anishjp/Documents/Jmeter/apache-jmeter-2.13 
2015/11/01 19:51:19 INFO  - jmeter.JMeter: user.dir  =/home/anishjp/Documents/Jmeter/apache-jmeter-2.13/bin 
2015/11/01 19:51:19 INFO  - jmeter.JMeter: PWD       =/home/anishjp/Documents/Jmeter/apache-jmeter-2.13/bin 
2015/11/01 19:51:19 INFO  - jmeter.JMeter: IP: 10.204.32.132 Name: fedora22.desktop FullName: fedora22.desktop 
2015/11/01 19:51:20 INFO  - jmeter.gui.action.LookAndFeelCommand: Using look and feel: javax.swing.plaf.metal.MetalLookAndFeel [Metal, CrossPlatform, System] 
2015/11/01 19:51:20 INFO  - jmeter.JMeter: Loaded icon properties from org/apache/jmeter/images/icon.properties 
2015/11/01 19:51:20 WARN  - jmeter.gui.action.ActionRouter: java.awt.HeadlessException 
2015/11/01 19:51:20 **FATAL - jmeter.JMeter: An error occurred:  java.awt.HeadlessException**
    at java.awt.GraphicsEnvironment.checkHeadless(GraphicsEnvironment.java:204)
    at java.awt.Window.<init>(Window.java:536)
    at java.awt.Frame.<init>(Frame.java:420)
    at java.awt.Frame.<init>(Frame.java:385)
    at javax.swing.JFrame.<init>(JFrame.java:189)
    at org.apache.jmeter.gui.MainFrame.<init>(MainFrame.java:190)
    at org.apache.jmeter.JMeter.startGui(JMeter.java:242)
    at org.apache.jmeter.JMeter.start(JMeter.java:385)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    at java.lang.reflect.Method.invoke(Method ...
(more)
edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
0

answered 2018-06-18 20:38:56 -0600

evillagr gravatar image

Try installing default packages for basic java:

sudo dnf install java-1.8.0-openjdk

Regards

edit flag offensive delete link more

Question Tools

1 follower

Stats

Asked: 2015-11-01 12:11:31 -0600

Seen: 656 times

Last updated: Nov 01 '15